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 valueEquating 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 isValues 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.
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.
Complement rule of probability Created 2026-10-14 Updated 2026-10-25
For an event in a sample space , the complementary event occurs exactly when does not occur. The complement rule of probability follows from the Kolmogorov axioms: and are disjoint, their union is , and their probabilities therefore add to .
This rule is useful when an event is easier to describe through its failure. For a nonnegative integer-valued random variable , turns an at-least-one calculation into a single value of the probability mass function. In sampling without replacement, the hypergeometric distribution gives the chance of missing all marked objects, so its complement gives the chance of finding at least one.
Factorial Created 2026-09-24 Updated 2026-10-13
For a nonnegative integer , the factorial is the product of the positive integers from to , with the empty product equal to :Thus , , , and . The factorial counts the permutations of distinct objects: arranging gives exactly . The choice tree in permutation shows the three choices for the first position, two for the second, and one for the last.
The value has a counting explanation: the empty set has exactly one ordering, the empty list. Equivalently, it has exactly one bijection to itself, the empty function. There are no choices to make, and one completed outcome. The factorial therefore obeys the recurrence relationThe useful distinction is how many positions are filled. For integers , choosing and ordering distinct objects by sampling without replacement gives the falling factorial, while choosing an unordered -element subset gives the binomial coefficient:For five people, assigning captain and deputy gives outcomes; choosing a two-person team gives . Every team has exactly assignments of the two roles, explaining the division. When , both counts are one. The factorial is useful here because one count of full orderings yields both formulas by cancellation and by forgetting order. [ref]
https://openstax.org/books/college-algebra-2e/pages/9-5-counting-principles. OpenStax, College Algebra 2e, section 9.5: counting ordered selections and combinations
Distinctness matters. If the two copies of in are indistinguishable, the visible arrangements are just , numbering . Temporarily labelling them gives six permutations, but exchanging the two labels leaves each visible word unchanged, so every word was counted times.
Proof outline. For , choose the first object in ways, then order the remaining objects in ways. The rule of product gives the recurrence relation; repeated application gives the displayed product, starting from the one empty ordering. This explains why the factorial grows quickly: every additional distinct object introduces another multiplicative factor.
Finite population correction 2026-10-14
For uniform sampling without replacement from a population of objects, the finite population correction accounts for the reduced spread caused by drawing distinct objects. For the marked-object count in a hypergeometric distribution, put . ThenRelative to the corresponding binomial distribution, the variance is multiplied by and the standard deviation by . The square-root convention for the correction is used in Philip Stark's discussion of sample sums.[ref]
https://www.stat.berkeley.edu/~stark/SticiGui/Text/standardError.htm. Stark, SticiGui, Standard Error: sample sums without replacement
The factor has a direct interpretation. For , replacement makes no difference and . For , the entire population is observed and the marked count is exactly , so . In the ten-object, five-draw example, and . The exceptional population size is deterministic and should be handled directly rather than inserting it into a zero denominator.
A short explanation uses an indicator random variable for a marked object at draw . Each has expected value and variance . For distinct draw positions ,Since , the variance of a sum includes individual terms and ordered covariance terms, giving the displayed correction. Linearity of expectation still gives despite this dependence.
For arbitrary fixed real population values, use for population size and for sample size. Write the finite population mean , the finite population variance and . Under simple random sampling without replacement, the sample mean satisfiesThus is the variance factor relative to , while is the exact variance ratio to independent uniform sampling with replacement, whose sample mean has variance . The standard error uses the square root of the corresponding factor. These formulas agree because ; the denominator convention must be specified. The sample mean under simple random sampling gives a derivation and an exact six-value example.
First marked item in a random permutation Created 2026-10-14 Updated 2026-10-18
When items among are marked, inspect a uniformly random permutation until the first marked item. For its first position to be , the other marked positions must lie among the last slots. This yields the displayed law with support . It is the first-success form of sampling without replacement. For one marked item the position is uniform, while its conditional success chance after failures increases to .
Draw balls sequentially without replacement from green and red balls. Let be the first positive draw count at which the numbers of drawn green and red balls agree. For ,where denotes the falling factorial and is a Catalan number. Odd first return times are impossible because equality requires an even total number of draws.
To count the successful colour orders, encode green by a step and red by a step . If the first step is positive, a first return time means that the partial sums remain strictly positive until the last step. Delete the first positive step and the last negative step, and shift the remaining heights down by one. The result is a Dyck path of length , of which there are . Interchanging the colours doubles this count. Every such colour order has the same probability under sampling without replacement, namely , proving the formula. In particular, the numbers of successful colour orders at lengths two, four and six are two, two and four; balanced orders with an earlier return must not be counted.
Hypergeometric distribution Created 2026-09-24 Updated 2026-10-14
The hypergeometric distribution counts marked objects in a uniformly chosen sample of fixed size from a finite population, using sampling without replacement. Let be the population size, let objects be marked, and sample distinct objects. If counts the marked objects selected, its probability mass function isThe bounds describe the support of a probability distribution and must be an integer; the mass is zero elsewhere. The denominator counts all size- subsets, while the numerator counts choices of marked and unmarked objects using binomial coefficients. This counting argument requires every size- sample to have the same probability.[ref]
https://web.mit.edu/14.380/www/handouts/hypergeometric.pdf. MIT 14.30, hypergeometric distribution handout, §§1–4
For a constructed example, a box contains ten labelled objects, four red and six blue. Select five without replacement. There are possible samples. The probabilities for areIn particular, . Five red objects are impossible because the box only contains four. The expected value is , and the variance is .
Five draws from four red and six blue objects: replacement preserves the mean but changes the spread
. Details. The count law also answers a detection question: what is the chance that five draws find at least one red object? By the complement rule of probability, it is , approximately . This can model inspecting five distinct objects from a known finite collection, with a mark indicating the property we want to detect. If repeated inspections can select the same object again, the replacement model instead gives . Equal expected values therefore do not imply equal chances of detecting a marked object.
The corresponding binomial distribution counts red draws when each selected object is put back before the next independent draw: . It has the same expected value , but variance , and it permits five red draws. Without replacement, a red first draw leaves red probability for the next draw; a blue first draw leaves . This statistical dependence pulls the total toward the fixed composition of the population, producing the finite population correction.
The useful modelling question is whether previously selected objects remain available. A fixed-size sample of distinct items calls for a hypergeometric distribution; fresh independent trials with constant success probability call for a binomial distribution. When the population grows with while stays fixed, the hypergeometric masses tend to the corresponding binomial distribution masses: removing finitely many objects has an increasingly small effect on the next draw's probability.
Mark and recapture 2026-10-14
Mark and recapture estimates the cardinality of a finite set of individuals when counting everybody is impractical. The useful information is the overlap between observations: with fixed sample sizes, finding many of the same individuals again suggests a smaller population, while finding few suggests a larger one. More elaborate capture-recapture models also estimate survival and changing probabilities of detection.
In a closed-population capture-recapture model, let be the unknown population cardinality. Capture distinct individuals, mark them, release them all, and allow them to mix with the rest. Next take a second sample of distinct individuals using sampling without replacement, and count the individuals carrying a mark. The observed marked fraction estimates the population's marked fraction , giving the Lincoln-Petersen estimatorRelease happens between the two samples; sampling without replacement means that an individual is counted at most once within the second sample. See Richard J. Barker, Open Population Mark-Recapture Models, §1.1.1.
For a constructed teaching example, mark individuals and later capture , including marked individuals. One fifth of the second sample is marked, suggesting that the twenty marked individuals are one fifth of the population:Let and be the sets of individuals in the first and second samples. Their intersection has cardinality five. By the inclusion-exclusion principle, the set union containsThus is an observed lower bound, whereas is the output of an estimator based on the capture-recapture model. These are toy counts, not measurements from a medical or ecological study.
Forty distinct observed individuals: fifteen in the first sample only, five shared, and twenty in the second sample only
. Details. The diagram shows only observed individuals. It does not draw an assumed population of one hundred. The capture-recapture model uses the overlap to infer how many individuals may have escaped both samples; its likelihood function shows why one estimator output cannot describe all that uncertainty.
Memorylessness of the geometric distribution Created 2026-10-14 Updated 2026-10-20
For the positive-integer geometric distribution with success probability , the displayed identity holds for nonnegative integers whenever the conditioning event has positive probability. The first attempts have failed; future independent attempts use the same success probability. Equivalently, divide the tail by . For a zero-based failures count , use . Constant success probability and independence are essential: accumulated wear or learning would require a different model.
The full remaining-count law is unchanged, not only one tail probability. With , after failures set on the event . For , its probability mass function under this conditional probability isHere independence makes the future trials unaffected by the observed failures, and the unchanged success probability makes their law identical to the original one. Consequently , while . For the constructed mechanism, five failures leave a mean of more attempts, making the conditional mean total ; the five already spent are still counted.
Conditioning on five failures, renormalizing, and resetting the count gives the original geometric law
. Details. The same mechanism has constant discrete hazard:Thus each reached attempt has the same chance of success. This differs from the decreasing unconditional probability : later success requires surviving earlier attempts. At , only conditioning on an event of positive probability is allowed: permits only , and only .
Among proper laws on the positive integers, memorylessness of the geometric distribution also characterizes the geometric distribution. Write . The identity gives ; if , both sides vanish anyway. Since , induction yields . Properness excludes , so setting recovers the geometric distribution, including .[ref]
The Geometric Distribution. Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist; Basic Theory, Distribution Functions and the Memoryless Property: conditional remaining-count identity and its converse
The retry example stipulates independent Bernoulli trials with a known constant ; it is not evidence that a real retry system behaves this way. Shared changing conditions or adapting attempts can alter the next success probability. Even constant individual success probabilities alone do not imply independence.
For an original contrasting model, uniformly shuffle one success card and three failure cards, then draw by sampling without replacement. Its success position has the discrete uniform distribution on . Initially the success probability is ; after one failure it is . In particular,This shows concretely why sampling without replacement need not be independent and why the remaining wait can change. Every draw still has unconditional success probability when all four positions are considered; the relevant discrete hazard changes after failures.
Multivariate hypergeometric distribution 2026-10-14
Suppose a finite population is split into categories with fixed sizes summing to . A uniform size- sample drawn by sampling without replacement has category counts with the displayed joint probability mass function, for integers summing to . It extends the two-category hypergeometric distribution; replacing the sampled objects instead gives a multinomial distribution.
For a box with category sizes and a sample of four distinct objects, the count pattern has probabilityPut . When , its covariance matrix is the corresponding multinomial distribution covariance matrix multiplied by the squared finite population correction:This connects the fixed-total dependence between categories with the further reduction from sampling without replacement. X. G. Duan gives a symmetry-based explanation of this shared covariance structure.[ref]
https://arxiv.org/abs/2101.00548. Duan, Better understanding of the multivariate hypergeometric distribution, 2021 preprint
Past exam of the mathematics course of the University of Cambridge 2008 ia Paper 2 3F Solution Created 2026-09-24 Updated 2026-10-14
The sampling without replacement makes all unordered pairs equally likely. The count of red-red pairs is , while the count of mixed pairs is . Thus their probabilities satisfyand cancellation gives . Hence , with three black socks. The count of black-black pairs is also , soThe mixed, red-red and black-black probabilities are respectively , which add to one and verify the given ratio.
All size-six subsets are equally likely under uniform sampling without replacement. There are subsets in total, and contain the required three members from each group. Thus the hypergeometric distribution gives
Count unordered sets of distinct labelled fish: there are possible hauls. To obtain exactly trout, choose labels from the trout and from the carp, giving possibilities. Uniform sampling without replacement therefore gives the hypergeometric distributionOutside this integer range the probability is zero. If ordered catches were counted instead, every haul would have orders and that factor would cancel from the probability ratio.
Here equal catchability means equal selection probability for each individual remaining fish. It does not mean that the two species have probability on each draw regardless of their populations. This interpretation is the one that yields the stated hypergeometric law.
The three preceding probabilities satisfyTheir expected value and second moment areSubtracting the squared mean givesThe value also follows from linearity of expectation. The variance includes the finite-population reduction caused by sampling without replacement.
When only a tiny fraction of either species is removed, the trout fraction among the remaining fish stays nearly constant at . Successive catches are then approximately independent trials with that fixed success probability. The count therefore approaches the binomial distributionThe approximation comes from negligible depletion, not from an exact independence property of sampling without replacement.
Uniform sampling without replacement is equivalent to revealing a uniformly random permutation of seven labelled balls. Each draw position is equally likely to contain any label, so its colour has the original proportions. ThusFor example the law of total probability gives . Equal marginal probabilities express exchangeability, rather than independence between successive draws.
For sampling without replacement, sum the two outcomes with a blue second draw:The marginal blue probability equals the initial blue fraction even though the two draws are dependent.
Random sampling without replacement assigns each of the ten distinguishable pieces to each lunch with the same probability. Five pieces of each type therefore giveOne can check the second probability by conditioning on the first lunch:The identical marginal probabilities do not imply independence of the draws.
Let be the indicator random variable of an apple in lunch . The number remaining is . Each expected value . The linearity of expectation therefore givesAlthough the indicator random variables are dependent under sampling without replacement, the linearity of expectation needs no independence assumption.
With white balls, uniform sampling without replacement gives the probabilityRearranging, , soA finite admissible population has even and , so the denominator is nonzero.



