Math 2.0

Statistics Definition

Sample mean and sample covariance

Builds on Sample meanSample varianceCovariance matrixStatistic

Definition

Let n≥2n \ge 2 and k≥1k \ge 1, and let X1,…,XnX_1, \dots, X_n be random vectors in ℝk\R^k, written as columns. The sample mean is the statistic Xˉ=1n∑i=1nXi∈ℝk.\bar{X} = \frac{1}{n} \sum_{i=1}^{n} X_i \in \R^k. The sample covariance matrix is the k×kk \times k matrix Q=1n−1∑i=1n(Xi−Xˉ)(Xi−Xˉ)T.Q = \frac{1}{n - 1} \sum_{i=1}^{n} \left(X_i - \bar{X}\right)\left(X_i - \bar{X}\right)^T. Its entry QjlQ_{jl} is the sample covariance of the jj-th and the ll-th coordinates.

Remarks

Example: for the observations (0,0)T(0, 0)^T and (2,2)T(2, 2)^T, the mean is (1,1)T(1, 1)^T and the deviations are (−1,−1)T(-1, -1)^T and (1,1)T(1, 1)^T. Each deviation gives the matrix with all entries 11, so QQ has all four entries equal to 22. For k=1k = 1, Xˉ\bar{X} is the sample mean and QQ is the sample variance. If the XiX_i are i.i.d. with mean vector μ\mu and finite covariance matrix Σ\Sigma, then E[Xˉ]=μE[\bar{X}] = \mu and E[Q]=ΣE[Q] = \Sigma. Non-example: the matrix with divisor nn in place of n−1n - 1 is also used, but it is not unbiased; its expectation is n−1nΣ\frac{n-1}{n}\Sigma. The matrix QQ is symmetric and positive semidefinite, and it is singular when n≤kn \le k.

Reading path

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

  1. Construction of the reals from Cauchy sequences concept
  2. Element definition
  3. Integers object
  4. Ordered field definition
  5. Proposition concept
  6. Random experiment concept
  7. Rational numbers object
  8. Real numbers object
  9. Set definition
  10. Ring of integers statement
  11. Disjunction definition
  12. Implication definition
  13. Predicate definition
  14. Ordered pair definition
  15. Union definition
  16. Sample space definition
  17. The rationals form a field statement
  18. Existential quantifier definition
  19. Universal quantifier definition
  20. Cartesian product definition
  21. Subset definition
  22. The rationals form an ordered field statement
  23. Uniqueness quantifier definition
  24. Binary relation definition
  25. Universal set definition
  26. Order on the reals definition
  27. Power set definition
  28. Complement definition
  29. Function definition
  30. Interval definition
  31. Injective function definition
  32. Preimage of a set definition
  33. Sigma-algebra definition
  34. Countable set definition
  35. Event definition
  36. Borel sigma-algebra definition
  37. Probability axioms concept
  38. Probability measure definition
  39. Probability distribution definition
  40. Probability space definition
  41. Conditional probability definition
  42. Random variable definition
  43. Discrete random variable definition
  44. Law of a random variable definition
  45. Independence of two events definition
  46. Random variable with a density definition
  47. Joint probability distribution definition
  48. Identically distributed random variables definition
  49. Expected value definition
  50. Mutual independence of events definition
  51. Independence of two random variables definition
  52. Marginal distribution definition
  53. Variance definition
  54. Linearity of expectation statement
  55. Independent sigma-algebras definition
  56. Independence means the joint law is the product of the marginals statement
  57. Covariance definition
  58. Independence of random variables definition
  59. Covariance matrix definition
  60. Variance of a sum statement
  61. Independent and identically distributed random variables definition
  62. Expectation of a product of independent random variables statement
  63. Statistic definition
  64. Independent random variables are uncorrelated statement
  65. Estimator definition
  66. Variance of a sum of independent random variables statement
  67. Bias of an estimator definition
  68. Sample mean definition
  69. Sample variance definition
  70. Sample mean and sample covariance definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Sample_mean_and_covariance
About this page
Tag9JP83HPAEX
URIm2://9JP83HPAEX
Kinddefinition
WritingW0 stub
MSC62H12, 62F10
DefinesSample mean and sample covariance
UsesSample mean, Sample variance, Covariance matrix, Statistic

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.