Sampling Distributions of Statistics

Foundations of Statistical Inference and Statistics

  • Statistics concerns itself primarily with conclusions and predictions resulting from chance outcomes that occur in carefully planned experiments or investigations.

  • The inferential process involves taking sample observations from a specified population and using the results of that sample to make inferences about the population itself, including population parameters such as its mean and variance.

  • Drawing sound inferences requires determining the probability distributions of specific functions of the observable random variables comprising the sample. These functions are termed statistics.

  • The mathematical properties of these distributions allow for the formulation of probability statements regarding inferences drawn from a sample about the population.

  • A statistic is formally defined as a function of observable random variables; because it depends on random variables, a statistic is itself a random variable possessed of its own probability distribution.

  • Let X1,X2,…,XnX_1, X_2, \dots, X_n denote a random sample drawn from a random variable XX, and let x1,x2,…,xnx_1, x_2, \dots, x_n denote the specific numerical values assumed by the sample.

  • A real-valued function T=F(X1,X2,…,Xn)T = F(X_1, X_2, \dots, X_n) is a statistic which assumes the observed realization t=F(x1,x2,…,xn)t = F(x_1, x_2, \dots, x_n).

  • Common examples of statistics include:

    • The sample mean:     Xˉ=1n∑i=1nXi\bar{X} = \frac{1}{n}\sum_{i=1}^n X_i
    • The sample variance:     S2=1n∑i=1n(Xi−Xˉ)2S^2 = \frac{1}{n}\sum_{i=1}^n (X_i - \bar{X})^2
    • The corrected (unbiased) sample variance:     S^2=1n−1∑i=1n(Xi−Xˉ)2\hat{S}^2 = \frac{1}{n - 1}\sum_{i=1}^n (X_i - \bar{X})^2
    • The minimum of the sample:     L=min⁡(X1,X2,…,Xn)L = \min(X_1, X_2, \dots, X_n)
    • The maximum of the sample:     H=max⁡(X1,X2,…,Xn)H = \max(X_1, X_2, \dots, X_n)
    • The sample range:     R=H−LR = H - L

Sampling Distributions: Principles and Construction

  • The probability distribution of a statistic TT is designated as the sampling distribution of TT.

  • The term "sampling distribution" derives from the fact that the statistic TT depends directly on a random sample, and therefore its distribution is derived from the underlying distribution of the sample.

  • Formally, the sampling distribution of a statistic is defined as the distribution of all possible values that can be assumed by that statistic, computed from all possible samples of the same size randomly drawn from the population.

  • Prior to observing empirical data, the sampling distribution indicates what values the statistic is likely to assume and how likely it is to assume those values.

  • In analyzing any sampling distribution, three fundamental characteristics are required:

    • The mean of the sampling distribution.
    • The variance of the sampling distribution.
    • The functional form (shape) of the distribution.
  • While empirical sampling distributions are rarely constructed manually in practical applications, the theoretical procedure for constructing the distribution from a discrete, finite population of size NN with samples of size nn is conceptualized as follows:

    • Step (a): Randomly select all possible samples of size nn from the finite population of size NN.
    • Step (b): Calculate the numerical value of the statistic of interest for every selected sample.
    • Step (c): Tabulate the distinct observed values assumed by the statistic along with the absolute frequency of occurrence for each distinct value.
    • Step (d): Compute the relative frequencies (empirical probabilities) associated with each distinct value of the statistic to establish the probability function.

