Rao-Blackwellization of a multinomial probability product Created 2026-10-07 Updated 2026-11-05
For independent labels with three type probabilities, conditioning the indicator of an ordered initial triple on the multinomial distribution type counts gives the displayed unbiased estimator. The Rao-Blackwell theorem reduces its variance strictly when all three probabilities are positive. At a boundary parameter with a missing type, both variances vanish.
Ratiometric measurement 2026-11-05
A ratiometric measurement infers a quantity from a ratio of two measured signals chosen to share an unwanted multiplicative variation. The useful question is which inputs actually share that variation: a reference resistor error or a change in the sensor itself generally survives the cancellation.
In a shared-excitation resistance ratio measurement, a current source passes the same electric current through a sensor of electrical resistance and a reference resistor . Their electric potential differences are and . An ideal normalized analog-to-digital converter reading is thereforeThe current source need not have a perfectly constant output for this cancellation, provided both measurements sample the same electric current, the denominator is nonzero, and the converter stays within its operating ranges. This is a standard arrangement for a resistance thermometer.[ref]
A Basic Guide to RTD Measurements by Joseph Wu. §2.1.3, pp. 10–11, shared-current resistance measurement
For an original ideal example, take , and . Then , and . Increasing by gives and : the ratio remains . If the converter instead uses an independent fixed reference and the calculation assumes the original , the inferred electrical resistance becomes .
Shared excitation cancels in a resistance ratio; a fixed independent reference retains the excitation error. Original ideal calculation, not measured data.
Details. The reference-resistor error in ratiometric resistance measurement remains even with perfect shared excitation. If the actual reference resistor is but the calculation uses its nominal value, thenThus a reference error makes the nominal estimate of a true sensor about . Reference accuracy and its variation with temperature still matter.[ref]
Nor does the ratio remove sensor self-heating in a ratiometric resistance measurement. Joule heating dissipates , which is in the example. A temperature rise changes the actual electrical resistance of a resistance thermometer; the ratio then measures that changed resistance. Reducing the electric current or comparing several currents can reveal this physical effect.[ref]
The law of propagation of uncertainty makes the role of covariance explicit. For small perturbations of nonzero mean signals, the first-order measurement uncertainty of obeysThe contribution from a shared excitation fluctuation cancels through the covariance term. Treating the two signals as independent random variables would discard that cancellation. Other errors need their own inputs in the complete model.[ref]
For time-varying excitation, ratiometric cancellation with matched signal and reference filters requires matching dynamics as well as shared wiring. With constant resistances and identical linear time-invariant systems of impulse response , the filtered signals are and , so their ratio is still wherever defined. Here denotes convolution. Different filters or different sampling times can leave an excitation-dependent error.[ref]
RTD Ratiometric Measurements and Filtering Using the ADS1148 and ADS1248 Family of Devices by Luis Chioye. First-page abstract and low-pass filter design discussion, matching input and reference filters
A simple proposed bench test first replaces the sensor by a stable calibrated resistor, sweeps the electric current within the instrument limits, and records both electric potential differences and their ratio. That separates electrical cancellation from changing sensor temperature. Repeating with a resistance thermometer in a stable bath then tests Joule heating; changing the reference resistance or one filter tests the predicted failure modes. These are proposed checks of the model, rather than reported experimental results.
Regression residual Created 2026-09-24 Updated 2026-11-05
A Regression residual is the observed response minus its fitted value. Residual plots diagnose failures of assumptions such as constant variance, linear mean structure, and independent errors.
Repeated-measurement latent signal model 2026-10-14
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 . ThenThus 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 expectationSince , 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]
Experimental unit (NC3Rs Experimental Design Assistant). Experimental unit, “Why is the experimental unit important?” and “Know your experimental unit”, revised 31 October 2023
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.
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]
Pseudoreplication and the Design of Ecological Field Experiments by Stuart H. Hurlbert. Pseudoreplication and the Design of Ecological Field Experiments, pp. 194–195, combined or hybrid allocation approach and the Hurlbert–Mulla experiment
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]
Impacts of mosquitofish (Gambusia affinis) predation on plankton communities by Stuart H. Hurlbert and Mir Subhan Mulla. Impacts of mosquitofish (Gambusia affinis) predation on plankton communities, abstract, Hydrobiologia 83, pp. 125–151, August 1981
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. Running minimum of an independent sequence is Markov Created 2026-09-24 Updated 2026-09-24
For independent random variables with a common law, satisfies . The next-state law therefore depends on the past only through .
Sample size for comparing two proportions Created 2026-10-07 Updated 2026-11-05
For equal independent binomial samples, the displayed normal-approximation size per group targets a two-sided significance level and power at specified alternative rates, with . Its first variance term sets the null critical value and its second the alternative distribution. A numerical sample size is not determined by an effect ratio alone; power, sidedness, allocation and baseline rates must also be specified. Rare-event discreteness and clustered designs can materially change the achieved power.
Draw two different labels uniformly from using sampling without replacement. Each position has a uniform distribution on a finite set, but . Two independent random variables with those same marginal distributions would match with probability . Equal marginal laws therefore do not make this sample an IID sample. Mark some of those four labels as successes. Their count in the two draws has a hypergeometric distribution; independent Bernoulli trials with a common success probability give a binomial distribution.
Second moment of a mixture likelihood ratio Created 2026-10-06 Updated 2026-10-07
If and the nonnegative mixture weights sum to one, the likelihood ratio of the mixture model is . Expanding proves the displayed chi-squared divergence identity. For independent random variables sampled from a fixed component, one-observation cross moments multiply across observations. The component is drawn once for the whole sample; redrawing it per observation gives a different mixture model.
Second-order thermal mismatch uncertainty 2026-11-05
Second-order thermal mismatch uncertainty retains product terms that a linear uncertainty propagation can miss when calculating differential thermal-expansion uncertainty. For known nominal length , expansion-coefficient difference and common temperature offset , the correction is . Both first derivatives vanish at , but the product of uncertain inputs need not vanish.
An original exact calculation assumes independent random variables with means and variances . Independence givesTo derive the variance, use and subtract . No normal-distribution assumption is required for this independent-input result. The last term is absent from first-order propagation.
For stipulated , , and , the exact standard deviation is 10 nm. A zero central correction therefore does not establish zero uncertainty. The GUM specifically warns that significant nonlinearity requires higher-order terms.[ref]
Guide to the expression of uncertainty in measurement by JCGM. §5.1.2, note on nonlinear functions and higher-order terms
Correlated inputs introduce a further distinction between the central product and the output mean. If has a multivariate normal distribution with covariance , expansion about its means and the Gaussian fourth-moment identity giveThe covariance term in the mean must not be silently discarded. With the same zero means and standard deviations as above, but correlation coefficient , the mean correction is 5 nm and its standard deviation about 11.18 nm. These are probability-model calculations, not measured block specifications.
The formulas assume known and a justified joint input model. A thermal-product input-distribution check must address shared temperature calibration and coefficient estimation before assigning a correlation. NIST's physical comparison procedure treats thermal corrections through measured temperatures and material expansion properties.[ref] Keeping the nonlinear contribution is useful only when the inputs describe that actual measurement.
Sequential normal predictive monitoring Created 2026-10-14 Updated 2026-11-05
For repeated independent measurements with prior and known scales, normal-normal conjugacy gives and . The next measurement has posterior predictive distribution . Its one-sided conditional posterior-predictive false-alarm level yields the displayed limit; this is a per-measurement probability, not a simultaneous false-alarm guarantee across repeated monitoring. Predictive width tends to the irreducible measurement width, while the center adapts to the individual's data. To assess a held-out measurement, fit with earlier measurements only.
Shared-parameter model for informative dropout Created 2026-10-14 Updated 2026-11-05
Sign test Created 2026-09-24 Updated 2026-11-05
The sign test uses only the signs of independent differences . Under the Null hypothesis and no ties, the count has the binomial distribution . It can test a continuous population median against a specified value, or a median paired difference against zero, without specifying the magnitude distribution of the differences.
For a two-sided test, one conventional exact p-value is for . Seven positive differences among eight give . The test is robust to the sizes of extreme differences because only signs are used, but discarding magnitudes can lose power relative to a suitable parametric test.
With zero differences, deleting ties gives an exact conditional sign calculation when the nonzero signs are equally likely under the Null hypothesis. For a discrete population, merely declaring zero a median does not by itself imply that conditional sign symmetry. Dependence between pairs also invalidates the independent binomial calculation.
Simple random walk Created 2026-09-24 Updated 2026-10-14
A simple random walk on a locally finite graph chooses each vertex in the current vertex's graph neighbourhood with equal probability, assuming there is at least one available neighbour. On the integer line there are two choices, one unit left or right, so each has probability . This is the one-dimensional simple symmetric random walk. Terminology varies: a simple random walk on the integer line is also often allowed unequal step probabilities, with “symmetric” specifying the fair case.
For a simple symmetric random walk starting at , each increment has the Rademacher distribution, with expected value zero and variance one. Thus linearity of expectation and the variance of a sum of independent random variables giveFor example, after steps the expected value is zero, the variance is , and the standard deviation is . Doubling the typical distance scale takes four times as many steps. This square-root growth explains why a random walk can wander far even when there is no preferred direction.
Four fair and two biased unit-step random-walk paths, with their expected values and bands one standard deviation wide on either side.
Details. The colored curves are illustrative sample paths, not averages over all possible walks. The dashed curves show the expected values; the shaded bands show the expected value plus or minus one standard deviation at each time. These bands are a scale of spread, not confidence intervals, and give no guarantee that an entire sample path stays inside them.
Zero expected value does not make this a stationary process: its one-time probability distribution changes with , as the increasing variance already proves. It does have stationary increments and independent increments, because blocks of fresh steps have the same probability distribution at any starting time and disjoint blocks use independent random variables. This separation of position from increment is one reason the random walk is such a useful first example of a stochastic process.
Simple random walk on the integer line Created 2026-09-24 Updated 2026-10-14
A simple random walk on the integer line starts at and takes independent and identically distributed random variables as unit increments, withThe simple symmetric random walk has ; a biased random walk has . At or every step is deterministic, giving or respectively.
Count the rightward steps using indicator functions:Thus the endpoint is a shifted and rescaled random variable with a binomial distribution. For a worked example, at the endpoint means exactly three rightward steps and one leftward step. There are possible orders, so its probability is , equal to in the fair case. More generally the binomial coefficient counts the orders, giving the exact probability mass functionIn particular, the endpoint must have the same integer parity as : . For the support of a probability distribution is exactly . At only even integers in are reachable; at only odd integers are reachable. This restriction is easy to lose if one draws a smooth curve instead of discrete probability masses. The fair-walk counting argument is also presented in Grinstead and Snell, Introduction to Probability, section 12.1.
Exact binomial endpoint probabilities for fair walks of 20 and 80 steps and a biased walk of 80 steps; only even endpoints are possible.
Details. The endpoint identity and the binomial distribution give the expected value, variance, and standard deviationA short direct check gives and , hence . Then apply linearity of expectation and the variance of a sum of independent random variables.
The absolute width and the width relative to the number of steps answer different questions. In the fair case the standard deviation grows from to , while shrinks from to . At , the standard deviation is , or times the fair width, and . Centering and dividing by each walk's own standard deviation gives, for ,This rescaling equalizes the variances, not the entire probability distributions. The spacing between reachable endpoints is two, so its rescaled spacing is : approximately for the fair -step walk, for the fair -step walk, and for the biased -step walk.
The positions themselves are dependent. For , , where the second term is independent of . Their covariance is thereforeFor example, in the fair case allows or , whereas allows or . Nevertheless the position process is a Markov chain: given its current position, the next fresh increment has no dependence on its past. Its transition probabilities areThese transition probabilities are the same at every time and every integer position: shifting both and by the same integer leaves unchanged. Thus the Markov property and independent increments coexist with dependent positions.
Simultaneous returns of independent simple random walks Created 2026-09-24 Updated 2026-11-05
For independent symmetric walks on , the probability that all are at the origin at time isThe Borel-Cantelli lemmas therefore show that simultaneous returns occur only finitely often almost surely when .
Standard Gaussian random vector Created 2026-10-06 Updated 2026-11-05
A Gaussian random vector with independent normal coordinates of expectation zero and variance one. Its distribution is invariant under orthogonal transformations. In particular, its direction in a fixed two-dimensional plane is uniform, which underlies the Gaussian sign-correlation identity.
Stochastic block model 2026-10-03
A stochastic block model assigns each vertex of a graph to a class and, conditional on those classes, makes distinct edges independent random variables whose probabilities depend only on the classes of their endpoints.
Strongly universal hash family 2026-10-13
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 .
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.





