Remainder recycling 2026-10-20
A random number generation technique that retains the unused equally likely outcomes after a rejected trial in rejection sampling. Instead of discarding those outcomes, it uses their conditional probability to obtain a new uniform distribution on a finite set for the input state of the next trial.
For a normalized quantum state and a time-independent Hamiltonian operator , consider ideal projective measurements of the orthogonal projection at intervals . Write . A successful check leaves the post-measurement state up to global phase. Thus each successive success, conditional on earlier successes, has conditional probability , and multiplication gives the displayed formula. Equivalently,
This is the probability of the entire sequence of successful checks. It underlies the quantum Zeno effect.
Replication in experimental design Created 2026-10-07 Updated 2026-10-18
Replication in experimental design repeats a treatment on multiple independent experimental units, so that variation between those units can inform a treatment contrast and its standard error. Repeated measurements on one experimental unit can improve measurement precision without providing additional independent treatment replication. The experimental unit is identified by where the treatment is applied, rather than by how many responses are recorded.[ref]
For a constructed example, grow one plant in each of eight separate pots. Apply treatment A to four pots and treatment B to four pots, without sharing drainage water between pots. Measure the length of three leaves per pot. The pot is the experimental unit; the leaf is the observational unit. There are four treatment replicates per group, eight experimental units overall, and measurements. The three leaves in one pot are nested measurements, because they share the same plant and treatment application. The setup assumes that pots do not affect one another; simply putting them in separate containers does not establish statistical independence.
Figure 1.
Constructed two-treatment design: eight pot experimental units contain twenty-four leaf observational units
. Each outlined pot receives one treatment application and supplies three nested measurements. A pot label marks an experimental unit, not a measured response value. Details.
Randomization chooses which experimental units receive which treatments; replication supplies multiple experimental units receiving the same treatment. These solve different problems. In the balanced allocation above, choose the four A pots uniformly among the possible subsets. A particular pot has probability of receiving A. Given that one pot receives A, a second receives A with conditional probability , rather than . Thus the assignments are not independent random variables, even though the experimental units can supply independent responses conditional on those assignments in a suitable statistical model.
An actual ecology experiment illustrates why the distinction matters. In Stuart H. Hurlbert's account, twelve experimental ponds initially received zero, fifty or 450 fish, with five, four and three ponds respectively. Preparation included assessing variation between ponds before introducing fish; allocation considered both location and existing differences between ponds. The zero-fish ponds supplied the scientific control. These were repeated treatment applications to ponds, not twelve samples from one pond.[ref]
The original article followed the southern California ponds for ten months. Its readouts included zooplankton populations and total phytoplankton; it reported decreases in some zooplankton populations and increased total phytoplankton.[ref] Repeated sampling within a pond helps describe its response through time, while ponds supply treatment replication. Unequal group sizes and initial pond variation matter for the statistical model; the treatment counts alone do not establish equal variances or independent responses.
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.
Scoring rule Created 2026-10-07 Updated 2026-10-14
A scoring rule turns a probability distribution forecast and an observed outcome into a number. For example, a forecast of rain with probability should express uncertainty more usefully than a bare prediction of rain. A scoring rule lets us compare such forecasts after observations arrive, and its choice determines whether exaggerating confidence pays. A proper scoring rule rewards an honest account of uncertainty in expected value.
There are two sign conventions. A reward is maximized; a loss function is minimized. The conversion reverses every comparison. Here the linear probability score is a reward, while the binary Brier score and the negative logarithmic scoring rule are losses. Calling all three a "score" without specifying the direction would hide the central difference.
Throughout the binary examples, the random variable has a Bernoulli distribution with actual success probability , and the report assigns probability to and to . The value is stipulated by this statistical model; it is not inferred from data or a claim that a forecasting system is calibrated. In practice the true predictive distribution is unknown, and the relevant is the conditional probability of success given the information available when the forecast is issued. Propriety evaluates incentives for reporting that predictive distribution; it does not supply the unknown probabilities.
Consider an original balanced-readout model, rather than a fit to the experiment. Let , with a normalized prior probability and . A detected chemical atom has outcome . Define the conditional probabilities
Here is the accumulated quantum phase per photon, the controlled analysis quantum phase, and the fringe contrast. The two probabilities sum to one for every . Actual calibration may also require an offset and asymmetric detection errors; alone does not specify a quantum instrument.
Assume no photon number change during the record and fresh independently prepared atomic meters. For observed outcomes at recorded settings , the Born rule and Bayes' theorem give
The posterior probability is defined only for . Summing its numerator over proves normalization. This is also the update of diagonal elements of a field density operator under a measurement in quantum mechanics; it does not assume that an initial quantum superposition was an unknown pre-existing integer. The observed settings are part of the record, especially when selected adaptively.
For an exact finite example take , , and . An outcome at has likelihood , giving . Another at gives . A subsequent at gives
Thus three atomic records raise the posterior probability of from to , while leaving finite uncertainty. No one of these outcomes identifies with certainty.
Figure 1.
Synthetic atomic records progressively concentrate a photon-number posterior
. Original simulation, not laboratory data: , uniform prior, , , four cyclic analysis phases, and a fixed simulated . Cavity loss is omitted. Individual updates can broaden the distribution even though this record eventually concentrates. Details.
The periodic likelihood function imposes an identifiability limit. If for an integer , then for every setting: the posterior odds between and never change. Varying can resolve a cosine reflection ambiguity within a period, but cannot remove this exact period. Changing can supply additional information. A finite cutoff is therefore a physical assumption to justify, not evidence that excluded high photon numbers were absent. At no outcome changes the prior probability; at neither binary outcome has an exactly zero likelihood.
The no-loss assumption also has a time limit. In an original zero-temperature loss model, let . A Fock state loses its first photon at rate , so its survival probability is and its mean lifetime is for . Several records must be acquired within that lifetime to identify a plateau. When losses matter, first predict using a normalized transition matrix, then apply the atomic Bayesian inference update to . Thermal excitation requires upward transitions too. A delayed or broadened inference after a jump need not indicate that an atom caused the jump.
Sequential probability integral transform Created 2026-10-07 Updated 2026-11-05
For correct continuous conditional forecasts, the conditional probability integral transform is uniform given the entire past. Iterating conditional probabilities makes the transformed sequence independent and uniform. Uniformity and serial checks assess absolute predictive calibration using only the forecast distributions and observations.
Sharp bounds from binary conditional probabilities Created 2026-10-18 Updated 2026-10-25
Write , and . The law of total probability gives the displayed convex combination. With fixed and free in ,
With fixed and free in ,
The joint cell masses are nonnegative and sum to one, proving sharpness in the joint-model interpretation. For ordinary conditional probabilities, a conditioning event must have positive mass. If both and are specified by ratios, then : for the last bounds are strict and their endpoints are the infimum and supremum. If , the marginal equals that common value for every . Endpoint mixtures remain meaningful if the unused zero-mass conditional is treated as a prescribed conditional model rather than a defined ratio.
Sibling recurrence risk Created 2026-10-13 Updated 2026-11-05
Sibling recurrence risk is the conditional probability that another child has the disease, given an affected sibling. For unaffected parents, complete penetrance and a single recessive disease allele, the affected child identifies both parents as genetic carriers. Independent Mendelian segregation then gives recurrence probability , whether or not the parents are related. Incomplete penetrance, phenocopies, different causal loci or affected parents change this calculation.
// Target: biology.bigb
Simulated annealing Created 2026-10-14 Updated 2026-10-18
Simulated annealing accepts worse feasible solutions to escape a local minimum. Minimize an objective function , analogous to energy. Effective temperature has the same units as , absorbing the Boltzmann constant; it controls exploration, rather than a material's thermodynamic temperature.[ref]
Given current feasible point , draw from a proposal distribution . For a symmetric proposal distribution, , use the Metropolis–Hastings acceptance probability
Accept with this conditional probability; on rejection retain . Every downhill or equal-cost proposal is accepted. Draw a fresh uniform random variable on and accept if . The off-diagonal transition probability includes proposing .[ref]
For a maximization problem with objective function , set : every improving proposed neighbor is accepted, and a worsening move of loss has conditional probability of acceptance, under the same symmetry assumption. Likelihood-power annealing uses precisely this sign convention for a log-likelihood. Retain the best feasible solution seen, since the current state can worsen even after a global minimum has been visited.
If the proposal distribution is asymmetric, use the full Metropolis–Hastings acceptance probability, for ,
A missing reverse proposal gives zero acceptance. Even a downhill proposal need not be accepted with probability one in this case. Choosing uniformly among a variable number of neighbors is generally asymmetric: and give the correction , where is vertex degree.[ref]
The useful idea is to separate exploring from insisting on improvement: an uphill move can open a route to a better feasible solution. Its usefulness depends on the proposal distribution, the scale of the objective function, and the cooling schedule for simulated annealing. Finite practical schedules carry no general guarantee of finding a global minimum.
Standardization with common weights Created 2026-10-25 Updated 2026-11-05
Let be a group-specific conditional probability in stratum , and let with . Average each group's conditional probabilities using the same weights. Then
This is a descriptive comparison under a common covariate composition. Its difference from a crude contrast need not be a causal effect. Causal outcome standardization additionally requires its identification assumptions.
A strongly universal hash family makes every ordered pair of outputs equally likely: for distinct inputs and arbitrary specified outputs ,
Thus the two outputs are independent random variables, each with the uniform distribution on a finite set. Adding the equal ordered pairs gives collision probability , so the family is also a universal hash family.
Here is a completely enumerable example. In the finite field , take the affine functions , using modular arithmetic modulo . Choose and as independent random variables, each with the uniform distribution on a finite set of all five finite field elements , including . There are equally likely hash functions. For , the ordered pair is . For instance gives ; gives . Every prescribed occurs exactly once, at .
Figure 1.
Enumerating all affine hash functions over the finite field with five elements
. Each cell shows the unique coefficient pair (a,b) producing the displayed outputs at 0 and 1. Removing a = 0 deletes the diagonal and leaves dependent outputs despite uniform individual values. Details.
Each row contains five choices, so each individual output has probability . Each cell has probability , and the five diagonal cells give collision probability . For any distinct , the same conclusion follows from and : a nonzero finite field element has a unique inverse. This is the beauty of the construction: two small random coefficients provide exact pair balance without choosing five unrelated values.
The example uses equal-sized input and output sets to make every choice visible; it illustrates the family definitions rather than compression. In a larger input set, a hash function cannot avoid all collisions into five buckets. What a universal hash family controls is the fraction of its members that collide on each fixed pair, rather than the existence of any collision anywhere.
Restricting to leaves permutations with zero collision probability for distinct inputs. Individual outputs remain uniform, but given , the four values other than each have conditional probability and has zero. Hence these outputs are not independent random variables: this is a universal hash family but not a strongly universal hash family. Finally, the full -member example contains five constant functions, with immediately visible collisions. Its pair guarantee concerns a random choice of hash function, and makes no claim of cryptographic collision resistance.
Subordination of a Lévy process Created 2026-10-05 Updated 2026-11-05
If is a Lévy process and an independent subordinator, then is a Lévy process. Conditional on the clock, increments of over disjoint clock intervals are independent; averaging over the independent stationary increments of the clock gives the same properties for . If , its characteristic function is . For standard Brownian motion, , so this is the clock's Laplace transform at .
Survival function Created 2026-09-24 Updated 2026-10-14
For a nonnegative survival time , the survival function is
where is the cumulative distribution function. Thus is the probability that the chosen occurrence is still in the future at time . We consistently use the strict inequality : a probability mass at has already left the survival function at itself. With this convention is a right-continuous function and a nonincreasing function taking values in . If , then ; if is finite with probability one, then as .
For and , conditional probability gives
For example, and mean that of those still event-free at year two remain event-free through year five. Their intervening event probability is , whereas the original population's probability of an occurrence in is . Conditioning changes the denominator.
The area under the survival function up to a horizon gives the restricted mean survival time. A positive terminal plateau in a plotted Kaplan–Meier estimator does not establish that the occurrence will never happen: terminal censoring and survival-mean identifiability explains why the unobserved tail remains undetermined.
Tail probability Created 2026-10-03 Updated 2026-10-14
For a real random variable , an upper-tail probability has the form and a lower-tail probability has the form . Each is the probability of an event lying beyond a chosen threshold in one direction. A tail probability need not be small: the threshold determines how much of the probability distribution it includes. A concentration inequality bounds such probabilities, often for deviations from an expected value.
Endpoint conventions matter. Write for the cumulative distribution function and . The complement rule of probability gives four distinct formulas:
The strict upper-tail convention is the survival function . Its value differs from the inclusive upper tail probability by exactly the probability mass at the threshold:
A singleton with positive probability mass is an atom of a measure. Thus excludes an atom of a measure at , whereas includes it. These endpoint identities follow directly from the cumulative distribution function properties in Kyle Siegrist, Distribution and Quantile Functions: endpoint probabilities and right tails.
As the threshold increases, both upper tail probabilities are nonincreasing functions. The strict survival function is a right-continuous function; the inclusive upper tail probability takes the upper endpoint value at a downward jump, equal to the left limit of the survival function. Both tend to zero as for a real random variable, but the speed of that decay differs across probability distributions. The cumulative distribution function properties and their proof from continuity of probability measures are given in MIT 6.436J, Lecture 4: random variables and cumulative distribution function properties.
For a fair six-sided die , the discrete uniform distribution assigns probability mass to each of . At threshold four,
Between four and five, both upper tail probabilities equal . At the largest possible outcome the distinction is especially visible: , but . The diagram shows exact probabilities for this mathematical model; its dots specify which endpoints belong to each step function.
Figure 1.
Exact fair-die probabilities: including or excluding a threshold changes the tail by one atom
. Details.
If a probability distribution has a probability density function , then every singleton has zero probability mass and
For an exponential distribution of rate two, for and zero otherwise, so for and for . Hence . This tail probability is an integral of the probability density function, not its height . A mixed probability distribution retains endpoint jumps even with a smooth component: give zero probability mass and choose this exponential distribution with probability . Then , , and for .
A two-sided tail probability can measure the absolute value of displacement from a specified center . For , the two extreme events are disjoint events, so
For strict displacement , replace the last expression by . The condition prevents overlap; at adding inclusive tails double-counts any probability mass at . For a uniform distribution on , take and : the two tail probabilities are each and their sum is . Equal tails follow from this symmetric probability distribution, not from the phrase two-sided alone; for a uniform distribution on with , the two tail probabilities are zero and .
The tail-sum formula for expectation turns a whole curve of tail probabilities into an expected value. For any nonnegative random variable , without assuming a probability density function or a finite expected value,
For a proof outline, write pointwise and exchange the expected value and Lebesgue integral using Tonelli theorem; is an indicator function. The inclusive version has the same Lebesgue integral: positive probability masses occur at only a countable set of thresholds, which has Lebesgue measure zero. For a nonnegative integer-valued random variable , the tail-sum formula instead gives . The integer hypothesis is essential for these sums. The integral identity, its indicator function proof, and the integer version appear in Kyle Siegrist, Additional Properties of Expected Value: integration and summation of right tails.
For the fair die, this tail-sum formula yields , equal to the direct weighted arithmetic mean . For the rate-two exponential distribution, the area under the survival function is , its expected value. The first panel below shades an integral of the probability density function for a single threshold; the second shades an integral of the survival function across all nonnegative thresholds. These are analytical illustrations, with the displayed curves truncated at three; their exact total areas use an infinite integration range.
Figure 2.
Exponential model: one tail probability is density area, while expectation is total survival area
. Details.
Nonnegativity is essential to interpreting the upper tail probability area as : for a general real random variable that area equals the expected value of its positive part. An integrable random variable satisfies , subtracting the expected value of its negative part; infinite terms cannot be canceled. Even when is finite almost surely, its expected value can be infinite. For the shape-one Pareto distribution on , on and for , so the area is . The finite versus infinite expected value distinction is illustrated in Kyle Siegrist, Definitions and Basic Properties: exponential and Pareto expected values.
Why are tail probabilities useful? They answer threshold questions directly, and a concentration inequality can bound them without knowing the full probability distribution. For nonnegative with finite expected value, Markov inequality gives for : a large threshold relative to the expected value forces rarity. The quantile function reverses the question by choosing a threshold for a prescribed cumulative level. If with , then ; an atom of a measure may prevent equality. For the die, , with strict upper tail probability zero and inclusive upper tail probability .
A tail probability describes rarity under a specified probability distribution; it is not automatically a conditional probability after extra information. For with ,
because the threshold events are nested. Thus the die has but . Conditioning changes the sample space and renormalizes its probability measure; the same extreme outcomes can become common in that restricted population.
Taxi distance convolution on a rectangular road cycle Created 2026-10-14 Updated 2026-11-05
For a taxi starting at any vertex of a rectangle with side lengths , a uniform pickup vertex gives approach-distance law uniform on . Conditional on that pickup, a uniform distinct destination gives passenger-distance law uniform on , independent of the pickup vertex. Hence the two distance variables are independent despite sharing that vertex. Their convolution has twelve equally likely pairs. Its mean is and its variance is . Repeated numerical sums combine their multiplicities when some distances coincide.
Three prisoners problem Created 2026-10-14 Updated 2026-10-31
A messenger names an excluded candidate while concealing the uniquely selected one. The conditional probability depends on the naming rule. With three equally likely selected candidates and a messenger forbidden to name the observing candidate A, let be the probability of naming B when A is selected. When C is selected the messenger must name B, and when B is selected cannot name B. Thus the probability that A is not selected, conditional on B being named, is . Unbiased naming has and leaves this probability ; bias toward B gives , and bias toward C gives one. Conditioning on the name is different from conditioning only on B's exclusion.
Transition probability Created 2026-09-29 Updated 2026-11-05
The Transition probability is the Conditional probability that a Markov chain moves to state on its next step given that its current state is .
Truncated normal distribution Created 2026-09-28 Updated 2026-11-05
A truncated normal distribution is a normal distribution conditioned on belonging to a retained measurable set of positive probability. If , , and , its density is
where is the standard normal density. The indicator is essential: the density is zero outside . For an interval , possibly with infinite endpoints,
The same expression holds for any endpoint inclusion convention because the original normal distribution has no atoms.
For a standard normal variable restricted to positive values, and the density is for . Its mean is : integrate using . Symmetry gives second moment one, hence variance . Truncation therefore changes the mean and variance; they are not generally the original parameters .
sign-truncated normal sampling uses inverse transform sampling to generate this conditional law directly. Rejection from the original normal is also exact but may be slow when the retained set has very small probability.
Type I and type II errors Created 2026-09-24 Updated 2026-10-25
For a null hypothesis , a type I error rejects when it is true, while a type II error does not reject when the alternative is true. If a test does not reject on an event , their conditional probabilities are and . Nonrejection does not establish the truth of the null hypothesis.