public class LawOfTotalVarianceMonteCarloEstimate extends MonteCarloEstimate
MonteCarloEstimate.MessageID
Estimate.EstimatorType
estimatorType, 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, toString
getEstimatorType, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, setRowIndex
getDistribution
public LawOfTotalVarianceMonteCarloEstimate()
public void addRealization(PopulationMeanEstimate estimate)
estimate
- a SampleEstimate instancepublic void addRealization(Matrix mat)
mat
- a Matrixpublic Matrix getVariance()
CentralMomentsGettable
getVariance
in interface CentralMomentsGettable
getVariance
in class RandomVariable<EmpiricalDistribution>
public Matrix getMean()
CentralMomentsGettable
getMean
in interface CentralMomentsGettable
getMean
in class RandomVariable<EmpiricalDistribution>
public java.util.List<Matrix> getRealizations()
public int getNumberOfRealizations()
NumberOfRealizationsProvider
getNumberOfRealizations
in interface NumberOfRealizationsProvider