Capture-recapture model 2026-10-14
A capture-recapture model is a statistical model for repeated observations of identifiable individuals, including those missed on some occasions. A closed-population capture-recapture model estimates a fixed population cardinality; models allowing individuals to enter or leave can instead describe survival and recruitment. The sampling assumptions determine which likelihood function is appropriate.
For the two-sample closed-population capture-recapture model, condition on the sample sizes and . If the second sample selects distinct individuals from by simple random sampling, then the overlap has the hypergeometric distribution:
Here is an integer and the probability mass function is zero outside these bounds. The binomial coefficients count choices of marked and unmarked individuals, divided by all equally likely size- subsets. The hypergeometric distribution has expected value
Equating the observed overlap with this expected value gives the Lincoln-Petersen estimator. The underlying sampling without replacement, probability mass function, and expected value are developed in Raymond P. Guiteras, MIT 14.30 hypergeometric distribution handout, §§1–4 and 8.
For the toy counts , , and , hold the observations fixed and vary the unknown integer . The likelihood function is
Values below forty cannot contain the observed set union. Exact comparison of consecutive likelihoods gives two tied maximum-likelihood estimates, and . The Lincoln-Petersen estimator returns ; the Chapman estimator returns and is a different rule for estimation.
Figure 1.
Relative likelihood for the toy overlap: integer maxima at 99 and 100, ratio estimate 100, and Chapman estimate 90
. Details.
The vertical scale is . This relative likelihood compares how well candidate statistical parameters explain the same observations; it is not a posterior probability. The displayed range is only a plotting window. The likelihood function remains positive for every integer and tends to zero as increases, so the curve has a continuing right tail. The data do not justify truncating statistical inference at three hundred. The conditional hypergeometric distribution formulation also appears in Louis-Paul Rivest and Mamadou Yauck, Small Sample Estimators for Two-way Capture Recapture Experiments, §3, equation (5).
Zero recaptures require care. With and positive , the Lincoln-Petersen estimator has no finite ratio, but the capture-recapture model still gives a valid likelihood function:
This likelihood function increases toward one as grows, so there is no finite maximum-likelihood estimate. For the same sample sizes twenty and twenty-five with zero overlap, forty-five distinct individuals would be observed. Lack of overlap supplies a lower bound but very weak information about large population cardinalities.
In more elaborate capture-recapture models, a first-recapture array counts individuals released at occasion and next observed at . A probability of survival and a probability of detection contribute a no-observation continuation factor . The resulting likelihood function depends on both survival and detection; these probabilities need not be separately identifiable at the last observation interval. Missing-count EM for capture-recapture describes one way to fit such a model, and identifiability remains a separate issue from computing an estimator output.
A closed-population capture-recapture model assumes the same individuals remain throughout the observations: no births, deaths, immigration, or emigration. Its elementary two-sample version additionally requires retained, correctly recognized marks and a second sample chosen by simple random sampling independently of first-sample membership. Mixing and unchanged capture behavior help make this plausible. Equal individual capture probabilities alone do not guarantee that every size- subset is equally likely; that stronger sampling assumption gives the hypergeometric distribution. See Barker, §§1.1.1 and 1.1.3: closure, marks, and catchability assumptions.
Unequal catchability, mark loss, and population change can invalidate this capture-recapture model. For example, if especially catchable individuals appear repeatedly, overlap can be inflated and the Lincoln-Petersen estimator can underestimate population cardinality. Lost marks can decrease recorded overlap and increase the same ratio estimator, all else equal. Two samples alone cannot establish that the sampling assumptions hold.
Discrete uniform distribution Created 2026-09-29 Updated 2026-10-14
A discrete uniform distribution gives every element of a nonempty finite set the same probability. Write for its cardinality. A random variable with this law has support of a probability distribution and probability mass function
The masses sum to . Conversely, if all masses equal , their sum is , so necessarily . Thus equal chances determine the whole law.[ref]
Counting now computes an event's probability: for any set of possible values,
In particular, when , the answer is . The intersection matters: values outside the support of a probability distribution contribute zero. This turns a probability question into a combinatorics question, provided that equal chances are justified by the model.
For an ideal fair six-sided die, and each face has probability . The event of an even integer is , so its probability is ; the event has probability . Direct summation gives the expected value and the variance . The mean is a balance point between possible outcomes. These are exact consequences of stipulated fairness, rather than measured frequencies from physical dice.
Figure 1.
An ideal fair die: six equal probability masses and a mean between the faces
. Details.
Uniformity describes probabilities, not distances between values. For a second constructed model, stipulate equal-chance selection from . Every value has probability , despite the unequal gaps . Here , while the expected value and variance are
Neither the midpoint of the extreme values, , nor a formula using only the cardinality gives these moments. For a general numerical support of a probability distribution, use its actual values:
Figure 2.
Equal chances for unequal gaps: four masses and four equal-width sampling intervals
. Details.
Choosing an item from a finite list with equal chances is a basic building block of simple random sampling. A bijection that relabels the items preserves equal probabilities, although changing numerical labels can change the expected value and variance. A function that merges labels can destroy uniformity: for the fair-die model, has masses at , since four faces map to three. Always count the original equally likely outcomes.
An indicator random variable for membership in a set has a Bernoulli distribution with parameter ; counting that event over independent repetitions gives a binomial distribution with parameters and . Equal chances among individual values need not produce equal chances among aggregated counts.[ref]
Inclusion indicator 2026-11-05
An inclusion indicator records whether a specified population unit appears in a sample :
It is an indicator random variable, with expected value and variance . Its randomness comes from sample selection; the population value attached to unit may be treated as fixed in a sampling calculation.[ref]
Inclusion indicators turn a sum over a changing sample into a sum over fixed population labels:
If every , the same identity immediately proves
The inverse-inclusion-probability total is unbiased because , not because the selected units must look typical in every realization.
Pair products connect the notation to joint inclusion probabilities: , so . For a fixed sample size , in every realization. Consequently,
In simple random sampling with , the four individual variances sum to , while the six distinct pair covariances are each . Their doubled sum is , giving total variance zero. Treating the inclusion indicators as independent would incorrectly predict a random sample size. The notation makes that error easy to detect.
Inclusion probability 2026-10-14
An inclusion probability is the probability that a particular unit belongs to the selected sample. For sample size in simple random sampling from labels it is . It differs from the selection probability at a particular draw position.
A joint inclusion probability is the probability that two specified population units both belong to a random sample :
For the same unit twice, , where is its inclusion probability. For distinct units, is generally not : selection can make their inclusion indicators dependent. These probabilities describe the sampling procedure, rather than a relationship between the measured values of the two units.[ref]
For simple random sampling of distinct labels from labels, counting subsets containing both and gives
with value zero if . Since ,
For , each unit has inclusion probability , but a particular pair has joint inclusion probability . Conditional on including one member, the other is included with probability , not .
Equal individual inclusion probabilities do not determine these pair probabilities. A different procedure that chooses only or , each with probability , still includes each unit with probability . Yet and . Thus two procedures can agree on individual representation while producing different dependence and different precision for a population summary. The distinction motivates keeping pair information when calculating the variance of weighted survey estimators; the classical general treatment is due to D. G. Horvitz and D. J. Thompson.[ref]
Pairwise inclusion positivity requires every distinct pair of population units to have positive joint inclusion probability under the sampling design:
For Horvitz-Thompson variance estimator, the probabilities must also be known, and individual inclusion probabilities must be positive. Each pair can then, at least in principle, contribute an observed product to a pair-expansion estimate. Positivity is not independence: need not equal .[ref]
For simple random sampling of distinct labels from , . Consequently, gives pairwise positivity, whereas selecting exactly one label gives positive individual inclusion probabilities but zero probability of ever observing two distinct values together. This distinction separates unbiased total estimation from unbiased estimation of its sampling variance.
An original two-unit proof shows what information is missing. Sample one of two fixed values uniformly. The Horvitz-Thompson estimator is or , and its variance is
Any estimator based only on the observed label and value has expected value of the form . Its mixed difference over is zero. The target's mixed difference is instead
No such estimator can therefore be unbiased for this variance for every possible pair of values. Additional randomization internal to the estimator does not help: conditioning on the observed data still produces functions of this same separated form. This is an information limitation, not division by zero that can be repaired by assigning a convenient numerical convention.[ref]
Strict positivity alone also does not guarantee useful precision. A very small produces a large inverse-probability multiplier on a rare observed pair. Designing a usable survey therefore requires attention to both observability and the resulting sampling variance.
Let be the population means of the numerical vaccination intention score in the two recorded groups. The two-sided hypothesis test compares
The sample means are and , giving a difference of sample means of approximately 0.01988 score points, in the order group zero minus group one. The reported group counts are 1,866 and 262; seven observations have a missing group indicator.
Welch's t-test divides that estimated difference by its estimated standard error. Its reported test statistic is , with approximately statistical degrees of freedom. This is an unequal-variance comparison; fractional statistical degrees of freedom are appropriate for the Welch approximation. The two groups need not have equal sample sizes or equal population variances.[ref]
The reported p-value is . Under the specified equal-mean null hypothesis and sampling model, a p-value measures the probability of a result at least as extreme as the observed one. It is not a posterior probability that the null hypothesis is true. There is no rejection at a prespecified 5% significance level. The observed difference of sample means is tiny relative to its estimated standard error.
The 95% confidence interval is approximately
It includes zero and differences in either direction. The interval's coverage refers to repeated use of the procedure under its assumptions, rather than to a probability assigned to this fixed unknown parameter or to the spread of individual scores. Nonrejection does not establish that the two population means are identical.
Simple random sampling supports the sampling interpretation, but the score is bounded and its raw distribution need not be a normal distribution. The large group sizes can support an approximate normal sampling distribution of the sample means under regularity conditions. The supplied observational study does not identify a causal explanation of any difference, and the numeric coding of the group labels creates no biological or ordinal interpretation.
A null hypothesis specifies the population comparison to be tested, for example equality of the population means for women and their complement. The alternative hypothesis for a two-sided test is a nonzero difference. A Student's t-test measures an estimated difference in units of its estimated standard error:
On the reported calibration, the sampling distribution under the null hypothesis is Student's t-distribution with statistical degrees of freedom. Consequently the two-sided test has p-value
With this many statistical degrees of freedom, the Student t-distribution is close to the standard normal distribution: exceeds the approximate two-sided critical value , but falls short of the value . Using the supplied calibration, reject at the significance level, but not at . The large statistical degrees of freedom justify this comparison; a value need not be significant for an arbitrary very small number of statistical degrees of freedom.
The p-value is the probability, under the specified null hypothesis and sampling assumptions, of a test statistic at least as discrepant as the observed one. It is not the probability that the null hypothesis is true, nor the probability that the observed difference happened “by chance”. A significance level of controls the long-run type I error rate of the testing procedure when its assumptions hold. Failing to reject at does not prove equality. Statistical significance also does not measure the substantive size or importance of a difference.
The reported sample means place the women's mean scale units above the overall mean. The negative test statistic can reflect the order of subtraction; it does not reverse that observed ordering. An appropriate pre-specified directional one-sided test would have a tail p-value approximately on the supplied calibration, but one cannot choose that direction after inspecting the results simply to halve a p-value.
There is a design issue behind the numerical calculation: the women are included in the overall sample. Comparing a subgroup mean with its containing sample mean requires accounting for shared observations. If is the women's sample fraction and the mean for the remaining respondents, then
These two estimates are not independent. An ordinary independent-two-sample Student's t-test of women against the entire respondent sample would therefore use an inappropriate standard error. The interpretation above accepts the supplied test statistic and its stated null calibration; a valid analysis of the underlying data should compare disjoint groups, or calculate the shared-sample covariance correctly. The summary alone cannot establish which calculation was used. Simple random sampling supports sampling inference under the stated design, but an observed gender association does not establish a causal effect.
Label batches before consulting the random-number table, so their labels are independent of the test results. A uniformly random permutation of , restricted to a smaller label set, induces a uniformly random ordering of that set. This provides a simple rejection-and-restriction scheme:
  • For A, label each day's six batches . Use a fresh permutation, discard labels , and test the first remaining batch. Repeat independently on each working day. Each daily batch has inclusion probability , and five batches are tested per week.
  • For B, label the fifteen weekly morning batches . Discard label 16 from a fresh permutation and choose the first three remaining labels. Use an independent permutation for the afternoon stratum. Every three-element subset within a stratum is equally likely, and each batch has inclusion probability . Six batches are tested per week.
  • For C, label the weekdays . Keep the first label in this range from a fresh permutation and test all six batches on that day. Repeat independently each week. Every day, and hence every batch, has inclusion probability ; six batches are tested per week.
