This is the course formula sheet, organized by topic in the order the book
teaches them. Every symbol is defined the first time it appears, and the
notation matches the glossary and the mosaic/BSDA functions you
run in the labs. This page is reference-sheet material — the kind your
instructor may allow on an exam (see the course
randomization & exam policy).
For a discrete random variable X taking values xi with probabilities
P(xi):
Quantity
Formula
Symbols
Expected value (mean)
μ=E(X)=i∑xiP(xi)
μ = long-run average of X
Variance
σ2=i∑(xi−μ)2P(xi)
σ2 = spread of X
Standard deviation
σ=σ2
Binomial model (count of successes in n independent trials, each with
success probability p):
P(X=k)=(kn)pk(1−p)n−k,μ=np,σ=np(1−p)
where k = number of successes and (kn)=k!(n−k)!n! is
the number of ways to choose k successes.
Normal distributionN(μ,σ) — standardize any value to a z-score:
z=σx−μ
68–95–99.7 rule: about 68%, 95%, and 99.7% of values fall within
1, 2, and 3 standard deviations of the mean. (Exact areas, computed from the
Normal model: 0.6827, 0.9545, 0.9973 — see the
distribution tables.)
The sampling distribution of a statistic describes how it varies from sample
to sample. Its standard deviation is the standard error (SE).
Statistic
Center
Standard error
Symbols
Sample meanxˉ
μ
SExˉ=nσ≈ns
σ = pop. SD; s = sample SD; n = sample size
Sample proportionp^
p
SEp^=np(1−p)
p = pop. proportion; p^ = sample proportion
Central Limit Theorem. When observations are independent and n is large
enough, the sampling distribution of xˉ (or p^) is approximately
N(μ,σ/n) regardless of the population’s shape.
The n in the denominator is why quadrupling the sample size only
halves the standard error.
Paired mean — reduce the pairs to differences di, then run a one-sample
t on the differences (xˉd = mean difference, sd = SD of
differences, df=n−1):
t=sd/nxˉd−0
Two independent means (H0:μ1=μ2):
t=n1s12+n2s22(xˉ1−xˉ2)−0
with degrees of freedom from software (Welch’s approximation; a conservative
hand value is df=min(n1−1,n2−1)).
For a table of observed counts O with expected counts E computed under the
null:
χ2=∑E(O−E)2
Test
Expected count E
Degrees of freedom
Goodness of fit (k categories)
Ei=npi
df=k−1
Independence (r×c table)
E=grand total(row total)(column total)
df=(r−1)(c−1)
O = observed count in a cell; E = expected count if H0 were true; pi =
hypothesized proportion for category i; r,c = numbers of rows and columns.
Condition: every expected count E≥5.
H0: all group means equal. With k groups and N total observations, the
F-statistic is the ratio of between-group to within-group variation:
F=MSEMSG=SSE/(N−k)SSG/(k−1)
Term
Formula
Meaning
SSG (between)
j=1∑knj(xˉj−xˉ)2
how far group means spread from the overall mean
SSE (within)
j=1∑ki∑(xij−xˉj)2
leftover variation inside the groups
MSG
SSG/(k−1)
between-group mean square; df1=k−1
MSE
SSE/(N−k)
within-group mean square; df2=N−k
k = number of groups; N = total sample size; nj = size of group j;
xˉj = mean of group j; xˉ = grand mean; xij = the i-th
value in group j. A large F (small p-value) signals that at least one group
mean differs.
Model: y^=b0+b1x — the least-squares line through points
(xi,yi).
Quantity
Formula
Symbols
Correlation
r=n−11∑(sxxi−xˉ)(syyi−yˉ)
r∈[−1,1]; sx,sy = SDs of x and y
Slope
b1=rsxsy
change in y^ per 1-unit rise in x
Intercept
b0=yˉ−b1xˉ
y^ when x=0
Predicted value
y^i=b0+b1xi
model’s estimate for observation i
Residual
ei=yi−y^i
observed minus predicted
R-squared
R2=r2
fraction of variation in y explained by x
Slope test
t=SEb1b1−0, df=n−2
tests H0:β1=0 (no linear relationship)
Slope CI
b1±tdf⋆SEb1
β1 = true population slope
Here β0,β1 are the population intercept and slope; b0,b1
are their sample estimates; SEb1 = standard error of the slope (from
software). Conditions: linearity, independent residuals, roughly Normal
residuals, and constant residual spread (equal variance).