bootsvar | R Documentation |
Obtaining an estimate of variance for structural parameters by bootstrap method.
bootsvar(data, time, ode.model,par.names,state.names, likelihood.fun = NULL, par.initial, basis.list, lambda = NULL,bootsrep,controls = NULL)
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. |
bootsrep |
Bootstrap sample to be used for estimating variance. |
controls |
A list of control parameters. Same as the controls in |
boots.var The bootstrap variance of each structural parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.