With independent random digits instead, rejection sampling gives the same uniform choices: for A keep only digits ; for C keep only . For B, use uniform two-digit numbers, retain labels , and reject repeats within a three-batch sample. Taking residues modulo six or fifteen from a table whose range is not divisible by that number would give unequal probabilities. These are respectively day-stratified simple random sampling, morning/afternoon stratified sampling, and a one-day design using cluster sampling. The printed word “rest” for A is interpreted as “test”, consistently with the surveillance task. If it instead meant leaving one batch untested, choose that omitted batch uniformly and test the other five; this alternative would test 25 batches per week, with inclusion probability , and has a different testing budget.
Probability sampling 2026-10-07
Probability sampling chooses observational units by a specified random mechanism with known inclusion probabilities. This separates design-based representativeness from the convenience of obtaining particular observations. Simple random sampling, stratified sampling and cluster sampling are different designs with different precision and cost properties.
Sampling design 2026-11-05
A sampling design specifies a probability distribution over the possible samples from a defined population:
For sampling distinct labelled units, is a subset of the population. The design includes the selection mechanism, not merely the final sample size. A procedure with repeated draws can instead require a distribution over ordered sequences; the resulting inclusion probabilities concern whether a label appears at least once.
The design determines inclusion probabilities and joint inclusion probabilities through
These connect the physical sampling procedure to the Horvitz-Thompson estimator and its sampling variance.[ref]
An original comparison uses four fixed values and selects two units. Under simple random sampling, every one of the six pairs has probability . Each , so the Horvitz-Thompson estimator is twice the selected sum. It takes values with probabilities . Its expected value is the true finite population total , and its variance is
A second design chooses only or , each with probability . It has the same sample size and the same individual inclusion probabilities, but the estimator is now or , giving variance . Pair selection matters even when individual representation agrees.
A third design chooses uniformly among the four pairs containing one label from each of those two groups. Its total estimate is always for this particular population. This illustrates the potential gain from stratified sampling when groups correspond to relevant variation, not a claim that the third design dominates for every possible population. A reproducible design records the eligible labels and actual random selection rule before interpreting the observed sample.
Sampling fraction 2026-10-14
The sampling fraction is the sample size divided by the finite population size. In simple random sampling, it determines how much the finite population correction reduces the variance relative to .
Sampling without replacement Created 2026-10-14 Updated 2026-10-14
Sampling without replacement selects distinct labelled units: after a unit is selected it is unavailable for the remaining draws. Distinct labels can carry equal numerical values, so repeated values do not necessarily imply a repeated unit. The rule alone does not specify selection probabilities; a procedure favoring particular units is still sampling without replacement but need not be simple random sampling.
In uniform sequential sampling without replacement, the next label is chosen uniformly among those remaining. For a population of labels, any ordered sequence of distinct labels has probability . Each size- subset has possible orders, so its probability is . This gives the fixed-size simple random sampling design. Equivalently, take the first labels of a uniformly random permutation. Restricting a uniformly random permutation to a specified label set preserves uniformity; biased modulo mappings should not replace uniform selection.
The draw positions have identical marginal probability distributions, but exhibit statistical dependence. If the first label is , the conditional probability that the second label is is zero, whereas its marginal probability is . Thus these draws are not independent and identically distributed when and . For a marked subset of labels, counting size- subsets with binomial coefficients gives the hypergeometric distribution. The resulting negative covariance explains the finite population correction for both counts and sample means.
Simple random sample 2026-11-05
In finite-population sampling, a simple random sample of fixed size without replacement is a subset of labelled units drawn so that every size- subset has probability
The sample is the selected subset; simple random sampling is the procedure that generates it. This definition does not require the observed values to be distinct, only the selected population labels. The without-replacement convention is important because an independent repeated draw from a population is a different design.[ref]
One construction randomly orders all labels and takes the first . Each particular subset can occupy those positions in permutations, out of , proving the probability above. Equivalently, draw successively and uniformly from the remaining labels, then discard their order.
For , there are possible samples. A particular unit belongs to four of them, so its inclusion probability is ; a particular pair is one complete sample, so its joint inclusion probability is . These are properties of the procedure before observing which subset was obtained.
A simple random sample need not resemble the whole population in every realization. For fixed values , six of the ten size-two samples contain only zeros. Thus the sample mean is zero with probability , although its expected value is the finite population mean . The remaining four samples each have mean , giving . Unbiasedness concerns repeated selection, rather than a guarantee about any one sample. Coverage of the population labels and faithful implementation of the selection rule remain essential.
Simple random sampling Created 2026-10-07 Updated 2026-10-14
Here simple random sampling means a random unordered subset of exactly distinct labels from , with every size- subset equally likely. The sample size is fixed in advance, , and sampling without replacement prevents duplicate units. This is SRSWOR; some texts also use "simple random sampling" for independent uniform draws with replacement, which is a different design.[ref]
Every label has inclusion probability , but equal inclusion probabilities alone are insufficient. For example, from six labels choose either or with probability . Each label is included with probability , yet eighteen of the twenty size-three subsets are impossible: this is a two-group cluster sampling design. Unequal probability sampling deliberately changes inclusion probabilities, often to improve precision for a particular estimand, and generally requires an appropriately weighted estimator rather than the plain sample mean.
Consider the original mathematical population with labelled values , and let . The fifteen equiprobable subsets, followed by their sample means, are
Their sample means sum to , giving expected value . Their squared deviations from sum to , giving variance . This is an enumeration over hypothetical selections from six stipulated numbers, not measured survey data.
Figure 1.
All fifteen size-two subsets and all thirty-six ordered replacement outcomes from six labelled values
. Details.
With independent uniform sampling with replacement, the ordered outcomes each have probability . The two orders and are distinct outcomes, and is now possible. Forgetting order does not make the resulting unordered multisets equiprobable: has probability but has probability . The thirty-six sample means still have expected value , but their squared deviations sum to , giving variance . Avoiding duplicate labels improves precision for this fixed population.
Statistical sampling 2026-11-05
Statistical sampling selects observations from a target statistical population through an explicit selection procedure or statistical model. It links observed values to the larger collection about which conclusions are sought. The accessible sampling frame and the statistical population need not coincide, which can cause sampling bias even in a large statistical sample.
For a finite statistical population with values , suppose every unit has known positive inclusion probability . If is the selected statistical sample, then
is an unbiased estimator of the total . Indeed, writing the sum with inclusion indicator functions gives . Under simple random sampling without replacement of size , , so is the sample mean. The selection procedure also determines dependence between selected units and the resulting sampling variability; unbiasedness alone does not specify its size.