public class NormalDistribution extends ProbabilityDensity
GET_CDF, GET_ICDF, GET_PDF| Constructor and Description |
|---|
NormalDistribution() |
NormalDistribution(DblMatrix mu,
DblMatrix sigma) |
NormalDistribution(DblMatrix mu,
double sigma) |
NormalDistribution(double mu,
DblMatrix sigma) |
NormalDistribution(double mu,
double sigma) |
NormalDistribution(int mu,
int sigma) |
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
cdf(DblMatrix xx)
CDF of the Normal distribution.
|
DblMatrix |
cdf(double xx) |
DblMatrix |
cdf(java.lang.Double xx) |
DblMatrix |
criticalValue(DblMatrix p)
For an input value C returns x such that P(X<=x) = C.
|
DblMatrix |
criticalValue(double xx) |
DblMatrix |
criticalValue(java.lang.Double xx) |
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 |
pdf(DblMatrix X)
Returns the value of the density function at X.
|
DblMatrix |
pdf(double xx) |
DblMatrix |
pdf(java.lang.Double xx) |
DblMatrix |
random(int N)
Return N random draws from this distribution.
|
void |
setMean(DblMatrix u) |
void |
setStd(DblMatrix sig) |
void |
setVariable(DblMatrix ff) |
void |
setVariance(DblMatrix sigsq) |
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 NormalDistribution()
public NormalDistribution(double mu,
DblMatrix sigma)
public NormalDistribution(DblMatrix mu, double sigma)
public NormalDistribution(double mu,
double sigma)
public NormalDistribution(int mu,
int sigma)
public DblMatrix random(int N)
random in class ProbabilityDensitypublic void setMean(DblMatrix u)
public void setStd(DblMatrix sig)
public void setVariance(DblMatrix sigsq)
public void setVariable(DblMatrix ff)
public DblMatrix getVariable()
public DblMatrix criticalValue(double xx)
public DblMatrix criticalValue(java.lang.Double xx)
public DblMatrix criticalValue(DblMatrix p)
criticalValue in interface InvCDFcriticalValue in class ProbabilityDensitypublic DblMatrix pdf(double xx)
public DblMatrix pdf(java.lang.Double xx)
public DblMatrix pdf(DblMatrix X)
pdf in class ProbabilityDensitypublic DblMatrix hasSupport(DblMatrix X)
ProbabilityDensityhasSupport in class ProbabilityDensitypublic DblMatrix mean()
public DblMatrix variance()
public DblMatrix cdf(double xx)
public DblMatrix cdf(java.lang.Double xx)
Copyright © 2011, 2013. Daniel P. Dougherty