Sampling Distribution of the Mean for Infinite Populations

  • The probability distribution of the sample mean, Xˉ\bar{X}, is designated as the sampling distribution of the sample mean (or the sampling distribution of means).

  • Theorem for Infinite Populations: If the random variables X1,X2,…,XnX_1, X_2, \dots, X_n constitute a random sample from an infinite population having mean μ\mu and variance σ2\sigma^2, then:

    • The expectation of the sample mean is:     E(Xˉ)=μE(\bar{X}) = \mu
    • The variance of the sample mean is:     var(Xˉ)=σ2n\text{var}(\bar{X}) = \frac{\sigma^2}{n}
  • Proof of Expected Value:

    • By definition, the sample mean is:     Xˉ=1n(X1+X2+⋯+Xn)\bar{X} = \frac{1}{n}(X_1 + X_2 + \dots + X_n)
    • Applying the expectation operator:     E(Xˉ)=E(X1+X2+⋯+Xnn)E(\bar{X}) = E\left(\frac{X_1 + X_2 + \dots + X_n}{n}\right)E(Xˉ)=1n[E(X1)+E(X2)+⋯+E(Xn)]E(\bar{X}) = \frac{1}{n}[E(X_1) + E(X_2) + \dots + E(X_n)]
    • Because each sample observation is drawn from a population with mean μ\mu, E(Xi)=μE(X_i) = \mu for all i=1,2,…,ni = 1, 2, \dots, n:     E(Xˉ)=1n(μ+μ+⋯+μ)E(\bar{X}) = \frac{1}{n}(\mu + \mu + \dots + \mu)E(Xˉ)=1n(nμ)=μE(\bar{X}) = \frac{1}{n}(n\mu) = \mu
  • Proof of Variance:

    • Applying the variance operator to the linear combination:     var(Xˉ)=var(X1+X2+⋯+Xnn)\text{var}(\bar{X}) = \text{var}\left(\frac{X_1 + X_2 + \dots + X_n}{n}\right)var(Xˉ)=1n2[var(X1)+var(X2)+⋯+var(Xn)]\text{var}(\bar{X}) = \frac{1}{n^2}[\text{var}(X_1) + \text{var}(X_2) + \dots + \text{var}(X_n)]
    • Since the random variables are mutually independent with common variance σ2\sigma^2:     var(Xˉ)=1n2(σ2+σ2+⋯+σ2)\text{var}(\bar{X}) = \frac{1}{n^2}(\sigma^2 + \sigma^2 + \dots + \sigma^2)var(Xˉ)=1n2(nσ2)=σ2n\text{var}(\bar{X}) = \frac{1}{n^2}(n\sigma^2) = \frac{\sigma^2}{n}
  • Properties of the Distribution of the Mean:

    • The expected value of Xˉ\bar{X} is identical to the population mean μ\mu.
    • The variance of Xˉ\bar{X} equals 1n\frac{1}{n} times the population variance σ2\sigma^2.
    • The distribution of Xˉ\bar{X} is centered about μ\mu, but its spread contracts progressively as the sample size nn increases.
    • The mean of the sampling distribution of Xˉ\bar{X} is customarily denoted as μXˉ=E(Xˉ)\mu_{\bar{X}} = E(\bar{X}), and its variance is denoted as σXˉ2=var(Xˉ)\sigma_{\bar{X}}^2 = \text{var}(\bar{X}).
    • The standard deviation of the sampling distribution of Xˉ\bar{X} is designated as the standard error of the mean:     σXˉ=σn\sigma_{\bar{X}} = \frac{\sigma}{\sqrt{n}}

Standard error denominator term

  • The formula establishes that the dispersion of the sample mean diminishes inversely with the square root of the sample size nn.

