Alpha-spending function Created 2026-10-05 Updated 2026-11-05
An Alpha-spending function assigns the cumulative Type I error budget to successive information fractions in a group sequential design. Its total at the final analysis is the overall significance level. The rejection boundaries must be calibrated using the joint distribution of the sequential test statistics; independent fixed-level tests do not automatically spend the assigned budget correctly.
Blocked Gibbs sampler 2026-10-06
A blocked Gibbs sampler draws groups of coordinates jointly from their full conditional distributions. Each update preserves the joint probability distribution; dependence between blocks can still cause a long mixing time.
Bothe-Geiger coincidence experiment Created 2026-10-18 Updated 2026-10-20
In 1924–1925, Walther Bothe and Hans Geiger tested event-level Compton scattering correlations against the statistical conservation proposed by BKS theory.[ref]
The Coincidence Method by Walther Bothe. The coincidence method, pp. 271–273
Needle Geiger counters shared a wall. X-rays passed beside it through hydrogen; recoil electrons registered in one counter and scattered photons triggered electron release in the other. Photographic records resolved approximately .[ref]
The Coincidence Method by Walther Bothe. p. 272: apparatus and timing
Two detection channels in the Bothe-Geiger coincidence experiment
. Original functional schematic based on Bothe's account; dimensions, angles and trace marks are illustrative. The common wall separates the counter regions; the direct beam avoids it. The drawing specifies neither wall material nor chamber shape. Photon detection requires electron release. Both records share a time coordinate. Details.The coincidence excess matched paired-emission expectations. Bothe distinguishes a later directional test from this timing experiment.[ref]
The two channels have different physical roles. The first responds to the local recoil electron's ionization. The second converts a scattered photon into an electron response, as in the photoelectric effect. A large counter signal is an amplified indication of an interaction, not a direct measurement of the incoming photon's energy. The detection efficiency and accepted directions determine how many genuine partners can be seen. Consequently, failure to record every partner is compatible with paired production.
The relevant distinction is between an average balance and a balance in each event. For an initially stationary free electron, Compton recoil kinematics givesHere are incident and scattered photon energies, is recoil kinetic energy, and is electron momentum. These are paired constraints, not just equations between averages over unrelated detections. Summing correctly paired events preserves the equations; throwing away the pair identities loses information. Two samples can have identical separate energy distributions while differing in their joint probability distribution.
The experiment therefore supplied evidence for the event association required by photon recoil, rather than weighing both outgoing energies in every event. A statistically established excess above accidental coincidences matters; one near-simultaneous pair cannot establish the association. It also cannot by itself settle every question about wave-particle duality.
Preparation, readout and background checks address different failure modes. The direct beam must avoid the second counter, and the counter boundary must prevent a recoil electron from masquerading as its own photon partner. Separate-channel rates constrain accidental coincidences; common disturbances or electrical coupling could instead create a correlated instrumental background. A useful diagnostic is to displace one record in time: under a stationary process assumption, unrelated-pair expectations persist while prompt partners separate. This is the explanatory control modeled below, not an assertion that Bothe performed that particular record-shifting procedure. A background estimate and a statistical comparison are essential to the inference.
The existing coincidence circuit article explains electronic selection, and accidental coincidence derives the accepted-window background. Here pairing can be understood directly from the two recorded time sequences, without imposing a modern detector trigger on the historical readout.
Characteristic function of a sum of independent variables Created 2026-09-24 Updated 2026-10-18
Independence makes the characteristic function of a sum equal the product of the individual characteristic functions.
For mutually independent random variables , write . ThenThis is the expectation of a product of independent random variables applied to bounded complex exponentials; no moment hypothesis is needed.[ref]
Identical probability distributions are unnecessary. When the random variables are independent and identically distributed random variables, the product is . A deterministic rescaling also follows directly from the definition: for real . Consequently the sample mean has characteristic function , and a sum divided by has characteristic function .
The independence assumption does real work. Let take and with equal probabilities and set . Both characteristic functions are , but , not . At they give and zero respectively. Knowing the two marginal probability distributions does not determine the sum without their joint probability distribution.
Conditional density Created 2026-10-05 Updated 2026-11-05
Where the marginal density is positive, a joint probability density determines the conditional densityIt integrates to one in , and supplies conditional expectations by integrating against it. Its values on a probability-zero set of conditioning points are not fixed by the joint probability distribution.
Coupling 2026-10-13
A coupling of probability distributions is a joint probability distribution of random variables whose marginal distributions are . It lets us choose the statistical dependence between two random constructions while preserving the individual laws. This choice can make a comparison much easier: giving two simulations the same random input may keep their paths close, even though separately generating both paths would hide that relationship.[ref]
Markov Chains and Mixing Times, second edition by David A. Levin and others. §4.2, coupling definition and Example 4.6, printed pp. 49–50
For example, two fair coin tosses can be generated independently, with mismatch probability , or by tossing once and setting , with mismatch probability zero. Both constructions have the same two Bernoulli distributions as marginals. Their joint laws differ. A maximal coupling makes the values agree as often as possible; a coalescing coupling arranges permanent agreement of two processes after a random time. Minimizing expected geometric separation instead leads to Wasserstein distance.
Cryptographic environment 2026-11-05
A cryptographic environment is the interactive external context used to judge a cryptographic protocol in universal composability. It supplies honest parties' inputs, observes their outputs, communicates with the adversary, and ultimately outputs a decision bit. The comparison asks whether this bit's probability distribution changes detectably between the real execution and an ideal execution with a cryptographic simulator.[ref]
Universally Composable Security: A Tutorial by Ran Canetti. PDF pp. 20–24, execution model, protocol emulation and quantitative formulation
The same cryptographic environment observes either a real protocol and adversary or an ideal service and simulator. Honest-party forwarding is collapsed into the ideal-service box.
Details. The cryptographic environment models other software using the service, including choices depending on earlier outputs. It can retain private information with which to check later responses. Its view therefore includes the relationship between inputs, outputs and adversarial messages, not just isolated packet statistics.
An original two-bit example shows why that relationship matters. Let be a random variable with the uniform distribution on a finite set . One system returns ; another returns with an independent uniform bit. Each individual coordinate has the same marginal distribution in both systems. Nevertheless, the test “accept exactly when the two bits agree” has acceptance probabilitiesIts cryptographic distinguishing advantage is . Matching each output's marginal does not match their joint probability distribution. An interactive cryptographic environment can perform corresponding consistency checks against its retained inputs.
In the computational definition, the cryptographic environment has the specified polynomial time bound indexed by the cryptographic security parameter. For each real adversary, one cryptographic simulator must handle every allowed cryptographic environment; choosing a new simulator after learning which particular context will test it changes the requirement.[ref]
Universally Composable Security: A Tutorial by Ran Canetti. PDF p. 23, quantifier order; pp. 74–76, general formulation and restrictions
This breadth explains the usefulness of universal composability: a service can be analysed within a larger application context. The conclusion still concerns the interactions and cryptographic leakage admitted by the stated execution model.
Cryptographic transcript 2026-11-05
A cryptographic transcript is the specified record of messages exchanged during a cryptographic protocol execution. Its content depends on the purpose: a public communication record differs from a participant's complete private view, which can also include its input, secret state and randomness. Order, message boundaries and the identities or roles associated with messages can matter.
For a concrete standardized use, Transport Layer Security 1.3 authenticates a transcript hash computed from selected handshake messages in their prescribed order. It includes handshake type and length headers, but excludes record-layer headers. Its retry path specifies a special replacement for the first client message.[ref]
The Transport Layer Security Protocol Version 1.3 (RFC 8446). §4.4.1, transcript hash and HelloRetryRequest exception; §4.4.4, Finished authentication
An original toy transcript makes the distinction between messages and concatenated payloads visible. Suppose a sender transmits
ab and then c. The payload sequence is . Another execution transmits a and then bc. Both flatten to ASCII bytes 61 62 63, even though they have different first messages. A length-prefixed encoding preserves the distinction as 02 61 62 01 63 versus 01 61 02 62 63. A hash cannot recover boundaries that were omitted before hashing.Direction can be equally important. The records “initiator sends
yes” and “responder sends yes” contain identical payloads but assert different behavior. A format used to authenticate those assertions must bind the relevant roles, either explicitly in the encoded record or through an unambiguous protocol context. This toy rule is not a replacement for the TLS transcript format.In a security proof, the observer's view and its correlations must be specified. A cryptographic simulator that samples messages with correct individual frequencies may still produce the wrong joint probability distribution with the cryptographic environment's retained inputs. A cryptographic transcript also discloses only the observations it records: a transcript omitting timing cannot by itself justify a security claim against timing observations.
A transcript hash is a compact fingerprint of the encoded record under the relevant cryptographic hash function assumptions. An unkeyed hash alone does not identify the speaker: a digital signature or message authentication code must bind it to an authenticated context when that is the intended guarantee.
For any step , set . The Ornstein-Uhlenbeck transition distribution gives the exact updateusing a fresh independent standard normal random variable for each interval. The update reproduces the joint probability distribution on the selected time grid. It can start from a fixed value or use Ornstein-Uhlenbeck stationary initialization. On an equally spaced grid it is an autoregressive process of order one after subtracting . Its stationary variance follows directly from .
For the stipulated example with , and the innovation variance is . Given , the next conditional expected value is about and the conditional standard deviation is about .
The Euler-Maruyama method instead approximates the same stochastic differential equation byFor its stationary variance solves , givingAt in the example, this is , about above the continuous model's stationary variance. If , this Euler recurrence has no finite stationary variance despite the stable continuous model. Exact transitions avoid this discretization error at sampled times; neither update alone determines the unresolved motion between samples.
Exchangeable random variables Created 2026-10-05 Updated 2026-11-05
A family of random variables is exchangeable if its joint probability distribution is unchanged by finite permutations of its coordinates. Independent and identically distributed random variables are exchangeable, but exchangeable random variables need not be independent random variables.
Finite-dimensional distribution Created 2026-09-24 Updated 2026-10-14
For times , the corresponding finite-dimensional distribution of a stochastic process is the joint probability distribution of the random vector . The collection of these distributions records every finite set of coordinates of the process.
Knowing only the one-time marginal distributions is insufficient. Let be independent standard normal random variables, and let for every , where is one standard normal random variable. Every and has the same standard normal distribution. Nevertheless, for , the difference has a normal distribution with variance two, whereas . The joint probability distribution of is concentrated on the diagonal; that of is spread across the plane. A model for tomorrow's value therefore needs the relation between observations as well as their separate distributions.
For a real-valued stochastic process, its finite-dimensional distributions determine its probability law on the product sigma-algebra. With an uncountable index set, a path property such as continuity need not be measurable in that sigma-algebra; specifying a suitable space of sample paths and a regular modification of a stochastic process is a separate step. This distinction is explained in MIT, The basics of stochastic processes, section 1.1.
Gaussian random matrix Created 2026-10-25 Updated 2026-11-05
A standard real Gaussian random matrix has independent and identically distributed standard normal entries. Each column is an orthogonally invariant random vector: its probability density function is proportional to . Consequently multiplying on either side by a fixed orthogonal matrix preserves the joint distribution. Its singular values are random; the expressions for an matrix describe useful spectral scales, not deterministic endpoints that hold for every realization.
Generative model 2026-11-05
A generative model describes how observations can be produced. It can specify a probability distribution explicitly, or provide a procedure that generates samples whose distribution is determined by parameters . Producing observations and assigning a tractable numerical probability to every observation are separate capabilities.
An original two-bit example defines a joint probability distribution through conditional probabilities. LetGenerate first, then generate using the applicable conditional probability. The four possible outputs have probabilitieswhich sum to one. The procedure generates both complete observations and a dependence between their components. Always outputting the most probable observation,
11, would produce a different distribution: it would discard all the other outcomes rather than sample the stipulated model.A generative adversarial network gives a different implementation. A generator transforms an input random variable into a candidate observation, while a discriminator supplies a training signal by distinguishing generated samples from training examples. The original paper develops this as an adversarial learning procedure.[ref]
Generative Adversarial Nets by Ian Goodfellow and others. Abstract and §2, generator/discriminator framework and sample generation
The model's samples must be assessed against the intended distribution or task. A visually plausible observation alone does not establish that the model represents the full range of observations well; distributional coverage and the probability of different outcomes matter alongside individual sample appearance.
Group sequential design Created 2026-09-24 Updated 2026-11-05
A group sequential design evaluates accumulating data at several planned interim analyses instead of committing to one final test. At each analysis, a prespecified rule can stop for efficacy, stop for futility, or continue collecting observations. The design specifies both the timing of analyses and the sequential stopping boundaries.
Repeated inspection changes the probability of rejecting a Null hypothesis. Even two independent tests, each at significance level , reject at least once with probability under their common Null hypothesis. Tests on accumulating observations are dependent, so their rejection boundaries require their actual joint distribution rather than that independence calculation. An Alpha-spending function distributes the permitted type I error over information fractions; it does not make unchanged fixed-sample critical values valid at every analysis.
For a simple valid construction with planned analyses, choose separate rejection events whose null probabilities are each at most . The union bound makes the probability of any rejection at most , whatever their dependence. More efficient boundaries exploit the dependence between successive test statistics. A Futility boundary removes rejection paths, and a Conditional error principle can justify a later design adaptation while preserving the original error guarantee. The possibility of early stopping also affects point estimation and confidence intervals; fixed-sample formulas do not automatically retain their usual interpretation after selection.
Independent and identically distributed random variables Created 2026-09-24 Updated 2026-10-25
An independent and identically distributed sequence combines two conditions: its members are independent random variables, and every member has the same probability distribution. For a finite sequence with common law , this means that for all measurable sets ,For an infinite sequence, require this condition for every finite collection of distinct indices. Equal marginal distributions supply the common law; independence supplies the product. Neither condition supplies the other. Grinstead and Snell call the combination an independent trials process.[ref]
Introduction to Probability by Charles M. Grinstead and J. Laurie Snell. §4.1, Definitions 4.4–4.5, printed pp. 143–144: mutual independence and a common distribution
Choose a Bernoulli distribution with success probability . Four independent draws produce all sixteen binary patterns with probability each. If instead for one fair Bernoulli random variable , every member still has that same Bernoulli distribution, but only patterns
0000 and 1111 occur. Conversely, independently drawn Bernoulli random variables with success probabilities have a product joint probability distribution but unequal marginal distributions.IID sampling combines a common distribution with separate independent draws
. Original constructions of four Bernoulli random variables. Separate arrows in the first and third panels represent explicitly independent source draws; the middle panel copies one shared draw. Dependence and marginal laws are specified by the chosen models. Details.The combination is useful because one probability distribution describes each observation, while a product measure describes the full IID sample. In particular, an IID sample of finite-variance, real-valued observations has a predictable sample mean: its expected value stays at the population expected value, while its variance of a sample mean decreases as . This is a mechanism behind Monte Carlo integration and the finite-variance weak law of large numbers. Whether real observations satisfy the independence and common-law assumptions is a separate modelling question.
Independent random variables Created 2026-09-24 Updated 2026-10-25
Random variables are independent when, for every choice of Borel sets ,The requirement covers all these events, not only one selected combination of values. Equivalently, the generated sigma-algebras are independent sigma-algebras, or the joint probability distribution is the product measure of the marginal distributions. For an infinite family, the same condition must hold for every finite subfamily. For random elements, replace Borel sets by measurable sets in their specified target spaces.
For discrete random variables, checking every entry of the joint probability mass function is enough:Summing this identity over the desired sets proves the event formulation. For general real-valued random variables, checking point probabilities alone can say nothing: a pair with no point masses has even when . The all-set definition avoids that trap. See Gautam Iyer, Conditional Probability and Independence, definitions 12, 16 and 18 and proposition 19, with the continuous case treated in his [ref].
For a concrete comparison, let be independent fair bits: each has a Bernoulli distribution with parameter . Their joint probability mass function, with rows and columns , isAll four entries equal the product of the corresponding row and column totals, . For example, : learning one bit leaves the other one's probability distribution unchanged.
Now keep a fair but set . The same marginal distributions give the same product table, yet the actual joint probability mass function isHere differs from , and . Thus matching marginal distributions does not establish independence. Grinstead and Snell formulate the discrete product criterion in Introduction to Probability, section 4.1, definition 4.4, printed page 143.
Independence compares every joint probability with the product of the marginals
. Each row compares an actual joint probability mass function with its product of marginal distributions. Marginal totals are shown at the right and bottom of every table; each whole table sums to one. The last example has zero covariance but a visibly different joint table. Details.Independence is stronger than zero covariance. For square-integrable independent random variables, , so they are uncorrelated random variables. The converse fails: take with a discrete uniform distribution on and . Direct calculation givesNevertheless, is a nonconstant function determined by . The event is exactly the event , so , whereas . The positive and negative contributions to the covariance cancel without erasing the statistical dependence.
The usefulness of independence is that a large joint probability distribution can be assembled from small pieces. For fair independent bits, each of the patterns has probability . Products also simplify expected values, and vanishing cross covariances simplify the variance of a sum. Separate measurable functions of independent random variables remain independent: each output event is already an input event, so the defining product rule still applies. These are consequences of a model's independence assumption; whether the assumption describes actual observations is a question for statistical inference.
Joint probability distribution Created 2026-09-24 Updated 2026-11-05
The joint probability distribution of random variables is the probability distribution of the random vector . It records both the marginal distributions and their dependence.
Joint probability mass function Created 2026-10-14 Updated 2026-10-20
For discrete random variables , their joint probability mass function assigns a probability to each possible ordered pair. Its entries are nonnegative and sum to one. Marginalization gives the probability mass functions and . In a table with rows indexed by and columns by , these are the row and column totals. The joint probability distribution records how the coordinates occur together, while the marginal distributions describe each separately.
Law of total expectation Created 2026-09-24 Updated 2026-10-14
The law of total expectation makes averaging in stages reliable, provided the outer stage uses the actual probabilities of the groups. For an integrable random variable and a sub-sigma-algebra ,Replacing each outcome by its group's conditional mean preserves the overall expected value. In the definition of conditional expectation, take the event to obtain this identity.[ref]
For a complete finite example, choose a group with probability and with probability . Within group , is or with equal conditional probabilities; within group , it is or with equal conditional probabilities. Thus the joint probability distribution puts probabilities on . The conditional means are two and eight. Consequently,Direct averaging of the four values gives the same . Taking the unweighted average of the two group means instead gives five, which describes a different choice of group probabilities. This is why the outer weighting matters.
The formula is useful when conditioning on a first choice makes the remaining experiment simple. It can replace a large outcome enumeration by smaller calculations within groups. In a mixture distribution, it combines component means using mixture weights; in a random sum of independent claims, it separates the number of summands from their individual expected values under the stated independence assumptions. The same averaging step appears in the law of total variance.
Law of total variance Created 2026-09-24 Updated 2026-10-14
The law of total variance separates the spread of a population into spread inside groups and spread between their means. For a real square-integrable random variable , so that , and another random variable on the same probability space,The first term averages the conditional variance over the possible information ; the second measures how much the conditional mean changes with that information. There is no independence assumption, and need not be numerical or have finite variance. Conditioning is useful precisely when knowing tells us something about . See MIT tutorial on using conditional expectation and variance.
More generally, the available information can be a sub-sigma-algebra of the ambient probability space. With , the existing conditional expectation definition givesTaking recovers the displayed formula. The conditional mean and conditional variance are themselves random variables: before learning the group, we do not yet know which group average or group spread will apply. Their outer expectation and variance turn these varying quantities into numbers.
For a fully explicit mixture distribution, choose a group or with equal probabilities. In group , choose or with equal conditional probabilities; in group , choose or with equal conditional probabilities. Thus the complete joint probability distribution consists of , each with probability , and no other outcomes. The conditional means are and . Squaring the deviations and gives conditional variances and , respectively. The law of total expectation gives the overall mean .
The within-group contribution to variance isFor the between-group contribution, the conditional mean takes values and , each three units from the overall mean. Consequently,We can check this without any conditioning: the discrete random variable takes values with equal probabilities, soEquivalently, its second moment is , and subtracting the squared mean gives . These are population variances, with the stated probabilities as weights, rather than estimates using the corrected denominator of a sample variance.
The figure makes the two sources of spread visible. The outcomes in group cluster tightly around , while those in group sit farther apart around . Replacing every outcome by its conditional mean removes the internal spread but leaves the separation between groups. Conversely, subtracting each group's conditional mean aligns the two groups around zero. Averaging only the conditional variances would miss nine units of variance; retaining only the conditional means would miss five. Neither summary alone describes the whole population.
Two modifications clarify what each contribution measures. Shift group to outcomes and group to outcomes , keeping all four probabilities equal. Both conditional means are now , while the conditional variances remain . The between-group contribution vanishes, and total variance is just . Group membership still tells us how uncertain an outcome is, even though the best point prediction stays the same. Alternatively, let every outcome in group equal and every outcome in group equal . Now both conditional variances vanish, and all nine units of total variance come from group separation. Knowing the group predicts the outcome perfectly. These limiting cases distinguish differences in average outcome from differences in internal spread; the original mixture distribution contains both.
The same calculation answers a prediction question. If the group is hidden, the best constant prediction is the overall mean , with mean squared error , by variance as the minimum mean squared error of a constant. If the group is revealed, predict for and for . The errors become , and their mean squared error is . Knowing the group therefore improves the best achievable mean squared error by , exactly the between-group contribution. This is an interpretation relative to the information available: the remaining uncertainty could shrink further if additional information were revealed.
For any square-integrable measurable function used as a predictor, write . The prediction identity isThus predicting with the regression function gives the conditional expectation and minimizes mean squared error over every permitted predictor, including nonlinear ones. This minimizes average squared error, not the error for each individual outcome. See Berkeley Statistics 201A notes, sections 36–37.
Why do the two pieces add cleanly? Put . Its conditional expectation given is zero, so and for every square-integrable measurable function . In particular, and are uncorrelated random variables. Splitting and squaring therefore leaves no cross term after taking expectation. Geometrically, the conditional expectation is an orthogonal projection in the L2 space, and the law of total variance is its Pythagorean theorem for centered random variables.
In our example, the four products are , which average to zero. Yet and are not independent: observing identifies group , while observing identifies group . This is a concrete instance of heteroscedasticity, with different conditional variances despite zero conditional means of the errors. A group can predict uncertainty even when it cannot predict the error's sign.
The law of total variance is useful whenever aggregated data conceal distinct groups. Changing mixture weights changes both contributions, so the weighting must match the population being described. For example, giving group weight changes the overall mean to , the within-group variance contribution to , and the between-group contribution to , making the total . Group differences account for spread and prediction gains; assigning them a causal explanation requires a separate causal inference argument.







