public class PoissonDistribution extends ProbabilityDensity
GET_CDF, GET_ICDF, GET_PDF, rand| Constructor and Description |
|---|
PoissonDistribution() |
PoissonDistribution(DblMatrix N,
DblMatrix p) |
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
cdf(DblMatrix X) |
DblMatrix |
criticalValue(DblMatrix cdfval) |
DblMatrix |
hasSupport(DblMatrix X)
Returns 1 if the density has the input value in its support set (domain)
and 0 otherwise.
|
DblMatrix |
mean()
Returns the expected value of the distribution for the currently configured parameters.
|
DblMatrix |
median()
Returns the median of the distribution for the currently configured parameters.
|
DblMatrix |
mode()
Returns the mode of the distribution for the currently configured parameters.
|
DblMatrix |
pdf(DblMatrix X) |
DblMatrix |
random(int nn)
Return N random draws from this distribution.
|
void |
setLambda(DblMatrix m) |
void |
setLambda(double m) |
void |
setLambda(int m) |
DblMatrix |
variance()
Returns the variance of the distribution for the currently configured parameters.
|
assumeProbability, getAssumedProbability, getName, getParam, getParams, getValueAt, getValueToGet, getValueToMinimize, getVariableValue, hasParameter, parameterSet, replaceParams, setName, setParam, setValueToGet, setVariableValuepublic DblMatrix mean()
public DblMatrix mode()
public DblMatrix median()
public DblMatrix variance()
public void setLambda(DblMatrix m)
public void setLambda(double m)
public void setLambda(int m)
public DblMatrix random(int nn)
ProbabilityDensityrandom in class ProbabilityDensitypublic DblMatrix hasSupport(DblMatrix X)
ProbabilityDensityhasSupport in class ProbabilityDensitypublic DblMatrix criticalValue(DblMatrix cdfval)
criticalValue in interface InvCDFcriticalValue in class ProbabilityDensitypublic DblMatrix cdf(DblMatrix X)
cdf in interface CDFcdf in class ProbabilityDensitypublic DblMatrix pdf(DblMatrix X)
pdf in class ProbabilityDensityCopyright © 2011, 2013. Daniel P. Dougherty