make.lik: Observation Process Distribution Function

Description Usage Details Value See Also Examples

Description

Returns a list of functions that calculate the observation process distribution and its derivatives; designed to be used with the collocation inference functions.

Usage

1
2
3

Details

These functions require more to be a list with elements:

make.Multinorm further requires:

make.SSElik further requres weights giving weights to each observation.

Value

A list of functions that calculate the log observation distribution and its derivatives.

make.SSElik

calculates weighted squared error between predictions (given by fn in more) and observations

make.Multinorm

calculates a multivariate normal distribution.

See Also

LS.setup, multinorm.setup

Examples

1
2
3
4
5
6
7
8
9
# Straightforward sum of squares:

lik = make.SSElik()
lik$more = make.id()

# Multivariate normal about an exponentiated state with constant variance

lik = make.multinorm()
lik$more = c(make.exp(),make.cvar())

CollocInfer documentation built on May 2, 2019, 4:03 a.m.