Batch effect Created 2026-10-20 Updated 2026-11-05
A systematic difference associated with sample processing groups rather than the biological contrast of interest. Balanced allocation and recorded metadata help separate these effects; statistical adjustment cannot fully recover a contrast perfectly confounded with batch.
Before-after control-impact design Created 2026-10-20 Updated 2026-11-05
A before-after control-impact design compares temporal change at an affected site with change at one or more control sites. In a simple two-period description, its treatment contrast isThis is a difference-in-differences comparison, or a site-type-by-period interaction term. For example, responses falling from to at the affected site and from to at the control site give : the affected site fell three units more than the comparison site.
The design addresses both a pre-existing site difference and a common temporal change. Its causal interpretation still requires a defensible comparison for how the affected site would have changed without the disturbance. Another site-specific event coinciding with the intervention can confound the contrast. Multiple control sites and repeated sampling before and after the disturbance help characterize natural variation, while the analysis must account for dependence through time.[ref]
Study design type in the Australian and New Zealand Guidelines for Fresh and Marine Water Quality. Before–after, control–impact designs; Improvements to BACI designs
Several observations within one affected site do not become several independent impact-site replicates. Distinguishing the experimental unit from its observational units prevents pseudoreplication; a large within-site sample does not repair missing independent site replication.
Between-replicate variation Created 2026-10-20 Updated 2026-11-05
Variation among independent biological samples. Pooling reads can conceal this variation; treating within-sample technical observations as independent biological replicates causes pseudoreplication.
Binomial proportion Created 2026-10-14 Updated 2026-11-05
For with , the sample binomial proportion is . Its expectation is p and its variance is . The central limit theorem gives a normal approximation when both expected outcome counts are sufficiently large. These moments determine a standard error and model-based control limits.
Biological replicate Created 2026-10-18 Updated 2026-11-05
A biological replicate repeats a procedure using a distinct biological preparation, such as another plant or a separately established cell culture. The relevant level must be specified: several cell cultures derived from one donor can still form nested measurements for a donor-level question. Calling a sample a biological replicate does not by itself establish an independent experimental unit.
Bootstrapping (statistics) Created 2026-09-24 Updated 2026-10-18
The bootstrap approximates a sampling distribution by repeatedly sampling with replacement from the empirical measure of the observed data. In the ordinary nonparametric version, observations are assumed independent and identically distributed; a bootstrap sample has the same size as the original statistical sample. A statistic, such as a sample mean or sample median, is recomputed on each resample. Its variation across resamples estimates how the original statistic would vary across repeated sampling from the unknown probability distribution.[ref]
Lecture 12: The Bootstrap. UW STAT 535: Statistical Machine Learning, Autumn 2026; The Bootstrap, resampling procedure; High level idea of how bootstrap works, conditional empirical sampling law
The key distinction is between the observed statistical sample and its still-unknown source probability distribution. Condition on the observed values and form the empirical measureHere is a Dirac measure. Draw independent indices from the uniform distribution on a finite set and set . Each observed slot has probability on every draw. If equal values occupy several slots, their total probability is the sum of those slot probabilities; distinct observed values need not be equally likely. A star denotes this conditional resampling experiment. There are equally likely ordered index sequences, although bootstrap count vectors and statistics can combine many such sequences.
Sampling with replacement reuses observed slots while keeping the original data fixed
. Original schematic for observations . Three possible ordered bootstrap samples have different sample means. Their colors identify source slots; none of these samples is new evidence about the unknown probability distribution. Details.A complicated sampling distribution need not stop statistical inference when recomputing the statistic is easy. The bootstrap reuses that calculation on simulated datasets. The plug-in estimator principle replaces the unknown probability measure by in the whole repeated-sampling experiment. Whether that substitution approximates the target sampling distribution needs an appropriate bootstrap consistency theorem for the sample mean or a result for the particular statistic. A larger number of resamples reduces Monte Carlo error; it cannot repair the bootstrap failure for a uniform endpoint, an unrepresentative statistical sample or ignored statistical dependence.[ref]
Lecture 12: The Bootstrap. UW STAT 535: Statistical Machine Learning, Autumn 2026; High level idea of how bootstrap works; Bootstrap and Statistical Functionals, conditional variance and bootstrap variance consistency; Failure of the bootstrap, uniform-endpoint counterexample
Boundary bias of a kernel density estimator 2026-10-14
If the unknown probability distribution is supported on , an ordinary Gaussian density kernel still puts some fitted probability below zero. For positive observations and the standard normal distribution cumulative distribution function , the displayed formula gives the total leakage. For the statistical sample and smoothing bandwidth , it isThus about of the fitted probability falls outside the known support of a probability distribution, even though the full integral remains one. The leakage panel in smoothing bandwidth shades this area. Simply deleting the negative part leaves area ; renormalizing it makes another probability density function but does not by itself establish that the bias of an estimator has been corrected.
The issue also appears in the expectation of the kernel density estimator. For a nonnegative symmetric kernel for density estimation and a probability density function that is zero for and has a finite positive right-hand limit , assume is bounded. Then, for fixed as ,Half the averaging window lies on the impossible side of the boundary. For example, the rate-one exponential distribution has , so the limiting expected boundary height is , rather than the right-hand height one. This refers to estimating the right-hand limit; changing a probability density function at a single point does not change its probability distribution. Decreasing the smoothing bandwidth narrows the affected region but does not remove this boundary-height error. This is why the interior second-order pointwise bias bound for kernel density estimation cannot be applied across a jump at the boundary.
Box plot 2026-10-14
A box plot compresses a statistical sample into a box spanning its lower and upper quartiles , a line at its median , and two whiskers. It makes location and central spread easy to compare across groups on a common value axis. The box represents the central half in terms of quantile levels; with ties or interpolated quartiles, it need not contain exactly half the observations. Whisker endpoints require a stated convention: they can be the observed extremes, or they can stop short of separately marked observations. [ref]
https://www.itl.nist.gov/div898/handbook/eda/section3/boxplot.htm. NIST/SEMATECH, Box Plot, definition and variants
Here is one explicitly toy dataset, reused under histogram: twelve invented, unitless values, with repeated values counted separately, already arranged as order statistics:For this box plot we choose the interpolated quartiles defined under quartile, using R's type-7 rule. This givesThe interquartile range is . Our whisker convention uses the fencesThe whiskers end at the smallest and largest observations in the closed interval : here and . Values strictly outside the fences receive separate outlier markers: here only . An observation exactly on a fence is retained within the whisker under this convention. The fences are thresholds, not observed whisker endpoints; the upper whisker is at , not . R's documented whisker rule likewise includes observations no more than box lengths away, although its box uses hinges, which can differ from our type-7 quartiles. [ref]
https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/boxplot.stats.html. R grDevices documentation, boxplot.stats, coef and hinges
A separate outlier marker is a prompt to investigate, not a finding that the value is bad data and not an instruction to delete it. A distant observation can be a recording error, a legitimate unusual outcome, or evidence that the assumed statistical model misses some behavior. Check its provenance and context before deciding how to analyze it. No measurement-error claim is possible for our invented : we deliberately put it there to demonstrate the rule. [ref]
https://www.itl.nist.gov/div898/handbook/eda/section3/eda35h.htm. NIST/SEMATECH, Detection of Outliers, labeling and investigation
The beauty of a box plot is its compact comparison of ordered positions rather than every observation. That compression also loses information: many different statistical samples have the same quartiles and whiskers, so the box alone cannot reveal every cluster or gap that a histogram might show. For example, replacing the two invented values by and leaves the type-7 quartiles, whiskers and separate marker unchanged. Displaying the individual values alongside the box plot is especially helpful for such a small statistical sample. Always state both the quartile rule and the whisker rule; changing either can change which values are marked.
Confidence interval Created 2026-09-28 Updated 2026-10-14
A confidence interval is a random interval constructed from a statistical sample to cover a fixed unknown statistical parameter with a prescribed coverage probability. For a scalar target , a procedure with nominal confidence satisfiesThe subscript records which probability distribution generates the repeated samples. The endpoints are statistics, so they vary from sample to sample; the target is fixed. Equality gives exact nominal coverage probability, while the inequality also permits conservative procedures. For a general estimand , replace the target inside the interval by .
A realized confidence interval communicates the precision of an estimate in the target's own units. Reporting alone conceals the difference between an estimate with standard error and one with standard error . A narrow confidence interval indicates greater precision for the stated statistical model, rather than a guarantee that its assumptions describe the experiment correctly.
Once is observed, either contains the fixed target or does not. The 95% statement concerns the random procedure , not a posterior probability of 0.95 that this particular interval contains . A credible interval instead assigns specified posterior probability to a region under Bayesian inference. These interpretations can differ even when the numerical endpoints agree. The repeated-sampling interpretation is explained in NIST's confidence-limits teaching reference.
Jerzy Neyman's 1937 paper formulates the fixed-target, random-endpoint construction in Section II, especially equation (20) on page 348. Its confidence coefficient must hold across the allowed statistical parameters, rather than only at the value suggested by one sample. See Neyman, Outline of a Theory of Statistical Estimation Based on the Classical Theory of Probability and the original paper scan.
Diagonal correction for a quadratic density derivative estimate Created 2026-10-07 Updated 2026-11-05
Let be an independent and identically distributed sample from probability density function , take and , and write . Assume the kernel for density estimation has square-integrable second derivative. DefineThis U-statistic obeys whenever differentiation and the displayed integrals are justified. Under the usual convolution regularity this is .
The exact relation to the second derivative kernel density estimator isIndeed, expand the square into ordered pairs; its diagonal terms are all . Both subtracting this diagonal and changing the normalization from to are needed for the displayed U-statistic. This removes the diagonal sampling contribution, while retaining smoothing bias of an estimator relative to . The corrected value can be negative in a finite sample even though its target is nonnegative.
Doubly robust estimation Created 2026-09-24 Updated 2026-11-05
Doubly robust estimation combines two nuisance functions so that either one can be correctly estimated while the other is misspecified. For example, let indicate treatment, covariates, , and . Under conditional exchangeability, positivity and the usual consistency of observed and potential outcomes, is the mean potential outcome under treatment .
For candidate functions with denominators bounded away from zero, the augmented signal isConditioning on shows thatThe bias vanishes if either nuisance function is correct. This algebra explains Double robustness and the second-order product bias. It does not protect against both models being wrong, failed Causal identification, or nearly zero denominators. cross-fitting helps when flexible functions are estimated from the same sample; valid confidence intervals require further rate and moment assumptions. The average treatment effect is .[ref]
Double/Debiased Machine Learning for Treatment and Structural Parameters by Victor Chernozhukov and others. arXiv v6, Section 5.1, equation (5.3), orthogonal average-treatment-effect score
Empirical distribution function Created 2026-09-24 Updated 2026-10-18
The empirical distribution function counts the fraction of observations at or below a threshold. For a statistical sample of real observations , defineEach indicator function contributes one exactly when its observation is counted. Equivalently, , where the empirical measure assigns probability mass to each observation, including repeated observations.[ref]
Choose the illustrative statistical sample . Its empirical distribution function isFor example, counts both observations equal to , , and . There is no observation at , so there is no jump there. The five observations produce only four distinct jump locations.
The convention makes the empirical distribution function right-continuous: once a threshold reaches an observation, that observation remains counted immediately to its right. For a finite statistical sample, the count is constant from any up to the next larger observed value, proving right continuity. Its left-hand limit counts observations strictly below , soA value occurring times causes one jump of size . At the jump is ; at , , and each jump is . All jumps sum to one. Thus the empirical distribution function is a nondecreasing step function with limits zero and one, and is itself a valid cumulative distribution function.
This turns many questions about data into simple cumulative distribution function operations. The observed fraction in is : for it is , counting and but excluding both s. Including the left endpoint gives . A sample quantile reads the same staircase in reverse: the smallest threshold reaching is . Unlike a histogram, this representation requires no choice of bins; its jumps retain every observation and its multiplicity.
The exact description of a finite statistical sample must be distinguished from a statistical model for how it was obtained. The empirical distribution function is defined for any finite list, with no independence assumption. Once the list is observed, its counts are fixed. For statistical inference, one often models as independent and identically distributed random variables with an unknown population cumulative distribution function . Then describes the sampling law, while varies across repeated statistical samples. The value is an observed fraction and an estimate of ; it does not establish that the population probability is . Even when is continuous, every finite is discrete.
For any threshold fixed before sampling, the indicator functions are independent Bernoulli random variables with success probability . Therefore the count has a binomial distribution andThe expected value follows by adding the expected values of the indicator functions; the variance follows by adding their variances using independence and dividing by . Thus is an unbiased estimator of at a fixed threshold. Controlling the error at every threshold at once requires more than a fixed-threshold calculation: the DKW inequality supplies such control, and the Glivenko-Cantelli theorem describes its uniform convergence almost surely as grows.
Comparing with a proposed cumulative distribution function also motivates goodness-of-fit tests, including the Kolmogorov-Smirnov test, the Anderson–Darling test, and the Cramér–von Mises criterion. A standard Kolmogorov-Smirnov test calibration assumes a fully specified continuous population law; fitting its statistical parameters from the same statistical sample changes that calibration.[ref]
1.3.5.16. Kolmogorov-Smirnov Goodness-of-Fit Test. NIST and SEMATECH e-Handbook of Statistical Methods; Characteristics and Limitations, items 1 and 3; Definition, test statistic and fully specified distribution requirement
Empirical likelihood Created 2026-09-24 Updated 2026-11-05
Empirical likelihood assigns adjustable probability masses to observed values, rather than selecting a fixed finite-dimensional probability distribution family. For distinct observations from an independent and identically distributed sample, the basic objective is with and . Without additional constraints the maximum is at , recovering the empirical distribution.
To assess a proposed expected value , impose and maximize under that constraint. The empirical likelihood ratio isFor observations and proposed expected value , the constraints force weights , giving and . A proposed expected value outside the convex hull of the observations has no feasible weights. Such sample-support restrictions matter in small samples and should not be confused with proof that the population expected value is impossible. The method's likelihood-without-a-parametric-family motivation is described by Art B. Owen.[ref]
Empirical Likelihood by Art B. Owen. Author's companion website, introductory description; the two-observation calculation is derived here
Empirical probability distribution Created 2026-10-31 Updated 2026-11-05
For a nonempty finite sample, assign each distinct observed value its relative frequency. The observed values form the finite positive-mass support; the counts sum to the sample size, so the probabilities sum to one. Repeated observations increase the same outcome's mass rather than adding repeated support entries.
Equivariant estimator Created 2026-10-14 Updated 2026-11-05
An estimator respects the group action if the displayed identity holds. If it takes values in the transformation group itself, normalization is a maximal invariant: equivariance proves invariance, and equality of normalized samples reconstructs the transformation between them. For estimates in a homogeneous parameter space with a nontrivial stabilizer, normalization is defined only modulo that stabilizer; quotienting the remaining action is essential.
Estimating Bernoulli variance Created 2026-10-14 Updated 2026-11-05
For independent Bernoulli observations with sum , the extended maximum-likelihood estimator is . Its unbiased improvement is , obtained by conditioning on . The Rao-Blackwell theorem gives strict variance reduction for . With a uniform prior on and squared-error loss for , the Bayes estimator is . For parameter space strictly , samples with or have only a boundary likelihood supremum, not an attained maximum.
Estimation of a beta shape parameter 2026-10-25
For an independent statistical sample from the beta distribution with parameters , , the probability density function is on . Its raw moments are for , by direct integration. Consequently the method of moments gives , whereas the maximum-likelihood estimator is .
The second formula follows by setting the score function to zero; its derivative is negative. Also has an exponential distribution of rate , since . The central limit theorem and delta method giveThus the asymptotic relative efficiency of relative to is . The transformed sum has a gamma distribution of shape and rate , which also gives for and for .
Exact null distribution of a rank sum Created 2026-10-14 Updated 2026-11-05
Under the continuous common-distribution null of the Wilcoxon rank sum test, pooled labels are exchangeable. The product records every choice of ranks: choosing assigns rank to the first sample. Its indicated coefficient counts subsets of size and rank sum . Divide by and sum the lower tail for the one-sided P-value. Equivalently the counts satisfy with , allowing an exact integer computation.
Exact rank-sum tail one above the minimum Created 2026-10-14 Updated 2026-11-05
For two independent continuous samples of positive sizes under a common-distribution null, each -subset of ranks is equally likely. The smallest rank sum is , attained only by . The only subset with rank sum one larger is . Hence the exact lower tail at that threshold is . This follows directly by observing that any other change increases the sum by at least two.
F-test Created 2026-09-24 Updated 2026-11-05
An F-test uses a test statistic with an F-distribution under its null hypothesis. For independent normal statistical samples of sizes , equality of population variances gives . For nested linear models with normal errors, the partial F-test compares the reduction in residual sum of squares to the remaining residual variation per degree of freedom. These are different hypotheses sharing a distributional construction. Exact calibration depends on the relevant independence and normality assumptions.[ref]


