Académique Documents
Professionnel Documents
Culture Documents
1. Sample Statistics
For a sample x1 , . . . , xn :
Pn
• sample mean: x̄ = n1 i=1 xi
Pn Pn
• corrected sum of squares: Sxx = i=1 (xi − x̄)2 = i=1 x2i − nx̄2
1
• sample variance: s2 = n−1 Sxx
2. Probability
Consider events A and B:
• A and B are mutually exclusive if P (A ∩ B) = 0
• A and B are exhaustive if P (A ∪ B) = 1
• A and B are independent if P (A ∩ B) = P (A)P (B)
Additive law: P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
P (A∩B)
Conditional probability: P (A|B) = P (B)
Total probability: P (A) = P (A|B)P (B) + P (A|B c )P (B c )
More generally, if B1 , . . . , Bn are mutually exclusive and exhaustive events:
P (A) = P (A|B1 )P (B1 ) + P (A|B2 )P (B2 ) + . . . + P (A|Bn )P (Bn )
P (A|B)P (B)
Bayes’ formula: P (B|A) = P (A)
1
5. Estimators and standard errors
Parameter Estimator Standard Error
√
population mean µ (known variance) x̄ σ/√ n
population mean µ (unknown variance) x̄ s/
q n 2
σx σy2
diff. of popn. means µx − µy (known variances) x̄ − ȳ +
q n2x ny
sx s2y
diff. of popn. means µx − µy (unknown variances) x̄ − ȳ n + n
qx y
6. Correlation
For a sample of pairs (x1 , y1 ), . . . , (xn , yn ):
Pn
• corrected sum of squares for x: Sxx = i=1 x2i − nx̄2
Pn
• corrected sum of squares for y: Syy = i=1 yi2 − nȳ 2
Pn Pn
• corrected sum of cross products: Sxy = i=1 (xi − x̄)(yi − ȳ) = i=1 xi yi − nx̄ȳ
7. Regression
Simple regression model: Yi = α + βxi + εi where εi ∼ N (0, σ 2 )