innerobj_lkh {pCODE} | R Documentation |
Inner objective function (likelihood and multiple dimension version)
Description
An objective function combines the likelihood or loglikelihood of errors from each dimension of state variables and the penalty controls how the state estimates fail to satisfy the ODE model.
Usage
innerobj_lkh(basis_coef, ode.par, input, derive.model, likelihood.fun)
Arguments
basis_coef |
Basis coefficients for interpolating observations given a basis boject. |
ode.par |
Structural parameters of the ODD model. |
input |
Contains dependencies for the optimization, including observations, ode penalty, and etc.. |
derive.model |
The function defines the ODE model and is the same as the ode.model in 'pcode'. |
likelihood.fun |
The likelihood or loglikelihood function of the errors. |
Value
obj.eval The evaluation of the inner objective function.
[Package pCODE version 0.9.4 Index]