Free · printable
CS1 formula sheet
85 formulae from Actuarial Statistics, gathered from the explainers that teach them. Print it, or tap any heading to read the page it came from.
S.MONK · CS1 formula sheet · 85 formulae · smonk.in/formula-sheet/cs1
Moment generating functions, and how to get moments out of them
MX(t) = E[etX]
M(t) = ½ e0 + ½ et = ½ (1 + et)
M(t) = E[1 + tX + t²X²/2! + t³X³/3! + …]
= 1 + t E[X] + t² E[X²]/2! + t³ E[X³]/3! + …
E[Xk] = M(k)(0)
KX(t) = ln MX(t)
K′(0) = E[X]
K″(0) = Var(X)
K′″(0) = E[(X − μ)³]
MX+Y(t) = MX(t) × MY(t) and KX+Y(t) = KX(t) + KY(t)
The central limit theorem, and when the normal approximation is safe
Zn = (X̄ − μ) / (σ/√n) → N(0, 1)
X̄ ≈ N(μ, σ²/n) for the average
Sn = ∑Xi ≈ N(nμ, nσ²) for the total
sd(X̄) = σ√n / n = σ/√n
P(N ≤ 110) ≈ P(Z ≤ (110.5 − μ)/σ)
P(N ≥ 110) ≈ P(Z ≥ (109.5 − μ)/σ)
Maximum likelihood estimation, step by step
L(θ) = f(x1, …, xn | θ) = ∏i f(xi | θ) for independent observations
L(p) = p³ (1 − p)7
ℓ(p) = 3 ln p + 7 ln(1 − p)
ℓ′(p) = 3/p − 7/(1 − p)
I(θ) = −E[d²ℓ/dθ²] and θ̂ ≈ N(θ, 1/I(θ))
Confidence intervals: what the 95% actually means
(X̄ − μ) / (σ/√n) ≈ N(0, 1)
X̄ ± 1.96 σ/√n
(X̄ − μ) / (s/√n) ~ tn−1 → X̄ ± tn−1, 0.975 × s/√n
p̂ ± z √(p̂(1 − p̂)/n)
|(X̄ − μ0) / (s/√n)| > tn−1, 0.975
Simple linear regression: least squares, fitted by hand
Yi = α + βxi + εi, εi ~ N(0, σ²) independently
S(α, β) = ∑ (yi − α − βxi)²
β̂ = Sxy / Sxx α̂ = ȳ − β̂ x̄
Sxx = ∑(xi − x̄)² Syy = ∑(yi − ȳ)² Sxy = ∑(xi − x̄)(yi − ȳ)
Sxy = ∑xiyi − (∑xi)(∑yi)/n Sxx = ∑xi² − (∑xi)²/n
Syy = β̂Sxy + SSres
(total) = (explained by the regression) + (residual)
R² = 1 − SSres/Syy = explained / total
σ̂² = SSres / (n − 2)
se(β̂) = σ̂ / √Sxx t = β̂ / se(β̂) ~ tn−2 under H0: β = 0
Generalised linear models: the three parts, and the link function
η = β0 + β1x1 + … + βpxp
g(μ) = η, where μ = E[Y]
μ = eβ0 + β1x1 + β2x2 = eβ0 × eβ1x1 × eβ2x2
ln(μ) = ln(exposure) + β0 + β1x1 + …
D = 2[ℓsaturated − ℓmodel]
D = 2 ∑ [o ln(o/e) − (o − e)]
Dsmall − Dlarge ~ χ²(extra parameters)
Bayesian estimation, conjugate priors and the credibility formula inside them
π(θ | x) = f(x | θ) π(θ) / f(x) → posterior ∝ likelihood × prior
posterior mean = (α + ∑x)/(β + n)
posterior mean = Z × x̄ + (1 − Z) × (α/β), where Z = n/(n + β)
Conditional expectation, and the variance decomposition that comes with it
(10 × 60 + 30 × 70) / 40 = (600 + 2100) / 40 = 2700 / 40 = 67.5
E[X] = E[ E[X | Y] ]
Var(X) = E[ Var(X | Y) ] + Var( E[X | Y] )
Sampling distributions: what the sample mean and sample variance actually do
E[X̄] = μ Var(X̄) = σ²/n
(n − 1)S² / σ² ~ χ²n−1
(X̄ − μ) / (S/√n) ~ tn−1
S² = Σ(Xi − X̄)² / (n − 1) gives E[S²] = σ²
The method of moments, and when maximum likelihood is worth the extra work
E[X] = x̄ E[X²] = Σxi²/n E[X³] = Σxi³/n and so on
1/λ = x̄ → λ̂ = 1/x̄
m2 = Σ(xi − x̄)²/n s² = Σ(xi − x̄)²/(n − 1)
The likelihood ratio test, and why the Wald and score tests exist too
L(θ1) / L(θ0) > k
−2 ln Λ = 2[ ℓ(θ̂) − ℓ(θ0) ]
ℓ(θ0) ≈ ℓ(θ̂) − ½ I(θ̂) (θ̂ − θ0)²
W = (θ̂ − θ0)² I(θ̂)
S = [ℓ′(θ0)]² / I(θ0)
The chi-square goodness of fit test, and how to get its degrees of freedom right
χ² = Σ (Oi − Ei)² / Ei
χ² = (60−50)²/50 + (40−50)²/50 = 2 + 2 = 4
Contingency tables: testing whether two classifications are related
Eij = n × (Ri/n) × (Cj/n) = Ri Cj / n
χ² = ΣΣ (Oij − Eij)² / Eij
df = (r − 1)(c − 1)
df = rc − 1 − (r − 1) − (c − 1) = rc − r − c + 1 = (r − 1)(c − 1)
Analysis of variance: comparing three or more means at once
ΣΣ(xij − x̄)² = Σ nj(x̄j − x̄)² + ΣΣ(xij − x̄j)²
SStotal = SSbetween + SSwithin
SSbetween = 2(2−4)² + 2(6−4)² = 8 + 8 = 16
SSwithin = [(1−2)²+(3−2)²] + [(5−6)²+(7−6)²] = 2 + 2 = 4
SStotal = (1−4)²+(3−4)²+(5−4)²+(7−4)² = 9+1+1+9 = 20
MSbetween = SSbetween/(k − 1) MSwithin = SSwithin/(N − k)
F = MSbetween / MSwithin
Multiple linear regression, and what controlling for another variable really does
yi = α + β1x1i + β2x2i + … + εi
S11β1 + S12β2 = S1y
S12β1 + S22β2 = S2y
β̂1 = (S22S1y − S12S2y) / (S11S22 − S12²)
β̂2 = (S11S2y − S12S1y) / (S11S22 − S12²)
α̂ = ȳ − β̂1x̄1 − β̂2x̄2
β̂1 = S1y/S11 β̂2 = S2y/S22
Syy = SSregression + SSresidual
s² = SSresidual/(n − p − 1)
R²adj = 1 − (1 − R²)(n − 1)/(n − p − 1)
VIF = 1/(1 − r12²)
Free from S.MONK School of Actuaries · smonk.in · every formula here is explained, with a worked example, on the page it links to.