Public Member Functions | |
double | F (PVector T) |
Computes the log normalizer . | |
PVector | gradF (PVector T) |
Computes . | |
double | G (PVector H) |
Computes . | |
PVector | gradG (PVector H) |
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 Poisson distribution. | |
double | KLD (PVector LP, PVector LQ) |
Computes the Kullback-Leibler divergence between two Poisson distributions. |
where are the natural parameters. This class implements the different functions allowing to express a Poisson distribution as a member of an exponential family.
Computes the density value .
x | a point | |
param | parameters (source, natural, or expectation) |
Draws a point from the considered Poisson distribution.
L | source parameters |
Converts expectation parameters to source parameters.
H | expectation parameters |
double jMEF.Poisson.F | ( | PVector | T | ) |
Computes the log normalizer .
T | natural parameters |
double jMEF.Poisson.G | ( | PVector | H | ) |
Computes .
H | expectation parameters |
double jMEF.Poisson.k | ( | PVector | x | ) |
Computes the carrier measure .
x | a point |
Computes the Kullback-Leibler divergence between two Poisson distributions.
LP | source parameters | |
LQ | source parameters |
Converts source parameters to expectation parameters.
L | source parameters |
Converts source parameters to natural parameters.
L | source parameters |
Computes the sufficient statistic .
x | a point |
Converts natural parameters to source parameters.
T | natural parameters |