The main functions for model fitting are sdemodel()
and sdefit()
. First, specify the model structure in
sdemodel()
, including the variable transformation, any
re-parameterizations, initial condition, and the presence or not of process,
measurement, and initial condition noise. Then, fit the model with
sdefit()
, indicating the data to be used and starting parameter
values for the iterations. For hierarchical models, one must also
indicate which are the global and local parameters, and if fixed
locals or a mixed effects method should be used.
Some auxilliary functions include the Box-Cox transformation bc()
,
and the unified transformation unitran()
.
For detailed usage see the vignette: vignette("resde-vignette", package="resde")
.