Regression diagnostics Created 2026-10-06 Updated 2026-10-07
Regression diagnostics check assumptions and influential observations in a fitted regression function. Residual-versus-fitted plots can reveal omitted mean structure or nonconstant variance; a quantile-quantile plot checks a specified error distribution. Regression leverage measures unusual predictor configurations, and Cook's distance combines leverage and residual size to measure coefficient sensitivity. Independence may require checking collection order and the study design in addition to residual plots.
Regression outlier 2026-10-07
A regression outlier has a response unusually far from its fitted conditional mean. A standardized regression residual adjusts for regression leverage; an externally studentized residual also estimates noise variance with the observation deleted. Selecting the largest residual among many observations changes its reference distribution. An outlier need not be an influential observation, and unusual valid data should not be discarded solely for being unusual.
The lowest even quantum harmonic oscillator quantum state has density , and the lowest odd quantum state has density . Since , integration by parts gives whenever the boundary terms vanish. For , this proves the displayed identity. Odd moments vanish in both quantum states by parity; even moments quantify the larger spatial spread in the odd quantum state. In particular the relative-coordinate variance is three times as large, and the odd density vanishes at particle coincidence.
A spatial image after a chosen dark interval is a different readout from continuously recording arrivals at a fixed probe. Here is an original idealised fluorescence imaging model: release a dilute cloud, let it move freely, then apply a short uniform probe pulse. Neglect collisions, residual forces, attenuation and motion during the pulse. Use each image's cloud centre to remove mean drift. Uniform gravity shifts that centre without changing the centred variance.
For each atom let along a horizontal imaging axis. Expanding the square about the expected values gives exactly
No Gaussian distribution is needed for this variance identity. A jointly Gaussian distribution of initial positions and velocities does make the later density Gaussian. For a separable three-dimensional cloud viewed along , integration along the viewing direction gives the column density
Here is atom number. Integrating this image along leaves a one-dimensional Gaussian distribution with standard deviation . This is a projected density measurement, not a three-dimensional radius or a direct velocity histogram. Under the uniform, optically thin probe assumptions, expected fluorescence is proportional to this column density. A known, independent point spread function with finite variance adds its own variance to the measured width; probe duration and intensity gradients need separate treatment.
For a Maxwell-Boltzmann distribution, , where is atomic mass and the Boltzmann constant. For a nonthermal distribution this defines a directional second-moment temperature, which need not describe every feature of the distribution. A covariance between position and velocity can initially narrow the cloud even though is positive. The physical covariance matrix requires .
Choose , and , giving correlation coefficient . With in milliseconds, the numerical variance in square millimetres is . Its minimum occurs at , with standard deviation . These chosen values satisfy the covariance matrix constraint; early contraction is compatible with free motion.
Generate thirteen synthetic variance observations at equally spaced times from to , adding independent Gaussian noise of standard deviation . Linear least squares fits all three coefficients in . The example yields , and . With the chosen approximate sodium mass , the true is and the fitted value is . This is a fit to generated width data, not historical observations.
Figure 1.
Cloud expansion with an initial position–velocity covariance
. Original synthetic variance observations and ideal column-density marginals. All parameters and noise are chosen here. The three-dimensional Gaussian is integrated along the viewing axis and then along the image's other axis. The profiles omit imaging blur. Details.
If the same data are fitted to , forcing , the inferred falls to . The omitted term is partly absorbed into both fitted coefficients. In noiseless linear least squares with a free intercept, its precise effect on the quadratic coefficient is
where the subscript denotes equal-weight moments over the chosen observation times, using one consistent unit system. Since the ratio is positive for distinct nonnegative times, negative biases this estimate downwards. An incorrect release-time origin can also generate a linear term, so fitting it does not by itself identify a physical initial covariance. Timing calibration, spatial resolution, residual magnetic fields and probe-induced recoil energy remain separate controls. Neither a cold-looking image nor a single long expansion time identifies all three coefficients.
Imagine an instrument measuring the same fixed quantity twice on each unit. Across units the persistent signal is a latent variable; the two measurement errors are fresh, mutually independent random variables, also independent of . Assume they have mean zero and common finite variance , while has mean and variance . Then
Thus the Pearson correlation coefficient is when . Both measurements retain the same marginal mean and variance. Repetition does not make the entire population collapse toward ; it changes what we expect after selecting on .
For , further assuming normal distributions for and both measurement errors gives the conditional expectation
Since , this predicted reading is closer to than is. Independence and zero mean errors alone do not justify this linear conditional expectation: without the normal distribution assumption the same expression is the linear least-squares projection, and the actual conditional expectation can be nonlinear. Correlated errors, a changing signal, or different error variances require their own model; a noisy reading by itself supplies no universal shrinkage factor.
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.
Residual estimate of Gaussian noise variance Created 2026-10-06 Updated 2026-10-14
For a correctly specified full-rank fixed-design Gaussian linear regression with , dividing the residual sum of squares by the residual degrees of freedom gives an unbiased estimator of the noise variance. The projection removes the whole deterministic mean, so the numerator's expectation is . A misspecified subset model need not have this property.
For independent errors of common unknown variance in , the ordinary least squares estimate is . Fitting one parameter leaves residual degrees of freedom. Therefore estimates the common error variance, and estimates the slope variance. For errors with a Gaussian distribution, the slope's standardized deviation follows a Student's t-distribution with degrees of freedom. A common calibration bias does not appear as independent residual scatter.
Residual plot 2026-10-25
A residual plot displays regression residuals against fitted responses, predictor values or observation order. Curvature can suggest an incorrect regression function; changing spread can suggest unequal error variances; ordered runs can suggest dependence. A plot is a diagnostic, not a proof of independence. Dependence confined to higher moments, as for adjacent products of independent Gaussian variables, may call for lagged squared regression residuals rather than a basic scatter plot. Fitting also induces dependence among regression residuals even under independent original errors.
Connect one physical resistor across an ideal lossless capacitor , with no applied source and an ideal readout that draws no electric current. Represent the resistor by its noisy Thévenin equivalent. The resulting RC low-pass frequency response gives the stationary capacitor voltage power spectral density
Its mean square follows by the effective noise bandwidth calculation:
This is also the equipartition theorem: the mean capacitor energy is . Raising makes the low-frequency spectrum taller and its width narrower in exactly compensating proportions. It changes the equilibration time , not the final variance.
The integral to infinity belongs to the ideal classical model. For a physical electrical circuit, assume thermal equilibrium, linear components with negligible extra dissipation, and a corner far below the frequencies where parasitic effects, frequency-dependent electrical resistance, or invalidate the model; the omitted high-frequency tail must be negligible. A finite-bandwidth instrument measures only part of this variance. Its input capacitance contributes to the total , and its finite input electrical resistance introduces both loading and its own thermal electrical noise.
For and , the predicted equilibrium variance is and the root mean square voltage is . At , and . At , and ; the equilibrium root mean square voltage is identical.
Figure 1.
Changing electrical resistance changes noise timescales but preserves
. Original calculated comparison at and . Left: the physical parallel resistor and capacitor and their noisy Thévenin equivalent. Middle: equilibrium one-sided voltage spectra for and have the same full integral. Right: mean square voltage grows toward the same equilibrium value from an exactly discharged initial capacitor. Curves describe ensemble expected values, not measured or simulated voltage traces. Details.
To obtain the growth curve, prepare exactly and connect the resistor at while maintaining its temperature. The RC low-pass filter's causal impulse response is for . Classical ideal white noise with two-sided power spectral density gives
The factor here is the two-sided time-domain noise intensity; the equilibrium spectral integral above used the one-sided . They give the same long-time limit. The variance approaches equilibrium with time constant , although a deterministic initial voltage decays with time constant . If the capacitor already starts in thermal equilibrium, its initial variance supplies the missing exponentially decaying term and the total variance stays constant.
Retained compound Poisson aggregate Created 2026-10-07 Updated 2026-10-14
Applying a measurable per-claim retention to independent claim sizes preserves the compound Poisson distribution form. The transformed severity is the pushforward measure of the original severity law. With count parameter , the retained aggregate has expected value and variance . Zero retained marks may be removed by Poisson thinning.
If has exponential distribution with expected value , the tail integral formula for moments gives and , where . At matching retained expected value, the excess variance under quota share reinsurance is .
Free bending has two zero-energy filament modes, so it does not define an unrestricted normalizable thermal height distribution. Fix the mean displacement and linear tilt, or project out that affine kernel. On the positive complement, the equipartition theorem gives independent Gaussian mode variances for normalized modes. The resulting covariance is the bending operator pseudoinverse multiplied by . It depends on how the rigid motion is fixed.
Robertson uncertainty principle Created 2026-09-24 Updated 2026-10-20
The Robertson uncertainty principle bounds the product of the standard deviations of two observables in the same quantum state. For a normalized pure state and self-adjoint operators , write their expectation values and variances as
and similarly for , where is the identity operator. The quantum uncertainties then obey
Here is the commutator, and every expectation value is taken in the same . These standard deviations describe the outcome spreads when and are measured on separate ensembles prepared in that same quantum state. They are not instrument errors or the change caused by a preceding measurement in quantum mechanics. The definition and bound are developed in Barton Zwiebach, Uncertainty Principle and Compatible Observables, 2013, §§1–2.
For unbounded self-adjoint operators, the operator domains matter. Assume , so that both second moments are finite; here means the second moment of the measured probability distribution, equal to , even if is undefined. To use the displayed operator commutator, also assume . Without these product-domain assumptions, the always meaningful version on uses as its right-hand side. These qualifications prevent a formal commutator identity from being applied to an inadmissible quantum state.
The brief proof is Cauchy-Schwarz inequality applied to and :
The final equality uses self-adjointness and the product-domain assumptions. Thus a geometric statement about inner products becomes a constraint on experimental spreads. For nonzero , equality requires to be proportional with a purely imaginary proportionality factor; the equality case of the Heisenberg uncertainty relation turns this condition into a Gaussian wave packet.
The bound is useful because computing a single commutator and its expectation value can constrain two entire outcome distributions. Its right-hand side depends on the quantum state: the spin uncertainty state dependence example gives both a positive saturated bound and a zero bound for the same noncommuting observables. Robertson's paper, titled "The Uncertainty Principle", appeared on 1 July 1929 in Physical Review, volume 34, starting at page 163. [ref].
Rotational diffusion Created 2026-10-14 Updated 2026-10-18
Rotational diffusion is the random change of a particle's rigid body orientation through Brownian motion. A suspended ellipsoid can turn while its centre hardly moves; translational diffusion instead spreads its position. Random molecular collisions supply fluctuating torques as well as forces. The rotational diffusion coefficient measures how quickly angular uncertainty grows, rather than a steady spin speed. Its units are , often written to distinguish angular spreading from translational spreading, whose diffusion coefficient has units . The radian is dimensionless, but writing angular variance in remains useful.
First identify what the image can reveal. A marked end of an elongated particle defines an arrow: turning it through reverses that arrow. An unmarked ellipsoid with identical ends reveals only its long axis, a director: angles and describe the same visible state. An unmarked perfect sphere has no visible rigid body orientation at all. Tracking its centre cannot measure its rotational diffusion; a surface mark or another identifiable internal direction is needed.
This distinction makes rotational diffusion useful: it measures how long a particle remembers its pointing direction. For an elongated particle, turning also changes which laboratory direction is easiest for translational diffusion. Randomization of rigid body orientation can therefore erase directional preferences in the observed displacement, even though the particle's shape has not changed.
Rubin's rules 2026-10-06
For completed-data estimates with variances , pool using , , , and . The total variance includes within-imputation uncertainty, between-imputation uncertainty and finite- simulation uncertainty.
For independent and identically distributed Bernoulli random variables with success probability , the sum has a binomial distribution. Every length- pattern with successes has probability , and the binomial coefficient counts its possible success positions. Therefore
The usual endpoint convention includes and as deterministic cases. For and , the five probability masses are divided by . The sample mean takes values , with variance and standard deviation . At , its variance is and its standard deviation is .
Figure 1.
Exact sample-mean distributions distinguish fresh IID draws from a copied common coin
. Original exact binomial distribution probabilities for sample sizes . Blue marks give the mass at each possible mean under independent fair draws. Orange marks give the masses for the same fair draw copied times: at zero and at one for every . These are discrete probability masses, not density values or measured histograms. Details.
For the normal sample sum with known variance, assume independent and identically distributed with fixed known variance . The joint probability density factors as
The Fisher-Neyman factorization theorem proves that the sum, and hence the sample mean, is a sufficient statistic for . Its remaining deviations have a joint Gaussian law independent of and are independent of . If both and are unknown, the sample mean alone loses information about variance; the pair is sufficient for the full statistical parameter.
A discrete counterexample shows why a sample mean is not automatically sufficient for arbitrary statistical models. Let be independent and identically distributed on with
Each observation has mean one. The arrangements all give sample mean one, yet
This conditional probability is at and at . The conditional distribution therefore still depends on the unknown statistical parameter: this sample mean is not a sufficient statistic. The useful reduction depends on the family of full-data laws, even when its mean stays fixed.
Fix real population values . Define the finite population mean and two normalizations of the finite population variance by
The values are fixed; only the selected subset is random. For its sample mean , the exact design expectation and variance are
The sample mean is an unbiased estimator of the finite population mean. At , every unit is observed and exactly, so the variance is zero. The case is deterministic and is handled directly, since is undefined then.[ref]
The finite population correction depends on the baseline. With the normalization it is multiplying . With the normalization it is multiplying , the exact variance for independent uniform sampling with replacement. The standard error uses the square root of the relevant variance factor. Mixing the two normalizations gives a wrong answer even at , when replacement cannot matter. For the six-value example, , , and , reproducing without replacement and with replacement.
A short proof exposes the statistical dependence. Let be the value at position in uniform sequential sampling without replacement, so each has expected value and variance . Write . Every ordered pair of distinct labels is equally likely, and , hence for ,
Linearity of expectation proves unbiasedness without requiring independence. The variance of a sum includes all ordered covariance terms, giving
For the original population, each pair of distinct draw positions has covariance . Drawing a high value leaves a lower mean among the remaining values, balancing subsequent draws. Equal marginal probability distributions therefore coexist with negative covariance.
When , the sample variance is an unbiased estimator of . To check this independently, use : its expected value is . Thus unbiasedly estimates the variance of the sample mean; its square root estimates the standard error, but need not be unbiased.[ref]
Figure 1.
Exact mean variance and expected distinct-unit coverage as sample size grows in the six-value population
. Details.
The diagram compares variance with the expected fraction of distinct population labels observed. Without replacement this fraction is exactly ; with independent uniform sampling with replacement, a label is missed with probability , so linearity of expectation gives expected fraction . At six draws, replacement covers only about of labels on average and retains sample mean variance ; sampling all six distinct labels covers the population completely and removes selection uncertainty. This population coverage is distinct from confidence interval coverage probability.
The correction matters when the sampling fraction is appreciable. It calibrates uncertainty about this fixed population under the specified selection mechanism. It does not correct unequal selection weights, missing observations or measurement errors; observing every label also does not eliminate uncertainty about a larger unobserved population. Moreover, an exact variance alone does not guarantee the coverage probability of a proposed confidence interval: a small discrete sampling distribution can make a normal approximation inaccurate.