public class ItemParamPriorBeta extends java.lang.Object implements ItemParamPrior
Constructor and Description |
---|
ItemParamPriorBeta(double alpha,
double beta) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
distributionName() |
int |
getNumberOfParameters() |
double |
logDensity(double x) |
double |
logDensityDeriv1(double p) |
double |
logDensityDeriv2(double p)
Second derivative of log density.
|
double |
nearestNonZero(double x) |
boolean |
zeroDensity(double x) |
public boolean zeroDensity(double x)
zeroDensity
in interface ItemParamPrior
public double nearestNonZero(double x)
nearestNonZero
in interface ItemParamPrior
public double logDensity(double x)
logDensity
in interface ItemParamPrior
public double logDensityDeriv1(double p)
logDensityDeriv1
in interface ItemParamPrior
public double logDensityDeriv2(double p)
logDensityDeriv2
in interface ItemParamPrior
p
- public java.lang.String distributionName()
distributionName
in interface ItemParamPrior
public int getNumberOfParameters()
getNumberOfParameters
in interface ItemParamPrior