I'm trying to estimate the number of pairs that exist in my data (specifically, these are identical, or near-identical, images). Checking for pairs is expensive and time consuming.
My population size is known. In one case it is 1,000,000. I take a sample of 7500, and find 14 pairs.
Some simulations I've done suggest that:
$$ popPairs = (\frac{nPop}{nSample})^2 \times samplePairs $$
Where:
- nPop = population size
- nSample = sample size
- samplePairs = number of pairs found in the population
- popPairs = number of pairs in the population
What I would really like is a standard error on that estimate, but I'm not sure how to get one.
Edit: Colab with code can be found here: https://colab.research.google.com/drive/17LTijBGnEDBkl1slFVPw4VvxnXAJJlf7?authuser=1