public class GaussianEstimate extends Estimate<GaussianDistribution> implements CentralMomentsSettable, java.io.Serializable
Estimate.EstimatorType
estimatorType, rowIndex
Constructor and Description |
---|
GaussianEstimate()
Common constructor.
|
GaussianEstimate(double mean,
double variance)
Constructor for univariate distribution.
|
GaussianEstimate(Matrix mean,
Matrix variance)
Constructor with the mean and variance.
|
Modifier and Type | Method and Description |
---|---|
ConfidenceInterval |
getConfidenceIntervalBounds(double oneMinusAlpha)
This method returns the probability of getting a lower valueand upper bound of a confidence intervals at probability
level 1 - alpha
|
protected Matrix |
getQuantileForProbability(double probability) |
void |
setMean(Matrix mean)
This method sets the mean vector of the random variable.
|
void |
setVariance(Matrix variance)
This method sets the variance-covariance matrix of the random variable.
|
getDifferenceEstimate, getEstimatorType, getProductEstimate, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, getSumEstimate, isMergeableEstimate, setRowIndex
getDistribution, getMean, getVariance
public GaussianEstimate()
public GaussianEstimate(Matrix mean, Matrix variance)
mean
- a Matrix instance that contains the meanvariance
- a Matrix that contains the variancepublic GaussianEstimate(double mean, double variance)
mean
- variance
- public void setVariance(Matrix variance)
CentralMomentsSettable
setVariance
in interface CentralMomentsSettable
variance
- a Matrix instancepublic void setMean(Matrix mean)
CentralMomentsSettable
setMean
in interface CentralMomentsSettable
mean
- a Matrix instanceprotected Matrix getQuantileForProbability(double probability)
public ConfidenceInterval getConfidenceIntervalBounds(double oneMinusAlpha)
Estimate
getConfidenceIntervalBounds
in class Estimate<GaussianDistribution>
oneMinusAlpha
- is 1 minus the probability of Type I error