public class PopulationTotalEstimate extends PointEstimate<PopulationUnitWithUnequalInclusionProbability>
Estimate.EstimatorTypenCols, nRowsestimatorType, rowIndex| Constructor and Description |
|---|
PopulationTotalEstimate()
Constructor.
|
PopulationTotalEstimate(double populationSize)
Constructor with population size.
|
| Modifier and Type | Method and Description |
|---|---|
protected PopulationTotalEstimate |
add(PointEstimate<?> pointEstimate) |
Matrix |
getMean()
This method returns the value of the Horvitz-Thompson estimator (tau hat).
|
Matrix |
getVariance()
This method returns the variance of the tau estimate.
|
protected boolean |
isMergeableEstimate(Estimate<?> estimate)
This method checks if the two point estimates are compatible.
|
protected PopulationTotalEstimate |
multiply(double scalar) |
protected PopulationTotalEstimate |
subtract(PointEstimate<?> pointEstimate) |
addObservation, getConfidenceIntervalBounds, getObservations, getPopulationSize, getQuantileForProbability, isPopulationSizeKnowngetDifferenceEstimate, getEstimatorType, getProductEstimate, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, getSumEstimate, setRowIndexgetDistributionpublic PopulationTotalEstimate()
public PopulationTotalEstimate(double populationSize)
populationSize - the number of units in the populationpublic Matrix getMean()
getMean in interface CentralMomentsGettablegetMean in class RandomVariable<GaussianDistribution>public Matrix getVariance()
getVariance in interface CentralMomentsGettablegetVariance in class RandomVariable<GaussianDistribution>protected boolean isMergeableEstimate(Estimate<?> estimate)
EstimateisMergeableEstimate in class PointEstimate<PopulationUnitWithUnequalInclusionProbability>protected PopulationTotalEstimate add(PointEstimate<?> pointEstimate)
add in class PointEstimate<PopulationUnitWithUnequalInclusionProbability>protected PopulationTotalEstimate subtract(PointEstimate<?> pointEstimate)
subtract in class PointEstimate<PopulationUnitWithUnequalInclusionProbability>protected PopulationTotalEstimate multiply(double scalar)
multiply in class PointEstimate<PopulationUnitWithUnequalInclusionProbability>