Demonstration: Sampling with Replacement from a Finite Population

  • Consider a population consisting of four numerical values: 4,5,7,84, 5, 7, 8, where population size N=4N = 4.

  • Population Parameters:

    • Population mean:     μ=1N∑i=1NXi=4+5+7+84=244=6.0\mu = \frac{1}{N}\sum_{i=1}^N X_i = \frac{4 + 5 + 7 + 8}{4} = \frac{24}{4} = 6.0
    • Population variance:     σ2=1N∑i=1N(Xi−μ)2\sigma^2 = \frac{1}{N}\sum_{i=1}^N (X_i - \mu)^2σ2=(4−6)2+(5−6)2+(7−6)2+(8−6)24\sigma^2 = \frac{(4 - 6)^2 + (5 - 6)^2 + (7 - 6)^2 + (8 - 6)^2}{4}σ2=(−2)2+(−1)2+12+224=4+1+1+44=104=2.5\sigma^2 = \frac{(-2)^2 + (-1)^2 + 1^2 + 2^2}{4} = \frac{4 + 1 + 1 + 4}{4} = \frac{10}{4} = 2.5
  • Complete Enumeration of Samples of Size n=2n = 2 Drawn with Replacement:

    • The total number of possible samples is Nn=42=16N^n = 4^2 = 16.
    • Sample 1: Indices (1,1)(1,1), Values (4,4)(4,4), Mean Xˉ1=4.0\bar{X}_1 = 4.0
    • Sample 2: Indices (1,2)(1,2), Values (4,5)(4,5), Mean Xˉ2=4.5\bar{X}_2 = 4.5
    • Sample 3: Indices (1,3)(1,3), Values (4,7)(4,7), Mean Xˉ3=5.5\bar{X}_3 = 5.5
    • Sample 4: Indices (1,4)(1,4), Values (4,8)(4,8), Mean Xˉ4=6.0\bar{X}_4 = 6.0
    • Sample 5: Indices (2,1)(2,1), Values (5,4)(5,4), Mean Xˉ5=4.5\bar{X}_5 = 4.5
    • Sample 6: Indices (2,2)(2,2), Values (5,5)(5,5), Mean Xˉ6=5.0\bar{X}_6 = 5.0
    • Sample 7: Indices (2,3)(2,3), Values (5,7)(5,7), Mean Xˉ7=6.0\bar{X}_7 = 6.0
    • Sample 8: Indices (2,4)(2,4), Values (5,8)(5,8), Mean Xˉ8=6.5\bar{X}_8 = 6.5
    • Sample 9: Indices (3,1)(3,1), Values (7,4)(7,4), Mean Xˉ9=5.5\bar{X}_9 = 5.5
    • Sample 10: Indices (3,2)(3,2), Values (7,5)(7,5), Mean Xˉ10=6.0\bar{X}_{10} = 6.0
    • Sample 11: Indices (3,3)(3,3), Values (7,7)(7,7), Mean Xˉ11=7.0\bar{X}_{11} = 7.0
    • Sample 12: Indices (3,4)(3,4), Values (7,8)(7,8), Mean Xˉ12=7.5\bar{X}_{12} = 7.5
    • Sample 13: Indices (4,1)(4,1), Values (8,4)(8,4), Mean Xˉ13=6.0\bar{X}_{13} = 6.0
    • Sample 14: Indices (4,2)(4,2), Values (8,5)(8,5), Mean Xˉ14=6.5\bar{X}_{14} = 6.5
    • Sample 15: Indices (4,3)(4,3), Values (8,7)(8,7), Mean Xˉ15=7.5\bar{X}_{15} = 7.5
    • Sample 16: Indices (4,4)(4,4), Values (8,8)(8,8), Mean Xˉ16=8.0\bar{X}_{16} = 8.0

