Header menu logo bristlecone

Likelihood Module

Likelihood functions to represent a variety of distributions and data types.

Functions and values

Function or value Description

bivariateGaussian key1 key2 paramAccessor data

Full Usage: bivariateGaussian key1 key2 paramAccessor data

Parameters:
Returns: float

Log likelihood function for dual simultaneous system, assuming Gaussian error for both x and y. Requires parameters 'σ[x]', 'σ[y]' and 'ρ' to be included in any `ModelSystem` that uses it.

key1 : string
key2 : string
paramAccessor : ParameterValueAccessor
data : CodedMap<PredictedSeries>
Returns: float

gaussian key paramAccessor data

Full Usage: gaussian key paramAccessor data

Parameters:
Returns: float

Log likelihood function for single equation system, assuming Gaussian error for x. Requires a parameter 'σ[x]' to be included in any `ModelSystem` that uses it.

key : string
paramAccessor : ParameterValueAccessor
data : CodedMap<PredictedSeries>
Returns: float

sumOfSquares keys arg2 data

Full Usage: sumOfSquares keys arg2 data

Parameters:
Returns: float

Residual sum of squares. Provides a simple metric of distance between observed data and model predictions.

keys : string list
arg1 : ParameterValueAccessor
data : CodedMap<PredictedSeries>
Returns: float

Type something to start searching.