Sample mean Created 2026-09-29 Updated 2026-11-05
For observations with , the sample mean is . It is a statistic summarizing location: values give . For an IID sample with mean and finite variance , linearity of expectation gives , while variance additivity for independent random variables gives . Dependence changes the variance through cross-covariances. A sample mean is sensitive to extreme observations, and a population such as the Cauchy distribution need not have the finite mean needed for ordinary averaging guarantees.
Sample mean and covariance Created 2026-09-24 Updated 2026-11-05
For observations , the sample mean and empirical covariance matrix describe average location and joint variation:Each summand is an outer product, so is positive semidefinite. If the observations are independent and identically distributed random variables with covariance matrix , then . For , replacing the divisor by gives an unbiased estimator.
For the three observations , the sample mean is . The sum of centered outer products isso the -divisor sample covariance matrix is , and the version is . Stating the divisor avoids ambiguity when comparing formulas. The rank of a centered sample covariance matrix also explains why too few observations force singularity in high dimension.
Sample mean of iid Bernoulli variables 2026-10-14
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. ThereforeThe 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 .
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. Sample mean sufficiency depends on the model 2026-10-14
For the normal sample sum with known variance, assume independent and identically distributed with fixed known variance . The joint probability density factors asThe 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 withEach observation has mean one. The arrangements all give sample mean one, yetThis 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.
Sample mean under simple random sampling Created 2026-10-14 Updated 2026-11-05
Fix real population values . Define the finite population mean and two normalizations of the finite population variance byThe values are fixed; only the selected subset is random. For its sample mean , the exact design expectation and variance areThe 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]
Chapter 2: Simple Random Sampling. Sampling Theory, Chapter 2, PDF pp. 2, 6–9: variance normalizations, unbiasedness, covariance derivation and finite population correction
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, givingFor 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]
Chapter 2: Simple Random Sampling. Sampling Theory, Chapter 2, PDF pp. 10–12: sample-variance and standard-error estimation
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.
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]
https://www.itl.nist.gov/div898/handbook/eda/section3/eda351.htm. NIST: measures of location, median definition
. 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.
Samplewise variance upper bound 2026-11-05
A samplewise variance upper bound is a nonnegative statistic satisfying , where is the fixed sampling variance at parameter . It controls each realized value outside a probability-zero exceptional set. This implies the expected-value condition for a conservative variance estimator when the expectation exists; the converse fails, as the parent article's counterexample shows. The primary sampling-design definition only asserts the weaker expectation condition.[ref]
Suppose is an unbiased estimator with finite variance, and let . Then Chebyshev's inequality and the samplewise comparison giveNo independence between and the centre is needed. If , unbiasedness makes the centre equal to almost surely, so coverage still holds. This proves confidence bounds from a samplewise variance bound; it does not justify replacing by a normal distribution critical value.
For an original bounded-data example, take independent and identically distributed measurements known to lie in , and estimate their population mean by the sample mean. With , the inequality givesThe deterministic choice is a samplewise variance upper bound for every such population. Thus covers with probability at least . The radius shows the price of distribution-free reasoning; the estimate may be much wider than a model-specific confidence interval.
Sampling bias 2026-11-05
Sampling bias is a systematic distortion arising when the sampling mechanism makes the observed sample unrepresentative of the target statistical population for the estimand of interest. It is distinct from random sampling variability and from other causes of the bias of an estimator.
Suppose a population has equal-sized groups with values zero and ten, so its mean is five. If independent sampling with replacement chooses the first group with probability , the sample mean has expectation one and converges to one as the sample grows. More data reduce its random variation without removing the selection bias. Known selection probabilities can support a design-based correction, but a group never sampled cannot be recovered merely by assigning larger weights to observed units.
Sampling variability 2026-11-05
Sampling variability is the variation of a statistic over random samples generated by a specified sampling design or model. It concerns the statistic before the sample is realized, even when the observed dataset is later treated as fixed.
For independent identically distributed observations with variance , the sample mean has variance and standard error . Thus increasing from 100 to 400 halves that standard error under the same model. A sampling distribution describes this variation; the bias of an estimator describes a displacement of the estimator's expectation from its target. Correlated observations or an informative selection mechanism can invalidate the simple independent-sample formula.
Sampling without replacement Created 2026-10-14 Updated 2026-10-14
Sampling without replacement selects distinct labelled units: after a unit is selected it is unavailable for the remaining draws. Distinct labels can carry equal numerical values, so repeated values do not necessarily imply a repeated unit. The rule alone does not specify selection probabilities; a procedure favoring particular units is still sampling without replacement but need not be simple random sampling.
In uniform sequential sampling without replacement, the next label is chosen uniformly among those remaining. For a population of labels, any ordered sequence of distinct labels has probability . Each size- subset has possible orders, so its probability is . This gives the fixed-size simple random sampling design. Equivalently, take the first labels of a uniformly random permutation. Restricting a uniformly random permutation to a specified label set preserves uniformity; biased modulo mappings should not replace uniform selection.
The draw positions have identical marginal probability distributions, but exhibit statistical dependence. If the first label is , the conditional probability that the second label is is zero, whereas its marginal probability is . Thus these draws are not independent and identically distributed when and . For a marked subset of labels, counting size- subsets with binomial coefficients gives the hypergeometric distribution. The resulting negative covariance explains the finite population correction for both counts and sample means.
Selection bias from a noisy denominator threshold occurs when accepting measurements according to the same noisy central signal used for normalization changes the distribution of the reported ratios. For side signal , measured central signal , positive cutoff and acceptance event , the sample mean over accepted shots targets . It need not target the true-signal ratio or the unfiltered mean ratio. This is a consequence of conditioning, even when every physical pulse has the same true brightness.
For an original two-state readout model, let the true central signal be5, let measured equal4 or6 with equal probabilities, and let be constant. Both denominator errors have zero mean. The noiseless ratio is0.004, whereas the unfiltered mean measured ratio isA cutoff accepts only , giving and acceptance probability1/2. This separates the unfiltered nonlinear ratio bias from the further change introduced by selection. Both denominators were already safely positive; the selection effect is not merely a division-by-zero problem.
The direction is not universal when numerator and denominator errors are related. Keep or6 but let . ThenFor , the two observed side signals are0.01 and0.03, with ratios0.0025 and0.005. The same cutoff now gives0.005, above the same true-signal ratio0.004. For , the observed signals are exactly proportional and every ratio is0.004, so selection leaves it unchanged. The noise dependence and measurement model determine whether thresholding shifts the accepted ratios upward, downward or not at all.
When a joint density and integrable accepted ratio exist, the dependence is explicit:The conditional numerator response cannot generally be replaced by its unconditional mean. Report the acceptance rule and accepted fraction alongside the shot-resolved pulse-contrast estimator; increasing the number of accepted shots reduces sampling scatter but does not undo the conditioning.
A physical motivation comes from a single-shot correlator that spatially encoded the nonlinear mixing signal and imaged it onto a filtered CCD detector.[ref]
A Single Shot 3rd Order Cross-Correlator for Pulse Contrast and Pulse Shape Measurements by J. Collier and others. Printed pp.194–195, Description and Figure2, third-harmonic imaging and detector filtering
If central pixels decide whether a trace is retained, later normalization uses data already conditioned by that choice. The two-state examples are original readout models, not measurements attributed to that instrument. Finite ratio moments under a positive denominator cutoff establish mathematical moment control under stated assumptions; they do not establish absence of selection bias. Selection on an extreme first measurement 2026-10-14
Select units with first reading , keep that membership fixed, and measure the same units again. The first reading now has a truncated normal distribution. For a general finite threshold , write for the standard normal density and for the standard normal distribution function. Since ,The tower property of conditional expectation lets us average the line over the selected group.[ref] At this givesThe average second reading is below the selection threshold even though every selected first reading exceeded it. This is a group expectation; any finite generated group's sample mean fluctuates around it. Selecting again on would define a different group and answer a different question.
The latent variable decomposition makes the apparent drop especially clear. Gaussian conditioning gives and . ThusThe first measurement error has zero unconditional mean, but positive selected mean. The second measurement error stays centered because it is independent of selection on . The persistent signal never changed.
Self-averaging Created 2026-10-05 Updated 2026-11-05
A sequence of observables is self-averaging when its fluctuations relative to its typical macroscopic size vanish as the system grows. One common criterion for nonzero means is , which implies in probability by Chebyshev's inequality. For independent and identically distributed variables with mean and finite variance , the sample mean has relative variance . Strong dependence or broad tails can prevent this reduction; increasing size alone is not a proof.
Shrinking a sample mean with variance proportional to mean squared Created 2026-10-06 Updated 2026-10-14
If independent observations have mean and variance , the scaled sample mean hasFor , it improves on the unbiased sample mean precisely when . The optimal scale is and its risk is . At all risks vanish and strict improvement is impossible.
Simple random sample 2026-11-05
In finite-population sampling, a simple random sample of fixed size without replacement is a subset of labelled units drawn so that every size- subset has probabilityThe sample is the selected subset; simple random sampling is the procedure that generates it. This definition does not require the observed values to be distinct, only the selected population labels. The without-replacement convention is important because an independent repeated draw from a population is a different design.[ref]
Unequal Probability Sampling in Penn State STAT 506. Lesson 3, simple-random-sampling specialization
One construction randomly orders all labels and takes the first . Each particular subset can occupy those positions in permutations, out of , proving the probability above. Equivalently, draw successively and uniformly from the remaining labels, then discard their order.
For , there are possible samples. A particular unit belongs to four of them, so its inclusion probability is ; a particular pair is one complete sample, so its joint inclusion probability is . These are properties of the procedure before observing which subset was obtained.
A simple random sample need not resemble the whole population in every realization. For fixed values , six of the ten size-two samples contain only zeros. Thus the sample mean is zero with probability , although its expected value is the finite population mean . The remaining four samples each have mean , giving . Unbiasedness concerns repeated selection, rather than a guarantee about any one sample. Coverage of the population labels and faithful implementation of the selection rule remain essential.
Simple random sampling Created 2026-10-07 Updated 2026-10-14
Here simple random sampling means a random unordered subset of exactly distinct labels from , with every size- subset equally likely. The sample size is fixed in advance, , and sampling without replacement prevents duplicate units. This is SRSWOR; some texts also use "simple random sampling" for independent uniform draws with replacement, which is a different design.[ref]
Chapter 2: Simple Random Sampling. Sampling Theory, Chapter 2, Simple Random Sampling, PDF pp. 1–4: replacement conventions and ordered versus unordered sample probabilities
Every label has inclusion probability , but equal inclusion probabilities alone are insufficient. For example, from six labels choose either or with probability . Each label is included with probability , yet eighteen of the twenty size-three subsets are impossible: this is a two-group cluster sampling design. Unequal probability sampling deliberately changes inclusion probabilities, often to improve precision for a particular estimand, and generally requires an appropriately weighted estimator rather than the plain sample mean.
Consider the original mathematical population with labelled values , and let . The fifteen equiprobable subsets, followed by their sample means, areTheir sample means sum to , giving expected value . Their squared deviations from sum to , giving variance . This is an enumeration over hypothetical selections from six stipulated numbers, not measured survey data.
All fifteen size-two subsets and all thirty-six ordered replacement outcomes from six labelled values
. Details. With independent uniform sampling with replacement, the ordered outcomes each have probability . The two orders and are distinct outcomes, and is now possible. Forgetting order does not make the resulting unordered multisets equiprobable: has probability but has probability . The thirty-six sample means still have expected value , but their squared deviations sum to , giving variance . Avoiding duplicate labels improves precision for this fixed population.
For independent -variate multivariate normal observations with unknown mean and unrestricted positive-definite covariance matrix, the centered scatter has rank at most . If it is singular, choose the mean to be the sample mean and shrink the covariance on a null direction of the scatter. The quadratic likelihood term stays fixed while the determinant tends to zero, so the density likelihood tends to infinity. Thus a nonsingular covariance maximum likelihood estimate exists only when the centered scatter is positive definite; for a nonsingular Gaussian population this occurs almost surely exactly when .
Small normal sample mean confidence interval 2026-10-18
Under the studentized normal sample mean assumptions, let denote the quantile at cumulative probability of the Student's t-distribution. For , rearranging the event gives a Student t confidence interval for the unknown mean with exact coverage probability . [ref]
Choose the list as an original arithmetic example, not as reported measurements or a claim that these five numbers establish a normal distribution. If such values were obtained under the assumed independent and identically distributed normal distribution model with unknown , thenThere are four statistical degrees of freedom. For a 95% confidence interval, , soUsing the standard normal quantile with the same estimated standard error would give only . That underestimates the correct margin by about 29.4%. Indeed its actual coverage probability under this normal distribution model is , rather than 0.95.
The observations, the sample mean and the confidence interval all have different meanings. The bar estimates the population mean; it is not an interval intended to contain 95% of individual observations. In repeated independent samples of size five from the assumed normal distribution, 95% of intervals constructed using the exact quantile cover the same fixed . This is not a 95% posterior probability that the fixed statistical parameter lies in this particular realized interval. Such a probability requires a separate Bayesian inference model.
For this four-degree case, the cumulative distribution function has an especially simple form:One can check the formula by differentiation: , with limits zero and one at the two ends of the real line. Solving the increasing equation by the bisection method gives the quantile used above.
Standard uncertainty Created 2026-10-14 Updated 2026-11-05
A standard uncertainty expresses a component of measurement uncertainty as an estimated standard deviation. It has the same unit of measurement as the measurand: describes a spread in a length, rather than a percentage or a known measurement error. A Type A evaluation of uncertainty uses statistical analysis of observations; a Type B evaluation of uncertainty uses other information, such as a reference certificate or instrument specification. These classify the evaluation method, not whether a physical effect is random or systematic.[ref]
Guidelines for Evaluating and Expressing the Uncertainty of NIST Measurement Results by Barry N. Taylor and Chris E. Kuyatt. section 2: standard uncertainty and the A/B classification; Appendix D.1: error versus uncertainty
For independent repeated readings with common variance, the sample mean has estimated standard uncertainty , where is their sample standard deviation. This is the standard error of the mean; the scatter instead describes individual readings. Repetition reduces this contribution, but a shared measurement calibration contribution remains. A quoted tolerance supplies a different example: assigning a continuous uniform distribution within those bounds gives . That assignment is a model of the available information, not a consequence of repeating measurements.[ref]
Guidelines for Evaluating and Expressing the Uncertainty of NIST Measurement Results by Barry N. Taylor and Chris E. Kuyatt. section 3: mean of independent observations; section 4.6: rectangular distribution
Statistical decision theory Created 2026-09-24 Updated 2026-11-05
Statistical decision theory compares procedures by the losses their decisions incur under a statistical model. Specify observation laws , an action space and a loss function . A decision rule maps data to an action, and its risk function isFor estimating a normal mean from observations of known variance , the sample mean has squared-error loss risk . Under zero-one loss, the same framework describes classification in statistical learning and statistical hypothesis testing.
Different criteria compare the whole risk function differently. A Bayes decision rule minimizes risk averaged over a prior distribution. A minimax decision rule minimizes the worst-case risk. An admissible decision rule has no competitor with no greater risk everywhere and smaller risk somewhere. These criteria require the model, allowed actions and loss to be specified; accuracy alone does not define what mistakes cost.




