make.logtrans {CollocInfer}R Documentation

Log Transforms

Description

Functions to modify liklihood, transform, lik and proc objects so that the operate with the state defined on a log scale.

Usage

make.logtrans()

make.exptrans()

make.logstate.lik()

make.exp.Cproc()

make.exp.Dproc()

Details

All functions require more to specify the original object (ODE right hand side functions, definitions of lik and proc objects).

Value

A list of functions that calculate log transforms and derivatives in various contexts.

make.logtrans

modifies the right hand side of a differential equation and its derivatives for a loged state vector.

make.exptrans

modfies a map from states to observations to a map from logged states to observations along with its derivatives.

make.logstate.lik

modifies a lik object for state vectors given on the log scale.

make.exp.Cproc

Cproc with the state given on the log scale.

make.exp.Dproc

Dproc with the state given on the log scale.

See Also

LS.setup, make.Cproc, make.Dproc

Examples


# Model the log of an SEIR process

proc = make.SSEproc()
proc$more = make.logtrans()
proc$more$more = make.SEIR()

# Observe a linear combination  of

lik = make.logstate.lik()
lik$more = make.SSElik()
lik$more$more = make.genlin()

# SEIR Model with multivariate transition densities

proc = make.exp.Cproc()
proc$more = make.multinorm()
proc$more$more = c(make.SEIR(),make.cvar())


[Package CollocInfer version 1.0.4 Index]