innerobj_lkh_1d: Inner objective function (Likelihood and Single dimension...

Description Usage Arguments Value

View source: R/PCODE.R

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

1
innerobj_lkh_1d(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.


pCODE documentation built on Jan. 11, 2020, 9:30 a.m.