Descriptive statistics
- Mean
- x̄ = Σx/n
- Sample standard deviation
- s = √(Σ(x − x̄)²/(n − 1))
- Median
- middle value of the sorted data
- z-score
- z = (x − μ)/σ
- Normal distribution
- 68% within ±1σ, 95% within ±2σ
Formula sheets, the key method steps for every topic and 14 practice problems, with full solutions at the back.
Find the sample standard deviation s of the data: 52, 32, 58, 58, 20, 42.
A quantity is normally distributed with mean 50 and standard deviation 20. What proportion P of values is above 20?
A bag holds 8 red and 3 blue balls. You draw two balls without putting the first one back. What is the probability P that both are red?
A test has 7 multiple-choice questions. A student who guesses gets each one right with probability 0.3, independently. What is the probability P of exactly 3 correct answers?
X is normal with mean 12 min and standard deviation 1.5 min; Y is independent and normal with mean 20 min and standard deviation 2 min. Find the probability P that X + Y is more than 34 min. Round z to two decimals.
The battery lifetimes are normally distributed with mean 500 h and standard deviation 40 h. Drag the cut-off so the shaded bottom 20% is to the left of it. Find the cut-off x.
The table gives 5 paired observations of x = car age in years and y = price in k€. Find Pearson's correlation coefficient r.
The table gives 6 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 63?
A 99% confidence interval for a mean, based on 64 observations and a known σ, has a margin of error of 10.7. What is the margin of error E₂ of a 95% interval from the same data?
A pilot study suggests that about 0.4 of products are defective. How many products n must be inspected so that a 95% confidence interval for the proportion has a margin of error of at most 0.02?
Two production lines make the same part. Line 1: a sample of 60 parts has mean length 132.5 mm, and the line's known standard deviation is 18 mm. Line 2: a sample of 30 parts has mean 135.7 mm, known standard deviation 5 mm. Find the test statistic z for H₀: μ₁ = μ₂, taking the difference as x̄₁ − x̄₂ (line 1 minus line 2).
A one-sided z test at α = 0.01 must detect a shift of the mean of 4 units with a power of 80%. The standard deviation is 18. Find the minimum sample size n.
The contingency table shows observed counts. Compute the chi-square statistic χ² for the test of independence between the row and column variables. Do not use a continuity correction.
The table shows observed counts. Test at α = 0.05 whether the two variables are independent (no continuity correction). Compute the test statistic χ², then compare it with the critical value from the table.
Answer: s = 15.36
Descriptive statistics: the mean is the sum divided by n; the median is the middle value of the sorted data (the average of the two middle values when n is even). The sample standard deviation is s = √(Σ(x − x̄)²/(n − 1)). A z-score z = (x − μ)/σ says how many standard deviations a value lies from the mean.
Answer: P = 0.9332
Descriptive statistics: the mean is the sum divided by n; the median is the middle value of the sorted data (the average of the two middle values when n is even). The sample standard deviation is s = √(Σ(x − x̄)²/(n − 1)). A z-score z = (x − μ)/σ says how many standard deviations a value lies from the mean.
Answer: P = 0.5091
Probability: with equally likely outcomes, P(A) = favourable/total. For independent events multiply: P(A and B) = P(A)·P(B). The complement often helps: P(at least one) = 1 − P(none). Binomial: in n independent trials with success probability p, P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ.
Answer: P = 0.2269
Probability: with equally likely outcomes, P(A) = favourable/total. For independent events multiply: P(A and B) = P(A)·P(B). The complement often helps: P(at least one) = 1 − P(none). Binomial: in n independent trials with success probability p, P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ.
Answer: P = 0.2119
Sums and differences of normal variables: if X and Y are independent and normal, X + Y and X − Y are normal too. Means add or subtract: E(X ± Y) = μX ± μY. Variances always add, also for a difference: Var(X ± Y) = σX² + σY², so σ = √(σX² + σY²). Standard deviations never add directly. The total of n independent items with the same distribution has mean n·μ and standard deviation σ·√n. Then standardise as usual: z = (x − mean)/σ and read Φ(z).
Answer: x = 466 h
From an area back to z: Φ(z) is the area to the left of z. For a left-tail area A, find z with Φ(z) = A in the table. A right-tail area A means Φ(z) = 1 − A. A central area A between −z and z leaves (1 − A)/2 in each tail, so Φ(z) = (1 + A)/2. For a value x, use x = μ + zσ.
Answer: r = −0.7462
Least-squares regression: with x̄ and ȳ the means, Sxx = Σ(x − x̄)², Syy = Σ(y − ȳ)² and Sxy = Σ(x − x̄)(y − ȳ), the line ŷ = a + b·x has slope b = Sxy/Sxx and intercept a = ȳ − b·x̄, so it always passes through (x̄, ȳ). Pearson's correlation coefficient r = Sxy/√(Sxx·Syy) lies between −1 and 1; r² is the fraction of the variation in y explained by the line.
Answer: x = 6.594
Least-squares regression: with x̄ and ȳ the means, Sxx = Σ(x − x̄)², Syy = Σ(y − ȳ)² and Sxy = Σ(x − x̄)(y − ȳ), the line ŷ = a + b·x has slope b = Sxy/Sxx and intercept a = ȳ − b·x̄, so it always passes through (x̄, ȳ). Pearson's correlation coefficient r = Sxy/√(Sxx·Syy) lies between −1 and 1; r² is the fraction of the variation in y explained by the line.
Answer: E₂ = 8.141
Confidence interval for a mean: x̄ ± margin of error. With a known population σ the margin is z·σ/√n; with only the sample standard deviation s, use t with n − 1 degrees of freedom: t·s/√n. Critical values: z = 1.645 (90%), 1.96 (95%), 2.576 (99%). To get a margin E or smaller, you need n ≥ (z·σ/E)², rounded up.
Answer: n = 2305
Confidence interval for a proportion: p̂ ± z·√(p̂(1 − p̂)/n), where p̂ = x/n. To reach a margin E you need n ≥ z²·p(1 − p)/E², rounded up; without a prior estimate use p = 0.5, which gives the largest n.
Answer: z = −1.282
Hypothesis test: the test statistic = (estimate − value under H₀)/(standard error under H₀). The p-value is the probability, assuming H₀ is true, of a statistic at least as extreme as the one observed: the area in one tail for a one-sided H₁, twice the tail area for a two-sided H₁. Reject H₀ when p ≤ α.
|z| < 1.96, so H₀ is not rejected at the 5% level (two-sided).
Answer: n = 204
Sample size for a test: to detect a true shift δ with power 1 − β in a one-sided z test at level α, the standard error must satisfy δ = (z_α + z_β)·σ/√n, so n = ((z_α + z_β)·σ/δ)², rounded up.
Answer: χ² = 0.1786
Chi-square tests: compare observed counts O with the counts E expected under H₀ using χ² = Σ(O − E)²/E. Goodness of fit: E = n·p for each category, df = k − 1 (minus one more for each parameter estimated from the data). Independence in an r × c table: E = row total × column total / grand total, df = (r − 1)(c − 1). Reject H₀ when χ² exceeds the critical value for the chosen α.
df = 1. At α = 0.05 the critical value is 3.841, so H₀ (independence) is not rejected.
Answer: χ² = 3.937
Chi-square tests: compare observed counts O with the counts E expected under H₀ using χ² = Σ(O − E)²/E. Goodness of fit: E = n·p for each category, df = k − 1 (minus one more for each parameter estimated from the data). Independence in an r × c table: E = row total × column total / grand total, df = (r − 1)(c − 1). Reject H₀ when χ² exceeds the critical value for the chosen α.
χ² is below the critical value, so H₀ is not rejected: there is no significant evidence of a relationship.
ExamProblems · examproblems.com/courses/ap-statistics-practice