Free · printable
CS1 formula sheet
58 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 · 58 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! + …
= 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 − μ)³]
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
Sn = ∑Xi ≈ N(nμ, nσ²) for the total
sd(X̄) = σ√n / n = σ/√n
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)
ℓ(p) = 3 ln p + 7 ln(1 − p)
ℓ′(p) = 3/p − 7/(1 − p)
I(θ) = −E[d²ℓ/dθ²] and θ̂ ≈ N(θ, 1/I(θ))
Hypothesis testing and p-values, without the folklore
p = P(a test statistic at least as extreme as the one observed | H0 is true)
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)
(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)]
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
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
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
Λ = (largest likelihood allowed under H0) / (largest likelihood allowed overall)
−2 ln Λ = 2[ ℓ(θ̂) − ℓ(θ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
df = (number of categories) − 1 − (number of parameters estimated from the data)
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
0.95³ = 0.857375 → P(at least one false alarm) = 0.142625
ΣΣ(xij − x̄)² = Σ nj(x̄j − x̄)² + ΣΣ(xij − x̄j)²
SStotal = SSbetween + SSwithin
MSbetween = SSbetween/(k − 1) MSwithin = SSwithin/(N − k)
F = MSbetween / MSwithin
F = MSbetween / MSwithin
Multiple linear regression, and what controlling for another variable really does
yi = α + β1x1i + β2x2i + … + εi
α̂ = ȳ − β̂1x̄1 − β̂2x̄2
Syy = SSregression + SSresidual
s² = SSresidual/(n − p − 1)
R²adj = 1 − (1 − R²)(n − 1)/(n − p − 1)
Free from S.MONK School of Actuaries · smonk.in · every formula here is explained, with a worked example, on the page it links to.