Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

distributions/

likelihood__define.pro

This is an abstract class for objects dealing with likelihoods. LIKELIHOOD objects are a subset of DISTRIBUTION objects that specifically deal with data.

Class description for likelihood

Inheritance

Subclasses: gauss_like

Fields in distribution

Routines

result = likelihood::loglikelihood(model)

Return the natural logarithm of the likelihood, given a model for the distribution.

result = likelihood::likelihood(model)

This method returns the likelihood of the data, given a set of model parameters.

result = likelihood::pdf(model)

Implements the DISTRIBUTION class's pdf method, which is identical to the likelihood.

result = likelihood::init(data)

Create the likelihood object

likelihood::setData, data

Redefine the data for this likelihood object

result = likelihood::getData()

Return the data used in this object

likelihood::cleanup
likelihood__define

Routine details

toplikelihood::loglikelihood

result = likelihood::loglikelihood(model)

Return the natural logarithm of the likelihood, given a model for the distribution.

Parameters

model in required

Data specifying the model parameters.

toplikelihood::likelihood

result = likelihood::likelihood(model)

This method returns the likelihood of the data, given a set of model parameters.

Parameters

model in required

The model parameters.

toplikelihood::pdf

result = likelihood::pdf(model)

Implements the DISTRIBUTION class's pdf method, which is identical to the likelihood.

Parameters

model

toplikelihood::init

result = likelihood::init(data)

Create the likelihood object

Parameters

data in required

The data used in likelihood evaluation

toplikelihood::setData

likelihood::setData, data

Redefine the data for this likelihood object

Parameters

data

toplikelihood::getData

result = likelihood::getData()

Return the data used in this object

toplikelihood::cleanup

likelihood::cleanup

toplikelihood__define

likelihood__define

File attributes

Modifcation date: Mon Mar 22 16:17:13 2010
Lines: 118