Table of all 16 possible samples of size 2 with replacement and their sample means

  • Sampling Distribution Parameters from Empirical Values:

    • Mean of the distribution of means:     μXˉ=E(Xˉ)=116∑i=116Xˉi\mu_{\bar{X}} = E(\bar{X}) = \frac{1}{16}\sum_{i=1}^{16} \bar{X}_iμXˉ=4.0+4.5+5.5+6.0+4.5+5.0+6.0+6.5+5.5+6.0+7.0+7.5+6.0+6.5+7.5+8.016=96.016=6.0\mu_{\bar{X}} = \frac{4.0 + 4.5 + 5.5 + 6.0 + 4.5 + 5.0 + 6.0 + 6.5 + 5.5 + 6.0 + 7.0 + 7.5 + 6.0 + 6.5 + 7.5 + 8.0}{16} = \frac{96.0}{16} = 6.0
    • Variance of the distribution of means:     σXˉ2=116∑i=116(Xˉi−μXˉ)2\sigma_{\bar{X}}^2 = \frac{1}{16}\sum_{i=1}^{16} (\bar{X}_i - \mu_{\bar{X}})^2σXˉ2=(4.0−6)2+(4.5−6)2+(5.5−6)2+⋯+(8.0−6)216\sigma_{\bar{X}}^2 = \frac{(4.0 - 6)^2 + (4.5 - 6)^2 + (5.5 - 6)^2 + \dots + (8.0 - 6)^2}{16}σXˉ2=(−2.0)2+(−1.5)2+(−0.5)2+02+(−1.5)2+(−1.0)2+02+0.52+(−0.5)2+02+1.02+1.52+02+0.52+1.52+2.0216\sigma_{\bar{X}}^2 = \frac{(-2.0)^2 + (-1.5)^2 + (-0.5)^2 + 0^2 + (-1.5)^2 + (-1.0)^2 + 0^2 + 0.5^2 + (-0.5)^2 + 0^2 + 1.0^2 + 1.5^2 + 0^2 + 0.5^2 + 1.5^2 + 2.0^2}{16}σXˉ2=4.0+2.25+0.25+0+2.25+1.0+0+0.25+0.25+0+1.0+2.25+0+0.25+2.25+4.016=20.016=1.25\sigma_{\bar{X}}^2 = \frac{4.0 + 2.25 + 0.25 + 0 + 2.25 + 1.0 + 0 + 0.25 + 0.25 + 0 + 1.0 + 2.25 + 0 + 0.25 + 2.25 + 4.0}{16} = \frac{20.0}{16} = 1.25
  • Verification of Theoretical Predictions:

    • For the mean:     μXˉ=6.0=μ\mu_{\bar{X}} = 6.0 = \mu
    • For the variance:     σ2n=2.52=1.25\frac{\sigma^2}{n} = \frac{2.5}{2} = 1.25σXˉ2=σ2n=1.25\sigma_{\bar{X}}^2 = \frac{\sigma^2}{n} = 1.25

