Range-conditioned uniform location inference Created 2026-10-14 Updated 2026-11-05
For independent observations uniform on , let and be the sample minimum and maximum, , and . For their joint probability density function in is on , . Integrating over gives , independent of , so is an ancillary statistic. Moreover is uniform on . Consequently
is an exact conditional confidence interval for . The realized range determines the appropriate precision, although the range is not itself evidence about the value of .
Rank of an observation 2026-10-14
The rank of an observation records where that observation lies among the order statistics of a statistical sample. When all values are distinct, and . For , the ranks of observations in original order are : the first observation is fourth smallest, while the fourth observation is third smallest.
Ties require a convention. A tied block occupying sorted positions can assign each member the average rank of an observation , the minimum position , or the maximum position ; an explicit rule can also break ties into distinct positions. R's official documentation describes these choices and uses average ranks by default. [ref].
For example, has order statistics . The two observations occupy positions and ; average ranks of observations are , whereas minimum-position ranks are . A fractional average rank is a summary of tied positions, rather than an index of one order statistic. Without omissions, distinct ranks and average ranks sum to , since averaging each tied block preserves its sum; minimum-position ranks need not.
Wilcoxon signed-rank tests rank the absolute nonzero paired differences, while Wilcoxon rank sum tests rank the pooled observations from two samples; these are different rankings.
Rank test Created 2026-10-14 Updated 2026-11-05
A rank test is a hypothesis test whose statistic is a function of the ranks of observations, possibly together with fixed sample labels. Under independent observations from a common continuous probability distribution, exchangeable rank allocations give its exact null law without specifying that distribution. The Wilcoxon rank sum test is an example. Invariance under common increasing transformations follows because ranks do not change.
Rao-Blackwell estimator for a uniform scale interval Created 2026-10-14 Updated 2026-11-05
For independent uniform random variables on with , the sample minimum and maximum form a sufficient statistic. Conditional on these endpoints, exchangeability and the uniform law of the remaining observations give . Applying the Rao-Blackwell theorem to gives the displayed unbiased estimator. Its variance is , compared with for .
For , put probability mass at zero and at each of and . This symmetric probability distribution has mean zero. Its second and fourth moments are both , because the nonzero outcomes have square and fourth power equal to one:
For the kurtosis is ; for it is . In the latter case of the probability mass is at zero, yet all of the fourth central moment comes from the remaining . The standard score takes values and , with variance one. Each nonzero outcome contributes
to kurtosis. At , the two rare outcomes are ten standard deviations from the mean, and their contributions are .
Figure 1. . The left panels keep the original support of a probability distribution ; the right panels use standard scores. A rare outcome can have small probability mass but a large contribution to kurtosis. Each row is a different specified probability distribution, not a statistical sample. Details.
Every member has finite support of a probability distribution, so all its moments are finite. Nevertheless, kurtosis becomes arbitrarily large as approaches zero: high kurtosis does not require an unbounded support of a probability distribution or a heavy-tailed distribution. At the variance vanishes and kurtosis is undefined. At this discrete probability distribution even has the normal distribution value and excess kurtosis zero, so those values do not establish a normal distribution.
Regression error 2026-11-05
In a linear regression model , the regression error is the unobserved discrepancy between the response and the model's systematic component. The assumption makes the conditional expectation of given ; it does not follow merely from writing the equation.
For a scalar response , an observation has error one if the stated coefficients are the true model coefficients. A regression residual instead uses fitted coefficients: . Errors and residuals therefore answer different questions. In ordinary least squares, holds algebraically when the fit exists, even though need not be zero for a realized statistical sample. Assuming independence or constant variance of the errors is a further modeling choice.
Relative frequency Created 2026-10-25 Updated 2026-11-05
For a sample or finite statistical population of positive size , the relative frequency of a category represented times is . It is a proportion and differs from an oscillation frequency.
Residual extrema when response extrema are attained Created 2026-10-25 Updated 2026-11-05
For a finite sample, let , , and . The regression residuals are . Every residual is at least and at most . At an observation attaining , its residual is at most , so . At an observation attaining , its residual is at least , so . These observations prove all four bounds. Merely knowing theoretical response limits, without attainment, would not justify the two inner bounds.
Sample correlation coefficient Created 2026-10-06 Updated 2026-10-14
For paired observations , the sample correlation coefficient is
It is the normalized inner product of the centered data vectors, or the sample covariance divided by the product of the corresponding sample standard deviations. The choice of divisor or cancels when used consistently in all three quantities. It is undefined if either centered data vector is zero, which occurs when that variable is constant in the observed statistical sample.
For and , both sample means are . The sum of centered products is , and each sum of centered squares is , hence the sample correlation coefficient is . This is a summary of these four observed pairs; it is not automatically the population Pearson correlation coefficient. Philip Stark, Computing the correlation coefficient explains the centered and standardized calculation.
Sample median Created 2026-09-28 Updated 2026-10-14
The sample median is a central value of an ordered statistical sample. The usual numerical convention selects the middle order statistic for odd sample size and the arithmetic mean of the two central order statistics for even sample size:
NIST uses this convention. [ref]. For , the sample median is ; for , it is , which need not be an observed value.
More generally, every value between the two central order statistics in an even statistical sample is a median of its empirical distribution function. The generalized-inverse sample quantile at selects the lower central order statistic in that case, so it can differ from the midpoint convention. Ties are allowed in all these definitions.
The sample median measures the center using sorted positions. Changing the largest observation from to in the five-value example leaves the sample median at , while the sample mean rises from to . Its sampling distribution still depends on the population probability distribution: the mean found for five observations from a uniform distribution is a special calculation, and a sample median's expected value need not equal the population median in general.
For a concrete counterexample, three independent and identically distributed random variables with rate-one exponential distribution have sample median with expected value , by independent exponential order-statistic spacings. The population median instead solves , giving . Thus even the middle order statistic can have mean different from the population median.
Sample proportion Created 2026-10-07 Updated 2026-11-05
For independent Bernoulli observations with success probability , the sample proportion is the success count divided by the sample size. It is an unbiased estimator with variance . It supplies the arm-specific risks in a risk ratio and the mean difference in a two-proportion comparison.
Sampling frame 2026-11-05
A sampling frame is the operational list or other device identifying the units from which a statistical sample can be selected. The intended statistical population, the sampling frame and the responding units can differ. A register of residential addresses, for example, can serve as a sampling frame for a household survey, but may miss newly built homes and include demolished buildings.
If 100 of 1000 target households are absent from the sampling frame, randomly selecting 90 of the 900 listed households gives each listed household inclusion probability and each omitted household inclusion probability zero. Increasing the sample among listed households cannot by itself correct that lack of coverage. Duplicate entries create a different problem: units with more entries can be more likely to be selected. A sound design therefore documents how frame units map to population units and distinguishes coverage errors from sampling variability.
Fix a failure probability and assume an independent and identically distributed statistical sample. A finite-sample confidence band for its population cumulative distribution function is
Here is the natural logarithm. The DKW inequality implies
This is simultaneous coverage over the whole real line, valid at each fixed sample size.[ref]
To obtain the band, solve for the positive . Outside a failure event of probability at most , for every . Since a cumulative distribution function already lies in , clipping the endpoints to this interval preserves the coverage event. The guarantee is at least , and need not equal it.
Choose , giving at least simultaneous coverage under the stated model. For , respectively, the half-widths before clipping are
For the chosen five observations, the band at is , while at it is approximately . At the unclipped band would be , so clipping gives . The broad uncertainty is informative: five observations give a precise description of themselves, but a coarse bound for an unknown population cumulative distribution function.
Figure 1.
Finite-sample simultaneous uncertainty around an empirical distribution function
. Left: the chosen five observations give and its band clipped to , using . Right: theoretical half-widths for , with no additional samples constructed. The confidence band has coverage at least under independent and identically distributed sampling; the drawing illustrates the procedure and does not establish its coverage. Details.
A collection of pointwise confidence intervals only promises coverage separately at each preselected threshold; it does not promise coverage of an entire cumulative distribution function. Here the one simultaneous event permits inspecting any threshold after seeing the data. The probability refers to repeated sampling of the entire statistical sample, with fixed. It does not assign probability to a fixed after observing this particular band, and it is not a prediction interval for a future observation. The displayed comparison gives a guarantee for each fixed separately, not simultaneous validity over all sample sizes or an optional stopping rule. The chosen observations are an illustration; the coverage claim follows from the DKW inequality, not from their appearance or a simulation. Dependence or observations with different sampling laws require another argument.
At fixed , multiplying by divides the half-width by . Conversely, a desired half-width is ensured by , rounded up to an integer. For and , this sufficient sample size is . This makes the confidence band useful for planning how many observations are needed before estimating threshold probabilities to a chosen simultaneous accuracy.
Smoothing bandwidth Created 2026-10-05 Updated 2026-10-14
A smoothing bandwidth determines the scale over which a regression kernel averages data, or a kernel for density estimation spreads each observation. It has the same units as the observations. In kernel density estimation, changing changes the visible detail while preserving the total integral one. For a Gaussian density kernel, each bump has standard deviation and its individual contribution has peak height .
If the smoothing bandwidth is too small relative to the spacings in a statistical sample, the kernel density estimator shows narrow spikes tied to individual observations: apparent peaks may be sampling accidents. If it is too large relative to features of the unknown probability density function, it blurs distinct groups together and spreads fitted probability far from the observations. An intermediate smoothing bandwidth can reveal broad structure, but visual smoothness alone cannot establish accuracy.
Figure 1.
The same sample at three Gaussian bandwidths, and leakage below zero for a separate positive sample
. Details.
The first three panels use exactly with smoothing bandwidths , and , respectively. Every curve has area one; the two groups in the observed statistical sample become less distinct as increases. No true probability density function is specified in this illustration, so the middle panel is illustrative, not a certified optimal fit. The fourth panel uses and to illustrate boundary bias of a kernel density estimator.
For a fixed nonnegative kernel for density estimation with finite squared integral, a probability density function that is bounded and continuous at an interior point with , and a deterministic sequence , the pointwise sampling variance obeys
Thus decreasing the smoothing bandwidth increases the leading sampling variance while reducing interior smoothing bias of an estimator: this is a bias-variance tradeoff. The conditions and express two goals, increasingly fine resolution and enough observations contributing locally. Practical methods such as plug-in bandwidth selection use the data to choose ; pointwise optimal kernel bandwidth depends on local features of the unknown probability density function. The smoothing bandwidth remains a tuning choice in nonparametric statistics, and knowing the support of a probability distribution can require more than a width adjustment near a boundary.
Stationary trapped Brownian displacement Created 2026-10-20 Updated 2026-11-05
For overdamped Brownian motion in potential , the relaxation time is and the equilibrium covariance function is . Expanding the squared displacement between two equilibrium samples gives the title expression. Initializing the particle exactly at the centre instead gives variance . Both are valid but concern different initial ensembles; their saturation values differ by a factor of two. These formulas neglect inertia and require times long compared with momentum relaxation.
Statistical estimate Created 2026-10-25 Updated 2026-10-31
A statistical estimate is the realized numerical value of an estimator after observing a statistical sample. Before observation, the estimator is a random variable or random vector; its realized value is the estimate. Both are commonly written , so context distinguishes them.
Statistical sampling 2026-11-05
Statistical sampling selects observations from a target statistical population through an explicit selection procedure or statistical model. It links observed values to the larger collection about which conclusions are sought. The accessible sampling frame and the statistical population need not coincide, which can cause sampling bias even in a large statistical sample.
For a finite statistical population with values , suppose every unit has known positive inclusion probability . If is the selected statistical sample, then
is an unbiased estimator of the total . Indeed, writing the sum with inclusion indicator functions gives . Under simple random sampling without replacement of size , , so is the sample mean. The selection procedure also determines dependence between selected units and the resulting sampling variability; unbiasedness alone does not specify its size.
Statistics Created 2026-10-24 Updated 2026-11-05
Statistics studies how to learn from data while accounting for variation and uncertainty. Descriptive statistics summarizes observations; statistical inference uses an explicit statistical model to estimate unknown quantities or assess claims. For example, the sample mean estimates a population mean, while its standard error describes variation across hypothetical repeated statistical samples. A large dataset does not automatically remove bias from statistical sampling or confounding. The design generating the observations is part of the reasoning, rather than an optional prelude to calculating a formula.
Sufficient statistic for a symmetric uniform sample Created 2026-10-06 Updated 2026-11-05
For independent samples uniform on with , the absolute maximum is a minimal sufficient statistic, since the likelihood is . The pair of sample minimum and maximum is a sufficient statistic but is not minimal: simultaneous sign reversal preserves and generally changes that pair.
Technical replicate Created 2026-10-18 Updated 2026-11-05
A technical replicate repeats a measurement or analytical procedure on the same biological preparation. For example, read the length of the same leaf three times to assess measurement error. Measuring three different leaves within one pot instead samples variation within the plant; it should be described explicitly rather than silently equated with repeated readings of one leaf. Neither procedure supplies another pot-level treatment replicate.