public class GaussianEstimate extends Estimate<GaussianDistribution> implements CentralMomentsSettable, java.io.Serializable
Estimate.EstimatorTypeestimatorType, 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, setRowIndexgetDistribution, getMean, getVariancepublic 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)
CentralMomentsSettablesetVariance in interface CentralMomentsSettablevariance - a Matrix instancepublic void setMean(Matrix mean)
CentralMomentsSettablesetMean in interface CentralMomentsSettablemean - a Matrix instanceprotected Matrix getQuantileForProbability(double probability)
public ConfidenceInterval getConfidenceIntervalBounds(double oneMinusAlpha)
EstimategetConfidenceIntervalBounds in class Estimate<GaussianDistribution>oneMinusAlpha - is 1 minus the probability of Type I error