Formula Sheet STAT 2066
Formula Sheet STAT 2066
1. Descriptive Statistics
1.2 Variance
N
(xi − µ)2
P
i=1
Population variance: σ 2 =
N
1
n
(xi − x̄)2
P
i=1
Sample variance: s2 =
n −1
n
2
P
n xi
1 X 2 i=1
= x −
n − 1 i=1 i n
n
P
(xi − x̄)(yi − ȳ)
i=1
Sample covariance: sxy =
n − 1 n n
P P
n xi yi
1 X i=1 i=1
= xi y i −
n − 1 i=1 n
2
1.7 Coefficient of Correlation
σxy
Population coefficient of correlation: ρ =
σx σy
sxy
Sample coefficient of correlation: r =
sx sy
sxy
b1 =
s2x
b0 = ȳ − b1 x̄
2. Probability Laws
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
P (A ∩ B)
P (A|B) =
P (B)
X
E[X] = µ = xP (x)
allx
X
2
V (X) = σ = (x − µ)2 P (x)
allx
X
= x P (x) − µ2
2
allx
E[c] = c
E[X + c] = E[X] + c
E[cX] = cE[X]
3
5. Laws of Variance
V (c) = 0
V (X + c) = V (X)
V (cX) = c2 V (X)
6. Binomial Distribution
X ∼ Bin(n, p)
n!
P (x) = px (1 − p)(n−x) for x = 0, 1, 2 . . . , n
x!(n − x)!
E[X] = np
V (X) = np(1 − p)
7. Poisson Distribution
X ∼ P oi(µ)
e−µ µx
P (x) = for x = 0, 1, 2 . . .
x!
E[X] = V (X) = µ