public class PopulationTotalEstimate extends PointEstimate<PopulationUnitWithUnequalInclusionProbability>
Estimate.EstimatorType
nCols, nRows
estimatorType, 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, isPopulationSizeKnown
getDifferenceEstimate, getEstimatorType, getProductEstimate, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, getSumEstimate, setRowIndex
getDistribution
public PopulationTotalEstimate()
public PopulationTotalEstimate(double populationSize)
populationSize
- the number of units in the populationpublic Matrix getMean()
getMean
in interface CentralMomentsGettable
getMean
in class RandomVariable<GaussianDistribution>
public Matrix getVariance()
getVariance
in interface CentralMomentsGettable
getVariance
in class RandomVariable<GaussianDistribution>
protected boolean isMergeableEstimate(Estimate<?> estimate)
Estimate
isMergeableEstimate
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>