Math 2.0

Statistics Distribution theory Theorem

Independence of sample mean and sample variance for normal samples

Builds on Cochran's theoremSample meanSample varianceNormal distributionIndependent and identically distributed random variablesChi-squared distributionIndependence of two random variablesStudent's t-distribution

Statement

Let n≥2n \ge 2, and let X1,…,XnX_1, \dots, X_n be independent and identically distributed with the normal distribution 𝒩(μ,σ2)\mathcal{N}(\mu, \sigma^2), where σ>0\sigma > 0. Let Xˉ=1n∑i=1nXi\bar{X} = \frac{1}{n}\sum_{i=1}^n X_i be the sample mean and S2=1n−1∑i=1n(Xi−Xˉ)2S^2 = \frac{1}{n-1}\sum_{i=1}^n (X_i - \bar{X})^2 the sample variance. Then:

  1. Xˉ\bar{X} and S2S^2 are independent;
  2. Xˉ∼𝒩(μ,σ2/n)\bar{X} \sim \mathcal{N}(\mu, \sigma^2/n);
  3. (n−1)S2/σ2(n - 1) S^2/\sigma^2 has the chi-squared distribution with n−1n - 1 degrees of freedom.

Remarks

Put Zi=(Xi−μ)/σZ_i = (X_i - \mu)/\sigma, which are independent standard normal. Cochran's theorem with A1=1nJA_1 = \frac{1}{n} J and A2=In−1nJA_2 = I_n - \frac{1}{n} J, where JJ is the matrix of ones, shows that nZˉ2n \bar{Z}^2 and ∑i(Zi−Zˉ)2=(n−1)S2/σ2\sum_i (Z_i - \bar{Z})^2 = (n-1)S^2/\sigma^2 are independent, with χ2\chi^2 laws with 11 and n−1n - 1 degrees of freedom. Independence of Xˉ\bar{X} itself follows because Zˉ\bar{Z} is a function of the projection A1ZA_1 Z, which is independent of A2ZA_2 Z. Another proof uses an orthogonal matrix whose first row is (1,…,1)/n(1, \dots, 1)/\sqrt{n}.

At work: the statistic T=n(Xˉ−μ)/ST = \sqrt{n}(\bar{X} - \mu)/S is a standard normal variable divided by V/(n−1)\sqrt{V/(n-1)}, with V∼χn−12V \sim \chi^2_{n-1} independent of it. So TT has the Student t-distribution with n−1n - 1 degrees of freedom. This gives the one-sample tt-test and the tt confidence interval for μ\mu.

The normality hypothesis is necessary: for i.i.d. samples from a nondegenerate distribution with finite variance and n≥2n \ge 2, independence of Xˉ\bar{X} and S2S^2 holds only if the distribution is normal. For example, for Bernoulli variables, Xˉ=0\bar{X} = 0 forces S2=0S^2 = 0, while S2>0S^2 > 0 is possible when 0<Xˉ<10 < \bar{X} < 1.

Going deeper

For a student

The result is the case of two pieces of Cochran's theorem. It underlies the exact tt-test, the χ2\chi^2 confidence interval for σ2\sigma^2, and through them much of classical small-sample inference. The analogous result for multivariate normal samples says that the sample mean vector and the sample covariance matrix are independent, the latter with a Wishart distribution.

Reading path

To understand this page from the ground up, read these 99 pages in order. The foundations come first.

  1. Construction of the reals from Cauchy sequences concept
  2. Element definition
  3. Integers object
  4. Matrix definition
  5. Ordered field definition
  6. Proposition concept
  7. Quadratic form concept
  8. Random experiment concept
  9. Rational numbers object
  10. Real numbers object
  11. Vector space definition
  12. Set definition
  13. Ring of integers statement
  14. Square matrix definition
  15. Transpose definition
  16. Disjunction definition
  17. Implication definition
  18. Predicate definition
  19. Linear combination definition
  20. Linear subspace definition
  21. Ordered pair definition
  22. Union definition
  23. Idempotent matrix definition
  24. Symmetric matrix definition
  25. Sample space definition
  26. The rationals form a field statement
  27. Existential quantifier definition
  28. Universal quantifier definition
  29. Linear independence definition
  30. Linear span definition
  31. Cartesian product definition
  32. Subset definition
  33. The rationals form an ordered field statement
  34. Column space definition
  35. Uniqueness quantifier definition
  36. Spanning set definition
  37. Binary relation definition
  38. Universal set definition
  39. Order on the reals definition
  40. Power set definition
  41. Finite-dimensional vector space definition
  42. Basis definition
  43. Complement definition
  44. Function definition
  45. Interval definition
  46. Dimension definition
  47. Indicator function definition
  48. Injective function definition
  49. Preimage of a set definition
  50. Sigma-algebra definition
  51. Rank of a matrix definition
  52. Countable set definition
  53. Event definition
  54. Borel sigma-algebra definition
  55. Probability axioms concept
  56. Probability measure definition
  57. Dirac measure definition
  58. Probability distribution definition
  59. Probability space definition
  60. Conditional probability definition
  61. Random variable definition
  62. Discrete random variable definition
  63. Cumulative distribution function definition
  64. Independence of two events definition
  65. Law of a random variable definition
  66. Random variable with a density definition
  67. Joint probability distribution definition
  68. Independence of two random variables definition
  69. Mutual independence of events definition
  70. Expected value definition
  71. Probability density function definition
  72. Identically distributed random variables definition
  73. Marginal distribution definition
  74. Variance definition
  75. Independent sigma-algebras definition
  76. Linearity of expectation statement
  77. Cauchy distribution definition
  78. Density of the normal distribution definition
  79. Exponential distribution definition
  80. Independence means the joint law is the product of the marginals statement
  81. Independence of random variables definition
  82. Covariance definition
  83. Normal distribution definition
  84. Gamma distribution definition
  85. Expectation of a product of independent random variables statement
  86. Multivariate normal distribution definition
  87. Variance of a sum statement
  88. Independent and identically distributed random variables definition
  89. Independent random variables are uncorrelated statement
  90. Statistic definition
  91. Variance of a sum of independent random variables statement
  92. Estimator definition
  93. Sample mean definition
  94. Bias of an estimator definition
  95. Sample variance definition
  96. Chi-squared distribution definition
  97. Student's t-distribution definition
  98. Cochran's theorem statement
  99. Independence of sample mean and sample variance for normal samples statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Cochran%27s_theorem
About this page
TagKR80YEKVWB
URIm2://KR80YEKVWB
Kindstatement, theorem
WritingW0 stub
MSC62E15
StatusThis copy of the site has no build data. Run m2 status KR80YEKVWB.
AboutSample mean, Sample variance
UsesCochran's theorem, Sample mean, Sample variance, Normal distribution, Independent and identically distributed random variables, Chi-squared distribution, Independence of two random variables, Student's t-distribution

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.