public class GammaDistribution extends ProbabilityDensity
GET_CDF, GET_ICDF, GET_PDF| Constructor and Description |
|---|
GammaDistribution() |
GammaDistribution(DblMatrix alpha,
DblMatrix beta) |
GammaDistribution(DblMatrix alpha,
double beta) |
GammaDistribution(double alpha,
DblMatrix beta) |
GammaDistribution(double alpha,
double beta) |
GammaDistribution(int alpha,
int beta) |
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
cdf(DblMatrix xx)
CDF of the Normal distribution.
|
DblMatrix |
criticalValue(DblMatrix cdfvals)
For an input value C returns x such that P(X<=x) = C.
|
DblMatrix |
getVariable() |
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 the distribution for the currently configured parameters.
|
DblMatrix |
mode()
Returns the mode the distribution for the currently configured parameters.
|
DblMatrix |
pdf(DblMatrix X)
Returns the value of the density function at X.
|
DblMatrix |
random(int N)
Return N random draws from this distribution.
|
void |
setAlpha(DblMatrix u) |
void |
setBeta(DblMatrix beta) |
void |
setVariable(DblMatrix ff) |
DblMatrix |
variance()
Returns the expected value of the distribution for the currently configured parameters.
|
assumeProbability, getAssumedProbability, getName, getParam, getParams, getValueAt, getValueToGet, getValueToMinimize, getVariableValue, hasParameter, parameterSet, replaceParams, setName, setParam, setValueToGet, setVariableValuepublic GammaDistribution()
public GammaDistribution(double alpha,
DblMatrix beta)
public GammaDistribution(DblMatrix alpha, double beta)
public GammaDistribution(double alpha,
double beta)
public GammaDistribution(int alpha,
int beta)
public DblMatrix random(int N)
random in class ProbabilityDensitypublic void setAlpha(DblMatrix u)
public void setBeta(DblMatrix beta)
public void setVariable(DblMatrix ff)
public DblMatrix getVariable()
public DblMatrix criticalValue(DblMatrix cdfvals)
criticalValue in interface InvCDFcriticalValue in class ProbabilityDensitypublic DblMatrix pdf(DblMatrix X)
pdf in class ProbabilityDensitypublic DblMatrix hasSupport(DblMatrix X)
ProbabilityDensityhasSupport in class ProbabilityDensitypublic DblMatrix mean()
public DblMatrix median()
public DblMatrix mode()
public DblMatrix variance()
Copyright © 2011, 2013. Daniel P. Dougherty