Sampling Distribution of the Mean for Finite Populations

  • When sampling without replacement from a finite population of size NN, observations are statistically dependent.

  • Theorem for Finite Populations: If Xˉ\bar{X} is the mean of a random sample of size nn drawn without replacement from a finite population of size NN with mean μ\mu and variance σ2\sigma^2, then:

    • Expected value:     E(Xˉ)=μE(\bar{X}) = \mu
    • Variance:     var(Xˉ)=σ2n(N−nN−1)\text{var}(\bar{X}) = \frac{\sigma^2}{n}\left(\frac{N - n}{N - 1}\right)
  • Proof of Variance for Finite Populations:

    • Express the sample mean as:     Xˉ=1n∑i=1nXi\bar{X} = \frac{1}{n}\sum_{i=1}^n X_i
    • Applying variance:     var(Xˉ)=var(1n∑i=1nXi)=1n2var(∑i=1nXi)\text{var}(\bar{X}) = \text{var}\left(\frac{1}{n}\sum_{i=1}^n X_i\right) = \frac{1}{n^2}\text{var}\left(\sum_{i=1}^n X_i\right)
    • Expanding the variance of dependent random variables:     var(∑i=1nXi)=∑i=1nvar(Xi)+2∑1≤i<j≤ncov(Xi,Xj)\text{var}\left(\sum_{i=1}^n X_i\right) = \sum_{i=1}^n \text{var}(X_i) + 2\sum_{1 \le i < j \le n} \text{cov}(X_i, X_j)var(∑i=1nXi)=nσ2+2(n2)cov(Xi,Xj)=nσ2+n(n−1)cov(Xi,Xj)\text{var}\left(\sum_{i=1}^n X_i\right) = n\sigma^2 + 2\binom{n}{2}\text{cov}(X_i, X_j) = n\sigma^2 + n(n - 1)\text{cov}(X_i, X_j)
    • To calculate cov(Xi,Xj)\text{cov}(X_i, X_j), where i≠ji \neq j:     cov(Xi,Xj)=E[(Xi−μ)(Xj−μ)]=∑k=1N∑l=1,l≠kN(Xk−μ)(Xl−μ)N(N−1)\text{cov}(X_i, X_j) = E[(X_i - \mu)(X_j - \mu)] = \sum_{k=1}^N \sum_{l=1, l \neq k}^N \frac{(X_k - \mu)(X_l - \mu)}{N(N - 1)}
    • Using the algebraic identity for the sum of products:     (∑k=1N(Xk−μ))2=∑k=1N(Xk−μ)2+∑k=1N∑l≠k(Xk−μ)(Xl−μ)\left(\sum_{k=1}^N (X_k - \mu)\right)^2 = \sum_{k=1}^N (X_k - \mu)^2 + \sum_{k=1}^N \sum_{l \neq k} (X_k - \mu)(X_l - \mu)
    • Because deviations about the mean sum to zero, ∑k=1N(Xk−μ)=0\sum_{k=1}^N (X_k - \mu) = 0:     0=∑k=1N(Xk−μ)2+∑k=1N∑l≠k(Xk−μ)(Xl−μ)0 = \sum_{k=1}^N (X_k - \mu)^2 + \sum_{k=1}^N \sum_{l \neq k} (X_k - \mu)(X_l - \mu)∑k=1N∑l≠k(Xk−μ)(Xl−μ)=−∑k=1N(Xk−μ)2=−Nσ2\sum_{k=1}^N \sum_{l \neq k} (X_k - \mu)(X_l - \mu) = -\sum_{k=1}^N (X_k - \mu)^2 = -N\sigma^2
    • Substituting this back into the covariance formula:     cov(Xi,Xj)=−Nσ2N(N−1)=−σ2N−1\text{cov}(X_i, X_j) = \frac{-N\sigma^2}{N(N - 1)} = -\frac{\sigma^2}{N - 1}
    • Substituting the covariance into the total variance:     var(Xˉ)=1n2[nσ2+n(n−1)(−σ2N−1)]\text{var}(\bar{X}) = \frac{1}{n^2}\left[n\sigma^2 + n(n - 1)\left(-\frac{\sigma^2}{N - 1}\right)\right]var(Xˉ)=σ2n−(n−1)σ2n(N−1)=σ2n(1−n−1N−1)\text{var}(\bar{X}) = \frac{\sigma^2}{n} - \frac{(n - 1)\sigma^2}{n(N - 1)} = \frac{\sigma^2}{n}\left(1 - \frac{n - 1}{N - 1}\right)var(Xˉ)=σ2n((N−1)−(n−1)N−1)=σ2n(N−nN−1)\text{var}(\bar{X}) = \frac{\sigma^2}{n}\left(\frac{(N - 1) - (n - 1)}{N - 1}\right) = \frac{\sigma^2}{n}\left(\frac{N - n}{N - 1}\right)
  • The Finite Population Correction Factor:

    • The expression N−nN−1\frac{N - n}{N - 1} is designated as the finite population correction (fpc) factor.
    • When NN is exceptionally large relative to the sample size nn, the correction factor approaches unity:     N−nN−1≈1\frac{N - n}{N - 1} \approx 1
  • Example: Sampling Without Replacement:

    • For the population {4,5,7,8}\{4, 5, 7, 8\} (N=4N = 4, μ=6.0\mu = 6.0, σ2=2.5\sigma^2 = 2.5), sampling n=2n = 2 elements without replacement yields (42)=6\binom{4}{2} = 6 distinct sample combinations:
    • Sample 1: Values {4,5}\{4, 5\}, Mean Xˉ=4.5\bar{X} = 4.5
    • Sample 2: Values {4,7}\{4, 7\}, Mean Xˉ=5.5\bar{X} = 5.5
    • Sample 3: Values {4,8}\{4, 8\}, Mean Xˉ=6.0\bar{X} = 6.0
    • Sample 4: Values {5,7}\{5, 7\}, Mean Xˉ=6.0\bar{X} = 6.0
    • Sample 5: Values {5,8}\{5, 8\}, Mean Xˉ=6.5\bar{X} = 6.5
    • Sample 6: Values {7,8}\{7, 8\}, Mean Xˉ=7.5\bar{X} = 7.5
    • The mean of the distribution of means is:     μXˉ=4.5+5.5+6.0+6.0+6.5+7.56=36.06=6.0\mu_{\bar{X}} = \frac{4.5 + 5.5 + 6.0 + 6.0 + 6.5 + 7.5}{6} = \frac{36.0}{6} = 6.0
    • The variance of the distribution of means is:     σXˉ2=(4.5−6)2+(5.5−6)2+(6.0−6)2+(6.0−6)2+(6.5−6)2+(7.5−6)26\sigma_{\bar{X}}^2 = \frac{(4.5 - 6)^2 + (5.5 - 6)^2 + (6.0 - 6)^2 + (6.0 - 6)^2 + (6.5 - 6)^2 + (7.5 - 6)^2}{6}σXˉ2=2.25+0.25+0.0+0.0+0.25+2.256=5.06≈0.8333\sigma_{\bar{X}}^2 = \frac{2.25 + 0.25 + 0.0 + 0.0 + 0.25 + 2.25}{6} = \frac{5.0}{6} \approx 0.8333
    • Theoretical verification:     σXˉ2=σ2n(N−nN−1)=2.52(4−24−1)=1.25×23=2.53=56≈0.8333\sigma_{\bar{X}}^2 = \frac{\sigma^2}{n}\left(\frac{N - n}{N - 1}\right) = \frac{2.5}{2}\left(\frac{4 - 2}{4 - 1}\right) = 1.25 \times \frac{2}{3} = \frac{2.5}{3} = \frac{5}{6} \approx 0.8333

