public class TruncatedGaussianEstimate extends Estimate<TruncatedGaussianDistribution> implements BoundedDistribution
Estimate.EstimatorType
estimatorType, rowIndex
Constructor and Description |
---|
TruncatedGaussianEstimate()
Basic constructor with mu set to 0 and sigma2 set to 1.
|
TruncatedGaussianEstimate(Matrix mu,
Matrix sigma2)
Constructor 2 with user specified mu and sigma2.
|
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 |
setLowerBoundValue(Matrix lowerBoundValue)
This method sets the lower bound.
|
void |
setUpperBoundValue(Matrix upperBoundValue)
This method sets the lower bound.
|
getDifferenceEstimate, getEstimatorType, getProductEstimate, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, getSumEstimate, isMergeableEstimate, setRowIndex
getDistribution, getMean, getVariance
public TruncatedGaussianEstimate()
public void setLowerBoundValue(Matrix lowerBoundValue)
BoundedDistribution
setLowerBoundValue
in interface BoundedDistribution
lowerBoundValue
- a Matrix instancepublic void setUpperBoundValue(Matrix upperBoundValue)
BoundedDistribution
setUpperBoundValue
in interface BoundedDistribution
upperBoundValue
- a Matrix instancepublic ConfidenceInterval getConfidenceIntervalBounds(double oneMinusAlpha)
Estimate
getConfidenceIntervalBounds
in class Estimate<TruncatedGaussianDistribution>
oneMinusAlpha
- is 1 minus the probability of Type I error