There is a Wikipedia page for the Horvitz–Thompson estimator. It is an estimator for the population total. Unfortunately the page has failed to state the standard error.
From here, the standard error is:
The only problem with the formula is I'm not very sure how to calculate the joint sampling probability.
This page gives me:
but this page gives me:
What to do? There is an answer that the probability is context specific, but why?