Statistical Inference final exam review
The topics, worked on a live board with an AI tutor.
Units
Statistics and sampling distributions
- Populations, samples and statistics
- Sampling distribution of the mean
- Chi-square, t and F distributions
- Order statistics
Practice
If the observed sample is A then A, find μ and x̄.Answer
μ = 15 min; x̄ = 10 min
Hint: Only the drawn slips change
For 64 independent readings from the original sensor, find E(X̄).Answer
0 mm
Hint: Use the original population mean
Point estimation
- Estimators and estimates
- Bias, variance and MSE
- Consistency, efficiency and sufficiency
Practice
A sample of 5 times is 18, 22, 25, 30, 20. Give x̄ and s².Answer
x̄ = 23, s² = 88/4 = 22
Hint: Deviations −5, −1, 2, 7, −3
θ̂ = 0.9X̄ for μ = 25, σ = 4, n = 8. Find its bias and variance.Answer
Bias 0.9 × 25 − 25 = −2.5, variance 0.81 × 2 = 1.62
Hint: E(cX̄) = cμ, Var(cX̄) = c²σ²/n
Method of moments
- The method of moments
- Moment estimators for two parameters
- Comparing estimators by simulation
Practice
Customers arriving in six one-minute spells number 3, 1, 4, 2, 0 and 2. Under a Poisson(λ) model, with E(X) = λ, what is the moment estimate of λ?Answer
λ̂ = x̄ = 2 customers per minute
Hint: One parameter, one equation
Rainfall totals have x̄ = 8 mm and σ̂² = 16 mm². Find the gamma moment estimates.Answer
α̂ = 64/16 = 4, β̂ = 16/8 = 2 mm
Hint: β̂ = σ̂²/x̄ first
Maximum likelihood
What exams ask
The likelihood is how the data vote on parameter values: maximum likelihood, likelihood ratio tests and Bayesian inference all start from it.
- The likelihood function
- Finding maximum likelihood estimators
- Properties of the MLE
- Numerical maximum likelihood
Practice
Seven of ten trials succeed. Write L(p) and find which of p = 0.5 or p = 0.7 gives the larger likelihood.Answer
L(p) = p⁷(1 − p)³; L(0.7) ≈ 0.00222 beats L(0.5) ≈ 0.00098
Hint: Compute each product
Counts 5, 2, 3 and 6 are Poisson(λ). Find the MLE.Answer
ℓ = 16 ln λ − 4λ, S = 16/λ − 4 = 0, λ̂ = 4
Hint: ∑xᵢ = 16
Confidence intervals
- Confidence intervals and pivots
- Intervals for a mean
- Intervals for proportions and variances
Practice
A lab builds 200 independent 95% intervals for 200 different cables' mean strengths. About how many would you expect to miss their own true mean?Answer
About 10
Hint: 5% of 200
Same drink, but n = 64 cans, x̄ = 158 mg, σ = 8 mg. Find the 95% interval.Answer
158 ± 1.96(1) = (156.04, 159.96)
Hint: Standard error = 8/√64 = 1
Hypothesis testing
What exams ask
p-values appear in nearly every published study and are misread constantly, so using one correctly is a core skill for reading evidence and for any exam on inference
Nearly every "did it change?" question (a new process, a poll, a drug trial) is settled by comparing a sample result to a claimed value, and the z test is the template for all such tests.
- The logic of hypothesis tests
- P-values
- Tests for means and proportions
- Multiple testing
Practice
A cereal box says 400 g. A sample suggests it may be underfilled. Write H₀ and H₁.Answer
H₀: μ = 400, H₁: μ < 400
Hint: The equality goes in H₀; the worry about underfilling points to which side
A machine claimed to fill with mean 500 g, σ = 8 g, gives x̄ = 501 g from n = 16 bags. Find z.Answer
SE = 2, z = 0.5
Hint: Divide σ by √n first
Power and optimal tests
What exams ask
it gives "best test" an exact meaning: when a test cannot be beaten.
It is the basis of every optimal test (UMP tests, the likelihood ratio test) used in practice
- Power and sample size
- The Neyman-Pearson lemma
- Uniformly most powerful tests
Practice
Same test with σ = 15 and n = 25 but α = 0.01; what is the new cutoff for X̄?Answer
100 + 2.326 × 3 = 106.98
Hint: Replace 1.645 by the z critical value for 0.01
Same test, but now n = 4, so the standard deviation of X̄ is 1/2. The cutoff for size 0.05 is 1.645 × 0.5 = 0.8225. What is the power against μ = 1?Answer
P(Z > (0.8225 − 1)/0.5) = P(Z > −0.355) ≈ 0.64
Hint: Standardize the cutoff using the mean 1 and SD 0.5
Likelihood ratio tests
What exams ask
Most real hypotheses are composite, with nuisance parameters like σ², so there is no Neyman-Pearson test.
The GLRT is the general recipe that produces tests like the t test.
- Generalized likelihood ratio tests
- Wilks' theorem
- Wald and score tests
Practice
Same sample, but test H₀: μ = 6 instead of 5. Is Λ larger or smaller than for μ₀ = 5?Answer
Smaller, since 6 is farther from the peak 5.4 than 5 is, so the curve is lower there
Hint: Compare the distances to 5.4
Site A has 20 clicks in 10 hours and site B has 40 clicks in 10 hours. Find −2 log Λ for H0: equal rates.Answer
Pooled rate 3, statistic 2[20 log(2/3) + 40 log(4/3)] = 2[−8.11 + 11.51] ≈ 6.80
Hint: First find λ̂A, λ̂B and the pooled λ̂0
t, chi-square and F tests
What exams ask
Comparing a mean to a target, or two group means, when the spread is unknown is the most common test in applied work and in exam questions on classical tests.
Counts in categories (survey answers, genetic ratios, treatment outcomes) are everywhere, and this is the standard test for asking whether the counts differ from a hypothesis by more than chance.
- One and two sample t tests
- Chi-square tests
- F test and one-way ANOVA
Practice
A different method on n = 16 students gives x̄ = 73, s = 8 against μ0 = 70. Compute t and df, and say whether you reject at the one-sided 5% level (cutoff 1.753 for 15 df).Answer
SE = 2, t = 1.5, df = 15, fail to reject
Hint: First find SE = s/√n
The null says a spinner's four colours are equally likely and n = 80; you observe 25, 15, 22, 18. Find E and the statistic.Answer
E = 20 each; χ² = 25/20 + 25/20 + 4/20 + 4/20 = 2.6
Hint: E is n times each probability, then square, divide by E
Nonparametric methods and the bootstrap
What exams ask
Real data (reaction times, costs, ratings) are often skewed or have outliers that break the t test's normality assumption.
A rank test stays valid with no distributional assumption.
- Rank-based tests
- Permutation tests
- Empirical CDF and Kolmogorov-Smirnov
- The bootstrap
Practice
Another study has 10 patients with 9 positive differences and 1 negative; same sign test, same stepsAnswer
Two-sided p = 2 × (10 + 1)/1024 = 22/1024 ≈ 0.021
Hint: P(X ≥ 9) under Bin(10, 0.5)
Give the observed difference in means for app = 20, 22, 24 and no app = 15, 17, 19.Answer
22.00 − 17.00 = 5.00
Hint: Mean of each group first, then subtract
Bayesian inference
- Priors, likelihoods and posteriors
- Conjugate priors
- Bayesian estimates and credible intervals
- Bayesian testing and computation
Practice
A different prior puts 0.2 on each of the five values. What is it called, and do its weights sum to 1?Answer
Uniform (flat) prior; 5 × 0.2 = 1
Hint: Add the five weights
Beta(5, 15): what is its mean, and what does that prior believe about θ?Answer
Mean 5/20 = 0.25, so it believes tails are more likely, as if 5 heads and 15 tails had been seen
Hint: Use a/(a+b)
Questions
What does the Statistical Inference review cover?
Every unit of the course, 11 in all. Pick one and Helio teaches it on the board, then asks you questions. Statistics and sampling distributions; Point estimation; Method of moments; Maximum likelihood; Confidence intervals; Hypothesis testing; Power and optimal tests; Likelihood ratio tests; t, chi-square and F tests; Nonparametric methods and the bootstrap; Bayesian inference.
Can it help the week before my final?
Yes. Pick a topic, and Helio explains it, checks you and goes over what you miss.
Is it the same as my class?
It follows the usual topics of Statistical Inference. For anything else on your syllabus, type the topic and Helio teaches that too.
How much is free?
30 minutes a month for one learner, with no card. Starter is free for 7 days with a card: cancel in time and pay nothing.






