logLik.sensitivity | R Documentation |
Calculate the derivative of the log-likelihood function with respect to model parameters using sensitivity equations and chain rule
logLik.sensitivity( parms, model, data, solver.opts = list(method = "rk4"), solver = ode, return.NLL = TRUE, return.traj = FALSE )
parms |
named vector of parameter values |
model |
odemodel object |
data |
data |
solver.opts |
options for the ode solver (see |
solver |
ode solver |
return.NLL |
(logical) return negative log-likelihood |
return.traj |
(logical) return estimated trajectory |
a vector of nll and derivative of nll with respect to model parameters (or a list containing (1) the estimated traejctory and (2) a vector of nll and its derivatives)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.