make.findif | R Documentation |
Returns a list of functions that calculate finite difference derivatives.
make.findif.ode()
make.findif.loglik()
make.findif.var()
All these functions require the sepcification of more$eps
to give the size of the
finite differencing step. They also require more
to specify the original object (ODE right hand side functions,
definitions of lik
and proc
objects).
A list of functions that calculate the derivatives via finite differencing schemes.
make.findif.ode |
calculates finite differences of a transform. |
make.findif.loglik |
returns the finite differences to a calculated log likelihood; used
within |
make.findif.var |
finite difference approximations to variances; mostly used in
the |
LS.setup
, multinorm.setup
# Sum of squared errors with finite differencing to get right-hand-side derivatives
proc = make.SSEproc()
proc$more = make.findif.ode()
# Finite differencing for the log likelihood
lik = make.findif.loglik()
lik$more = make.SSElik()
# Multivariate normal transitions with finite differencing for mean and variance functions
lik = make.multinorm()
lik$more = c(make.findif.ode,make.findif.var)
# Finite differencing for transition density of a discrete time system
proc = make.Dproc()
proc$more = make.findif.loglik()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.