jMEF.BinomialFixedN Class Reference

List of all members.

Public Member Functions

BinomialFixedN ()
Class constructor.
BinomialFixedN (int n)
Class constructor.
double F (PVector T)
Computes the log normalizer .
Computes .
double G (PVector H)
Computes .
Computes .
PVector t (PVector x)
Computes the sufficient statistic .
double k (PVector x)
Computes the carrier measure .
PVector Lambda2Theta (PVector L)
Converts source parameters to natural parameters.
PVector Theta2Lambda (PVector T)
Converts natural parameters to source parameters.
PVector Lambda2Eta (PVector L)
Converts source parameters to expectation parameters.
PVector Eta2Lambda (PVector H)
Converts expectation parameters to source parameters.
double density (PVector x, PVector param)
Computes the density value .
PVector drawRandomPoint (PVector L)
Draws a point from the considered distribution.
double KLD (PVector L1, PVector L2)
Computes the Kullback-Leibler divergence between two Binomial distributions.

Version:
1.0

Description

The Binomial distribution, with fixed, is an exponential family and, as a consequence, the probability density function is given by

where are the natural parameters. This class implements the different functions allowing to express a Binomial distribution as a member of an exponential family.

Parameters

The parameters of a given distribution are:
• Source parameters
• Natural parameters
• Expectation parameters

Constructor & Destructor Documentation

 jMEF.BinomialFixedN.BinomialFixedN ( )

Class constructor.

 jMEF.BinomialFixedN.BinomialFixedN ( int n )

Class constructor.

Parameters:
 n parameter n

Member Function Documentation

 double jMEF.BinomialFixedN.density ( PVector x, PVector param )

Computes the density value .

Parameters:
 x a point param parameters (source, natural, or expectation)
Returns:

 PVector jMEF.BinomialFixedN.drawRandomPoint ( PVector L )

Draws a point from the considered distribution.

Parameters:
 L source parameters
Returns:
a point

 PVector jMEF.BinomialFixedN.Eta2Lambda ( PVector H )

Converts expectation parameters to source parameters.

Parameters:
 H expectation parameters
Returns:
source parameters

 double jMEF.BinomialFixedN.F ( PVector T )

Computes the log normalizer .

Parameters:
 T natural parameters
Returns:

 double jMEF.BinomialFixedN.G ( PVector H )

Computes .

Parameters:
 H expectation parameters
Returns:

 PVector jMEF.BinomialFixedN.gradF ( PVector T )

Computes .

Parameters:
 T natural parameters
Returns:

 PVector jMEF.BinomialFixedN.gradG ( PVector H )

Computes .

Parameters:
 H expectation parameters
Returns:

 double jMEF.BinomialFixedN.k ( PVector x )

Computes the carrier measure .

Parameters:
 x a point
Returns:

 double jMEF.BinomialFixedN.KLD ( PVector L1, PVector L2 )

Computes the Kullback-Leibler divergence between two Binomial distributions.

Parameters:
 L1 source parameters L2 source parameters
Returns:

 PVector jMEF.BinomialFixedN.Lambda2Eta ( PVector L )

Converts source parameters to expectation parameters.

Parameters:
 L source parameters
Returns:
expectation parameters

 PVector jMEF.BinomialFixedN.Lambda2Theta ( PVector L )

Converts source parameters to natural parameters.

Parameters:
 L source parameters
Returns:
natural parameters

 PVector jMEF.BinomialFixedN.t ( PVector x )

Computes the sufficient statistic .

Parameters:
 x a point
Returns:

 PVector jMEF.BinomialFixedN.Theta2Lambda ( PVector T )

Converts natural parameters to source parameters.

Parameters:
 T natural parameters
Returns:
source parameters

The documentation for this class was generated from the following file:

Generated on Mon Nov 23 15:46:25 2009 for jMEF by  1.5.9