deltavar | R Documentation |
Obtaining variance of structural parameters by Delta method.
deltavar(data, time, ode.model,par.names,state.names, likelihood.fun, par.initial, basis.list, lambda,stepsize,y_stepsize,controls)
data |
A data frame or a matrix contain observations from each dimension of the ODE model. |
time |
A vector contain observation times or a matrix if time points are different between dimensions. |
ode.model |
An R function that computes the time derivative of the ODE model given observations of states variable and structural parameters. |
par.names |
The names of structural parameters defined in the 'ode.model'. |
state.names |
The names of state variables defined in the 'ode.model'. |
likelihood.fun |
A likelihood function passed to PCODE in case of that the error termsdevtools::document()do not have a Normal distribution. |
par.initial |
Initial value of structural parameters to be optimized. |
basis.list |
A list of basis objects for smoothing each dimension's observations. Can be the same or different across dimensions. |
lambda |
Penalty parameter. |
stepsize |
Stepsize used in estimating partial derivatives with respect to structural parameters for the Delta method. |
y_stepsize |
Stepsize used in estimating partial derivatives with respect to observations for the Delta method. |
controls |
A list of control parameters. Same as the controls in |
par.var The variance of structural parameters obtained by Delta method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.