Sampling Distribution of Proportions

  • Parameter Definitions:

    • The population proportion PP is defined as:     P=XNP = \frac{X}{N}     where XX represents the total number of elements in the population possessing a specific trait, and NN is the total population size.
    • The sample proportion p^\hat{p} is defined as:     p^=xn\hat{p} = \frac{x}{n}     where xx represents the observed number of elements in the sample possessing the trait, and nn is the sample size.
  • Sampling with Replacement:

    • A sample proportion p^\hat{p} represents the proportion of successes obtained by dividing the count of successes xx by the sample size nn.
    • When a sample of size nn is drawn with replacement, the count of successes obeys the Binomial probability law:     x∼Binomial(n,P)x \sim \text{Binomial}(n, P)
    • Theorem for Proportions with Replacement:
    • Expected value:       E(p^)=PE(\hat{p}) = P
    • Variance:       var(p^)=P(1−P)n\text{var}(\hat{p}) = \frac{P(1 - P)}{n}
    • Example: Defective Bulbs with Replacement:
    • A consignment contains 20%20\% defective bulbs (P=0.20P = 0.20), and a random sample of size n=250n = 250 is drawn with replacement.
    • Expectation of the sample proportion:       E(p^)=P=0.20E(\hat{p}) = P = 0.20
    • Variance of the sample proportion:       var(p^)=P(1−P)n=0.20(1−0.20)250=0.20×0.80250=0.16250=0.00064\text{var}(\hat{p}) = \frac{P(1 - P)}{n} = \frac{0.20(1 - 0.20)}{250} = \frac{0.20 \times 0.80}{250} = \frac{0.16}{250} = 0.00064
    • Standard error of the sample proportion:       σp^=var(p^)=0.00064≈0.0253\sigma_{\hat{p}} = \sqrt{\text{var}(\hat{p})} = \sqrt{0.00064} \approx 0.0253
  • Sampling Without Replacement:

    • When sampling is conducted without replacement from a finite population, the count of successes xx obeys the Hypergeometric probability law.
    • Theorem for Proportions Without Replacement:
    • Expected value:       E(p^)=PE(\hat{p}) = P
    • Variance:       var(p^)=P(1−P)n(N−nN−1)\text{var}(\hat{p}) = \frac{P(1 - P)}{n}\left(\frac{N - n}{N - 1}\right)
    • Example: Male Students Without Replacement:
    • In a class of N=50N = 50 students, 2020 are female and 3030 are male. A random sample of n=12n = 12 students is drawn without replacement.
    • The population proportion of males is:       P=3050=0.60P = \frac{30}{50} = 0.60
    • Variance of the sample proportion:       var(p^)=P(1−P)n(N−nN−1)\text{var}(\hat{p}) = \frac{P(1 - P)}{n}\left(\frac{N - n}{N - 1}\right)var(p^)=0.60(1−0.60)12(50−1250−1)=0.2412(3849)\text{var}(\hat{p}) = \frac{0.60(1 - 0.60)}{12}\left(\frac{50 - 12}{50 - 1}\right) = \frac{0.24}{12}\left(\frac{38}{49}\right)var(p^)=0.02×3849=0.7649≈0.01551\text{var}(\hat{p}) = 0.02 \times \frac{38}{49} = \frac{0.76}{49} \approx 0.01551
    • Standard error of the sample proportion:       σp^=0.7649=0.767≈0.87187≈0.1245\sigma_{\hat{p}} = \sqrt{\frac{0.76}{49}} = \frac{\sqrt{0.76}}{7} \approx \frac{0.8718}{7} \approx 0.1245

