
Horvitz-Thompson estimator of a population total
Source:R/survey_native.R
morie_horvitz_thompson.Rd\(\hat T = \sum_{i \in s} y_i/\pi_i\). Design-unbiased for ANY
design with strictly positive inclusion probabilities – no model,
no distributional assumption. Its weakness is the same coin: it
never uses a known population size, so when the weights happen to
sum to much more or less than N, the estimate inherits that error
directly. Mirrors morie.fn.htest1.