mixedsde: A Package to Fit Mixed Stochastic Differential Equations

Stochastic differential equations (SDEs) are useful to model continuous stochastic processes. When (independent) repeated temporal data are available, variability between the trajectories can be modeled by introducing random effects in the drift of the SDEs. These models are useful to analyze neuronal data, crack length data, pharmacokinetics, financial data, to cite some applications among other. The R package focuses on the estimation of SDEs with linear random effects in the drift. The goal is to estimate the common density of the random effects from repeated discrete observations of the SDE. The package mixedsde proposes three estimation methods: a Bayesian parametric, a frequentist parametric and a frequentist nonparametric method. The three procedures are described as well as the main functions of the package. Illustrations are presented on simulated and real data.

Charlotte Dion , Simone Hermann , Adeline Samson

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2019-009.zip


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Dion, et al., "The R Journal: mixedsde: A Package to Fit Mixed Stochastic Differential Equations", The R Journal, 2019

BibTeX citation

  author = {Dion, Charlotte and Hermann, Simone and Samson, Adeline},
  title = {The R Journal: mixedsde: A Package to Fit Mixed Stochastic Differential Equations},
  journal = {The R Journal},
  year = {2019},
  note = {https://doi.org/10.32614/RJ-2019-009},
  doi = {10.32614/RJ-2019-009},
  volume = {11},
  issue = {1},
  issn = {2073-4859},
  pages = {44-66}