public class BetaUPM.M extends Continuous.M
Continuous.M.Transform
Model.Defaults
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Field and Description |
---|---|
double |
alpha
Shape parameters 'alpha' and 'beta'.
|
double |
beta
Shape parameters 'alpha' and 'beta'.
|
Modifier and Type | Method and Description |
---|---|
double |
nlLH(Value ss)
Assumes that
statistics
are the data-set itself. |
double |
nlPdf_x(double x)
pdf(x) = {1 / Β(alpha, beta)}
xalpha-1 (1-x)beta-1.
|
double |
random_x()
If X ~ Gamma(alpha, theta) and
|
asEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
public final double alpha
public final double beta
public M(double msg1, double msg2, Value sp)
public double nlPdf_x(double x)
nlPdf_x
in class Continuous.M
public double nlLH(Value ss)
statistics
are the data-set itself.public double random_x()
random_x
in class Continuous.M