Nested measurements 2026-10-18
Nested measurements are responses grouped inside larger units, with each measured object belonging to just one such unit. Three leaves within each pot give nested measurements; repeatedly reading one leaf gives another level of repetition. Either can yield clustered data. A common random effect can describe the shared influence of the containing experimental unit.
For the constructed pot example, label treatments by , pots within each group by , and leaves within each pot by . Consider the statistical model
Here is a leaf length, is its group expected value, is a pot random effect, and describes remaining variation among leaves and measurement error. Assume that all pot random effects are mutually independent, all remaining errors are mutually independent, and the two collections are independent of one another and of the randomization. These are explicit modelling assumptions, conditional on the assigned treatments; no normal distribution assumption is needed for the following variance calculation.
Two distinct leaf measurements in one pot share . Their covariance is , their individual variance is , and their intraclass correlation coefficient is
Measurements from different pots have zero covariance and are independent under the stated statistical model. Statistical independence therefore concerns the whole response structure, not just the fact that the measured leaves are different objects.
Nested Monte Carlo 2026-10-06
Nested Monte Carlo approximates an outer expected value whose integrand contains another expected value. A nonlinear transformation, such as a logarithm, of an inner sample average usually introduces finite-sample bias. Increasing both sample sizes requires suitable integrability controls to establish consistency; an unbiased estimator of the inner quantity does not make its logarithm unbiased.
Neutral evolution 2026-11-05
Neutral evolution is change in inherited variants whose differences do not affect biological fitness in the population and environment being modeled. Their allele frequencies can change through genetic drift even without a selective advantage. Neutrality concerns effects on reproductive success, rather than requiring that the underlying DNA sequences are chemically identical.
An idealized diploid population with individuals makes a useful prediction. If the neutral mutation rate per copy per generation is , the expected value of the number of new copies is . Each has fixation probability , so the neutral substitution rate is
The cancellation explains why a molecular clock can reflect a mutation rate rather than population size under these assumptions. Motoo Kimura's molecular argument motivated a major role for neutral evolution; it does not assert that every mutation is neutral.[ref]
Neutrino event classification model Created 2026-10-18 Updated 2026-10-20
How can the relative abundance of tracks and showers distinguish hypotheses? Consider an original teaching model, with chosen inputs throughout. Condition on a sample of selected events, each assigned exactly one of two labels: track or shower. Multitrack events and unclassified events lie outside this model. A shower label need not identify an electron; background can imitate it. Conversely, a true electron interaction need not receive a shower label.
Let be the background fraction among selected events. Among the selected signal events, let be the fraction whose associated charged lepton is an electron, with the remainder associated with a muon. These are fractions after event selection, rather than fractions of the incident neutrino particle flux. Define the conditional probabilities
Here and describe classification within the selected sample. They are not measured historical detection efficiencies. The law of total probability gives the overall shower probability
This formula is the bridge between an interaction hypothesis and a visible label. It keeps beam contamination, background and mistaken classification conceptually distinct: genuine electron neutrino interactions belong in , while non-signal events belong in .
Assume independent random variables for the event labels, all with this same . If counts shower labels, every specified pattern with showers has probability . Counting those patterns with a binomial coefficient yields the binomial distribution
The track count is , so its expected value is . At fixed , the two counts cannot fluctuate independently. The variance above measures sampling fluctuations under the stipulated model, not uncertainty in , , or .
Choose , , , and . Compare a signal with only muon-associated interactions () against one with equal selected electron- and muon-associated interactions (). These give and , respectively. Their expected shower counts are and ; their expected track counts are and . A background-only model with the specified gives showers and tracks on average. These are expectations, so they need not be integers.
Figure 1.
Chosen binomial distribution model: expected track and shower counts, with the shower-count distributions
. Original calculations for forty selected events and the stipulated classification and background probabilities. No historical counts, fitted efficiencies or reconstructed significance are plotted. Details.
For a hypothetical observation , the likelihood ratio of the two signal models is
The binomial coefficient cancels because the same hypothetical sample is used in both likelihoods. This ratio is not the probability that either hypothesis is true. A separate original check gives , and for the muon-associated, equal-mixture and specified background-only models, respectively.
Why are the controls essential? If the background-only model may choose any , taking can fit the observed shower fraction. Counts alone then fail to distinguish it from a signal model. Independent background measurements and calibrated particle identification constrain that freedom. Changing the decay path additionally tests where the candidate-producing particles originate. The power of the experiment comes from combining apparatus interventions with event classification; the small binomial distribution model isolates only the latter part of that reasoning.
Let be the expected value of the number of radioactive product atomic nuclei, initially zero, produced at constant rate . Let their nuclear decay constant be . Assume one product species, negligible target depletion and negligible capture by the product. During irradiation, production adds while radioactive decay removes in expectation. Multiplying the resulting ordinary differential equation by gives
The expected radioactive activity tends to the production rate . This saturation is a balance of continuing production and radioactive decay, not exhaustion of target atomic nuclei.
If irradiation ends at , let denote elapsed time afterward. Setting the production term to zero gives
For detection efficiency , constant background count rate , delay and counting-window duration , integrating the expected count rate gives
This assumes at most one recorded pulse per product transformation and negligible counter losses. Detector response, branching fractions and background must be calibrated independently. Subtracting an estimated background does not remove its counting uncertainty. Several products give a sum of these terms with distinct nuclear decay constants; a single exponential decay fit can then mislead.
For a wholly stipulated example, choose , half-life and . Then , and . Choose , and . The result is
The background contributes four expected counts. Multiplying the initial net count rate in that window by its duration would give net counts, overestimating the integrated because the product decays appreciably during counting. All these values and the following curves are original examples, not measured historical data or parameters assigned to a particular silver isotope.
Figure 1.
Chosen moderation energy curves and activation buildup followed by decay
. Left: geometric-mean neutron energy in the stationary-target elastic collision model for target-to-projectile mass ratios one and twelve. Right: expected radioactive activities for chosen production rates and a two-minute half-life; irradiation ends after four minutes. The figure separates energy loss per collision from the production-and-decay balance. Details.
Neyman Type A distribution Created 2026-10-31 Updated 2026-11-05
Let have a Poisson distribution with parameter , and let be independent random variables with a Poisson distribution of common parameter , independent also of . Then has a compound Poisson distribution, with . The law of total expectation yields the displayed probability generating function and expected value . The law of total variance gives variance , exceeding the mean when both parameters are positive. This extra variation comes from the random number of groups. Jerzy Neyman is the statistician for whom the distribution is named.
Nonexplosion criterion for a pure birth process Created 2026-09-29 Updated 2026-11-05
A pure birth process is nonexplosive exactly when
Its explosion time is the sum of independent exponential holding times. If the displayed series converges, that sum has finite expectation. If it diverges, the Laplace transform of the sum is
forcing the sum to be infinite almost surely.
A nonnegative random variable is a random variable satisfying
Thus is an almost sure event. It is stronger than having a nonnegative mean, but it can allow negative values on a zero-probability event. A nonnegative mean alone permits large negative and positive outcomes to cancel.
For an original discrete example, let with probability and with probability . Then , even though the variable is usually zero. The discrete calculation is the sum of value times probability; the primary text defines that finite-expectation operation in its expected-value section.[ref]
A particularly useful consequence is Markov's inequality. For , the pointwise bound holds almost surely. Taking expected values gives
In the example, . The bound need not be exact; it uses only nonnegativity and the mean. With an infinite nonnegative expectation it is uninformative rather than a finite tail estimate.
The same argument proves that a nonnegative random variable with zero expectation is zero almost surely: for every positive integer , , and is the countable union of these events. Without nonnegativity this conclusion fails; equal probabilities at and give mean zero without a zero variable.
Nonnegativity also makes the tail integral formula for expectation natural:
It follows by expressing as the integral of the indicators and interchanging nonnegative integrals. The resulting extended expectation can be infinite. This representation connects an average amount or waiting time with the areas of its tail probabilities, rather than requiring a probability density function.
Nonnegative superharmonic function for a Markov chain Created 2026-10-14 Updated 2026-11-05
For a transition matrix , a finite-valued function on its state space is nonnegative superharmonic when . Thus and its expected value cannot increase after one step. Replacing transitions on a target set by identity rows preserves . Iterating this inequality gives , a useful bound for hitting probabilities without a separate optional-stopping theorem.
Nonuniqueness of bounded uncertainty laws with a fixed covariance means that specifying finite bounds, expected values and a covariance matrix can still leave several different joint probability distributions. They agree on the variance of every linear combination of the errors, but can disagree on threshold probabilities and nonlinear outputs. A particular construction in bounded errors with prescribed correlation therefore requires a distributional assumption beyond its second moments.
Here is an original example with a common allowed box . In model A, and are independent fair signs: the four points each have probability . In model B, the four points each have probability . Both are bounded, have zero expected value, and satisfy
For model B, each squared coordinate is two at two of the four points and zero otherwise, proving its unit variance directly. Its zero covariance does not make the coordinates independent random variables: when is nonzero, must vanish. The common box is an allowed deterministic bound; its boundary need not be attained by every model.
The linear output has expected value zero and variance two under either model. Yet under model A it takes with probabilities , while model B gives only with equal probabilities. Consequently,
Even a linear output's threshold risk is not fixed by its variance. For the nonlinear output , model A gives always and model B gives always. Thus the complete output law, and even a nonlinear output's expected value, can differ.
The law of propagation of uncertainty computes first-order output variance from sensitivity coefficients and input covariance; it does not identify all probabilities. NIST correspondingly requires distributional justification to assign a confidence level to an uncertainty interval.[ref] The finite counterexample above is an original exact calculation. For guaranteed linear limits, robust linear constraints for bounded covariance models must use the chosen support of a probability distribution, rather than treating a covariance matrix as a support description.
No-regret learning 2026-11-05
In online learning, a learner chooses before observing the round's loss function . Its external cumulative regret against a fixed action set is
No-regret learning seeks a guarantee , often in expectation for a randomized algorithm, under stated feedback and adversary assumptions. The average excess loss then tends to zero. The comparator is the best single action in hindsight; it does not choose the best action separately on every round.
For example, against two prediction rules, an exponential-weights learner starts with equal weights and multiplies rule 's weight by after seeing all rule losses. Sampling in proportion to the weights gradually shifts probability toward better rules. For losses in , an appropriate learning rate gives an order- expected bound for this fixed two-rule setting. This compares performance even without independent observations from one fixed distribution; it does not guarantee small absolute loss when every rule predicts badly.
For a compound Poisson distribution of count parameter and severity moments , the expected value is and the variance is . As with the severity law fixed and , the standardized aggregate converges in distribution to the standard normal distribution. Indeed, the logarithm of its characteristic function is ; the second-order expansion of makes this tend to . The approximation loses the zero atom and assigns positive probability to negative losses.
A localized orbital with two electron spin states has energies , and . Its zero-temperature equilibrium occupation minimizes , where is the chemical potential. For repulsion , the occupation is successively as crosses and . For attraction , the singly occupied state is never the minimum: the occupation jumps from to at . Exactly at a crossing the ground-state occupation is not unique.
At positive temperature, its grand canonical partition function is , where . The expected value of the occupation follows by differentiating: . The factor two counts the two singly occupied microstates, not an additional pair state.
Occupation time of a continuous-time Markov chain Created 2026-10-05 Updated 2026-11-05
The occupation time records the duration spent in a state of a continuous-time Markov chain. Conditional on , its expected value is , where is the transition probability.
Offspring distribution of a branching process Created 2026-10-07 Updated 2026-10-20
The offspring probability distribution of a Galton-Watson process is the law of one individual's number of children: for , with and . Its probability generating function and, when finite, its expected value are
Use when evaluating the probability generating function at zero: and .
For and , , , and the offspring variance is : and . The generation probability mass functions pictured under Galton-Watson process come from repeatedly composing this probability generating function. They describe the whole generation, whereas describes one individual's reproduction. [ref]
The whole offspring distribution matters for extinction. Another law, and , has the same offspring mean but branching extinction probability , since has roots of a polynomial and . Consequently the two laws have the same expected generation size in a Galton-Watson process at each generation but different survival chances. A binomial branching process and a Poisson branching process likewise specify different offspring distributions; a common mean does not make their probability generating functions identical.
Optimal one-to-one binary code Created 2026-09-24 Updated 2026-11-05
Suppose one source message is transmitted with its endpoint supplied externally, and allow the empty word. List source symbols in decreasing order of probability, , and assign distinct binary words in increasing length order. Then the th word has length , minimizing expected codeword length among one-to-one source codes.[ref]
There are binary words of length at most . This proves the length formula. If a more probable symbol had a longer word than a less probable one, exchanging the two would decrease or preserve the expected value of the length, proving optimality.
For probabilities , use the empty word, 0 and 1. The average is bit, compared with bits for an optimal binary prefix code. The difference uses the supplied endpoint: the three-word assignment cannot decode an arbitrary concatenated message stream without framing information.
Ornstein-Uhlenbeck process Created 2026-09-24 Updated 2026-10-14
An Ornstein-Uhlenbeck process combines mean reversion with continuing random fluctuations. In the scalar model, its stochastic differential equation is
where is a standard Brownian motion. The drift points towards : it is negative above and positive below it. The coefficient sets the speed of mean reversion, while sets the strength of the random forcing. We consider a fixed or normal initial value independent of future Brownian increments, giving a Gaussian process and a Markov process.
For a stipulated example, use , , and the fixed initial value , in arbitrary consistent state and time units. Then the expected value relaxes as and the variance grows as . At time one they are about and ; the limiting variance is one. The sample paths keep fluctuating even after the expected value is close to two. The Ornstein-Uhlenbeck transition distribution describes this evolving uncertainty; Ornstein-Uhlenbeck stationary initialization instead starts with that limiting normal distribution already in place.
A physical motivation is the velocity of a particle undergoing Brownian motion: linear drag removes a persistent initial velocity, while random forcing continually renews it. The original calculation gives a normal distribution for the velocity after subtracting its exponentially decaying initial contribution, with decay rate equal to the friction coefficient divided by the particle's mass.[ref] A position coordinate in an overdamped harmonic optical trap gives another interpretation of the same scalar equation, with for spring constant and drag coefficient . Its physical assumptions and connection to measurements are developed in thermal calibration of an optical trap.
Set and draw independently of future Brownian increments. The Ornstein-Uhlenbeck process is then a strictly stationary process, with
Every time has the same normal distribution, and the covariance function depends only on the time lag. For a Gaussian process these properties also make all its finite-dimensional distributions invariant under a common time shift. The stationary distribution balances the continual random forcing against the contracting drift.[ref]
With a fixed , the covariance function instead is
In particular, it is zero when , since the initial value has no uncertainty. The second term records the fixed start; it is the general scaling of the zero-start Ornstein-Uhlenbeck covariance. The pure exponential covariance function displayed above assumes stationary initialization. For a fixed start, that function emerges as the late-time limit at fixed lag, while the one-time probability distributions approach by convergence in distribution.
For the stipulated , , , stationary initialization has variance one from the outset. Its autocorrelation is , so the correlation time is one: a lag of one reduces the autocorrelation to . Its raw second moment includes the squared expected value; it must not be confused with the covariance.
Figure 1.
Simulated stationary Ornstein-Uhlenbeck samples and analytic covariance compared with a fixed start
. Details.
The upper panel shows three simulated sequences with independent stationary initial values and exact transitions at spacing . Joining their points only guides the eye; it does not simulate a continuous sample path between those points. The lower panel shows analytic covariance functions: the stationary curve and, for comparison, for fixed initialization at two different ages . These are simulated samples and model curves, not measured trajectories or empirical covariance estimates.
Ornstein-Uhlenbeck transition distribution Created 2026-10-14 Updated 2026-10-20
For a fixed initial value , the Ornstein-Uhlenbeck process has the normal distribution
The two parameters of are the expected value and variance, not the standard deviation. At the variance is zero and the value is fixed. More generally, its transition kernel over any interval of length has conditional expected value and conditional variance when the current value is . The coefficients depend on elapsed time; the initial probability distribution determines whether the resulting stochastic process is stationary.[ref]
In the stipulated example , , , , the expected value at time two is and the variance is . The initial distance from two has fallen by a factor , but the standard deviation has grown to about . Approaching the reference level in expected value is compatible with growing uncertainty from a perfectly known initial value.
Figure 1.
Ornstein-Uhlenbeck transition densities, mean relaxation and variance growth from a fixed initial value
. Details.
The solid probability density functions use times , and ; the dashed curve is the limiting normal distribution with expected value two and variance one. The curves are exact model predictions. There is no ordinary density for the fixed value at time zero.
A short derivation uses the integrating factor . The Itô product rule gives , hence
The stochastic integral has zero expected value. The Itô isometry gives its variance as . Its deterministic integrand makes it a Gaussian random variable, yielding the displayed normal distribution. Shifting the integration interval gives the same transition kernel from any later time.
Let , where the increments are nonconstant independent and identically distributed random variables with zero expected value and . Then the random walk oscillates between arbitrarily large positive and negative levels almost surely. For , the stopped martingale is nonnegative. The martingale convergence theorem implies that converges finitely on . However, some has , and the Borel-Cantelli lemmas imply infinitely often. Hence finite convergence is impossible. Apply this to every positive integer and to .
The bounded increments also imply infinitely many visits to : a path cannot cross from above to below without entering this interval. Identical distribution cannot simply be dropped. For independent symmetric signs , the increments satisfy for every , even though they are nonzero, independent, symmetric and uniformly bounded.