public class SimpleEstimate extends Estimate<UnknownDistribution> implements CentralMomentsSettable, java.io.Serializable
Estimate.EstimatorType
estimatorType, rowIndex
Constructor and Description |
---|
SimpleEstimate()
Public constructor 1 for derived classes.
|
SimpleEstimate(Matrix mean,
Matrix variance)
Public constructor 2 with 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
|
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 void setMean(Matrix mean)
CentralMomentsSettable
setMean
in interface CentralMomentsSettable
mean
- a Matrix instancepublic void setVariance(Matrix variance)
CentralMomentsSettable
setVariance
in interface CentralMomentsSettable
variance
- a Matrix instancepublic ConfidenceInterval getConfidenceIntervalBounds(double oneMinusAlpha)
Estimate
getConfidenceIntervalBounds
in class Estimate<UnknownDistribution>
oneMinusAlpha
- is 1 minus the probability of Type I error