public class TDistribution extends ProbabilityDensity
GET_CDF, GET_ICDF, GET_PDF
Constructor and Description |
---|
TDistribution() |
TDistribution(DblMatrix nu) |
TDistribution(double nu) |
TDistribution(int nu) |
Modifier and Type | Method and Description |
---|---|
DblMatrix |
cdf(DblMatrix xx)
CDF of the T distribution.
|
DblMatrix |
criticalValue(DblMatrix cdfval)
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 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)
Returns the value of the density function at X.
|
DblMatrix |
random(int N)
Return N random draws from this distribution.
|
void |
setDF(DblMatrix m) |
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, setVariableValue
public TDistribution()
public TDistribution(int nu)
public TDistribution(double nu)
public TDistribution(DblMatrix nu)
public void setDF(DblMatrix m)
public DblMatrix random(int N)
random
in class ProbabilityDensity
public void setVariable(DblMatrix ff)
public DblMatrix getVariable()
public DblMatrix criticalValue(DblMatrix cdfval)
criticalValue
in interface InvCDF
criticalValue
in class ProbabilityDensity
public DblMatrix pdf(DblMatrix X)
pdf
in class ProbabilityDensity
public DblMatrix hasSupport(DblMatrix X)
ProbabilityDensity
hasSupport
in class ProbabilityDensity
public DblMatrix median()
public DblMatrix mode()
public DblMatrix mean()
public DblMatrix variance()
Copyright © 2011, 2013. Daniel P. Dougherty