public class LawOfTotalVarianceMonteCarloEstimate extends MonteCarloEstimate
MonteCarloEstimate.MessageIDEstimate.EstimatorTypeestimatorType, rowIndex| Constructor and Description |
|---|
LawOfTotalVarianceMonteCarloEstimate()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRealization(Matrix mat)
This method adds a realization to the empirical distribution.
|
void |
addRealization(PopulationMeanEstimate estimate)
This method is a surrogate for addRealization(Matrix) method.
|
Matrix |
getMean()
This method returns the first central moment, i.e.
|
int |
getNumberOfRealizations()
This method returns the number of realizations the estimate is based on
|
java.util.List<Matrix> |
getRealizations()
This method returns the list of realizations in the empirical distribution.
|
Matrix |
getVariance()
This method returns the second central moment, i.e.
|
add, extractSubEstimate, getConfidenceIntervalBounds, getDifferenceEstimate, getProductEstimate, getQuantileForProbability, getSumEstimate, isMergeableEstimate, multiply, subtract, toStringgetEstimatorType, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, setRowIndexgetDistributionpublic LawOfTotalVarianceMonteCarloEstimate()
public void addRealization(PopulationMeanEstimate estimate)
estimate - a SampleEstimate instancepublic void addRealization(Matrix mat)
mat - a Matrixpublic Matrix getVariance()
CentralMomentsGettablegetVariance in interface CentralMomentsGettablegetVariance in class RandomVariable<EmpiricalDistribution>public Matrix getMean()
CentralMomentsGettablegetMean in interface CentralMomentsGettablegetMean in class RandomVariable<EmpiricalDistribution>public java.util.List<Matrix> getRealizations()
public int getNumberOfRealizations()
NumberOfRealizationsProvidergetNumberOfRealizations in interface NumberOfRealizationsProvider