Sampling Distribution of the Variance

  • Definitions and Sample Variance:

    • Let X1,X2,…,XnX_1, X_2, \dots, X_n denote a random sample of size nn drawn from a distribution with mean μ\mu and variance σ2\sigma^2.
    • The standard sample variance is defined as:     S2=1n∑i=1n(Xi−Xˉ)2S^2 = \frac{1}{n}\sum_{i=1}^n (X_i - \bar{X})^2
  • Theorem for Infinite Populations or Sampling with Replacement:

    • The expected value of the sample variance S2S^2 is:     E(S2)=(n−1n)σ2E(S^2) = \left(\frac{n - 1}{n}\right)\sigma^2
  • Proof of Expected Sample Variance:

    • Express the deviations about the sample mean using the identity:     Xi−Xˉ=(Xi−μ)−(Xˉ−μ)X_i - \bar{X} = (X_i - \mu) - (\bar{X} - \mu)
    • Squaring and summing both sides over all ii:     ∑i=1n(Xi−Xˉ)2=∑i=1n[((Xi−μ)−(Xˉ−μ))2]\sum_{i=1}^n (X_i - \bar{X})^2 = \sum_{i=1}^n [((X_i - \mu) - (\bar{X} - \mu))^2]∑i=1n(Xi−Xˉ)2=∑i=1n(Xi−μ)2−2(Xˉ−μ)∑i=1n(Xi−μ)+n(Xˉ−μ)2\sum_{i=1}^n (X_i - \bar{X})^2 = \sum_{i=1}^n (X_i - \mu)^2 - 2(\bar{X} - \mu)\sum_{i=1}^n (X_i - \mu) + n(\bar{X} - \mu)^2
    • Because ∑i=1n(Xi−μ)=n(Xˉ−μ)\sum_{i=1}^n (X_i - \mu) = n(\bar{X} - \mu), the cross-term simplifies to:     −2n(Xˉ−μ)2-2n(\bar{X} - \mu)^2
    • Combining the expressions:     ∑i=1n(Xi−Xˉ)2=∑i=1n(Xi−μ)2−n(Xˉ−μ)2\sum_{i=1}^n (X_i - \bar{X})^2 = \sum_{i=1}^n (X_i - \mu)^2 - n(\bar{X} - \mu)^2
    • Dividing both sides by nn yields the formula for S2S^2:     S2=1n∑i=1n(Xi−μ)2−(Xˉ−μ)2S^2 = \frac{1}{n}\sum_{i=1}^n (X_i - \mu)^2 - (\bar{X} - \mu)^2
    • Taking expectations of both sides:     E(S2)=1n∑i=1nE[(Xi−μ)2]−E[(Xˉ−μ)2]E(S^2) = \frac{1}{n}\sum_{i=1}^n E[(X_i - \mu)^2] - E[(\bar{X} - \mu)^2]
    • Recognizing that E[(Xi−μ)2]=var(Xi)=σ2E[(X_i - \mu)^2] = \text{var}(X_i) = \sigma^2 and E[(Xˉ−μ)2]=var(Xˉ)=σ2nE[(\bar{X} - \mu)^2] = \text{var}(\bar{X}) = \frac{\sigma^2}{n}:     E(S2)=1n(nσ2)−σ2n=σ2−σ2n=(n−1n)σ2E(S^2) = \frac{1}{n}(n\sigma^2) - \frac{\sigma^2}{n} = \sigma^2 - \frac{\sigma^2}{n} = \left(\frac{n - 1}{n}\right)\sigma^2
  • Corrected Sample Variance and Bias Correction:

    • Because E(S2)=n−1nσ2<σ2E(S^2) = \frac{n - 1}{n}\sigma^2 < \sigma^2, the sample variance S2S^2 is a biased estimator of σ2\sigma^2, systematically underestimating the population variance.
    • For large sample sizes (such as n≥30n \ge 30), n−1n≈1\frac{n - 1}{n} \approx 1, meaning E(S2)E(S^2) is approximately equal to σ2\sigma^2.
    • To eliminate the negative bias entirely, the corrected sample variance (unbiased estimator of variance), denoted S^2\hat{S}^2, is defined:     S^2=nn−1S2=1n−1∑i=1n(Xi−Xˉ)2\hat{S}^2 = \frac{n}{n - 1}S^2 = \frac{1}{n - 1}\sum_{i=1}^n (X_i - \bar{X})^2
    • Expectation of the corrected sample variance:     E(S^2)=E(nn−1S2)=nn−1E(S2)=nn−1(n−1nσ2)=σ2E(\hat{S}^2) = E\left(\frac{n}{n - 1}S^2\right) = \frac{n}{n - 1}E(S^2) = \frac{n}{n - 1}\left(\frac{n - 1}{n}\sigma^2\right) = \sigma^2
    • The computational formula for the corrected sample variance is:     S^2=1n−1[∑i=1nXi2−1n(∑i=1nXi)2]\hat{S}^2 = \frac{1}{n - 1}\left[\sum_{i=1}^n X_i^2 - \frac{1}{n}\left(\sum_{i=1}^n X_i\right)^2\right]
  • Practical Application Guidelines:

    • When the sample size is small (n<30n < 30), the corrected sample variance S^2\hat{S}^2 must be employed.
    • When the sample size is large (n≥30n \ge 30), the uncorrected sample variance S2S^2 is conventionally used, as the numerical disparity between nn and n−1n - 1 is practically negligible.
  • Finite Population Theorem for Variances:

    • Theorem: If sampling is conducted without replacement from a finite population of size NN, the mean of the sampling distribution of variances is:     E(S2)=(NN−1)(n−1n)σ2E(S^2) = \left(\frac{N}{N - 1}\right)\left(\frac{n - 1}{n}\right)\sigma^2
    • As N→∞N \to \infty, the correction ratio approaches unity:     lim⁡N→∞(NN−1)=1\lim_{N \to \infty} \left(\frac{N}{N - 1}\right) = 1lim⁡N→∞E(S2)=(n−1n)σ2\lim_{N \to \infty} E(S^2) = \left(\frac{n - 1}{n}\right)\sigma^2
  • Numerical Verification (Preceding Example):

    • For the population {4,5,7,8}\{4, 5, 7, 8\} where N=4N = 4, n=2n = 2, and σ2=2.5\sigma^2 = 2.5:
    • The expected value of the sample variance is:       E(S2)=(2−12)(2.5)=1.25E(S^2) = \left(\frac{2 - 1}{2}\right)(2.5) = 1.25
    • The expected value of the corrected sample variance is:       E(S^2)=σ2=2.5E(\hat{S}^2) = \sigma^2 = 2.5