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 12 practice problems, with full solutions at the back.
Find the sample standard deviation s of the data: 12, 46, 38, 38, 24, 43.
A quantity is normally distributed with mean 500 and standard deviation 75. What proportion P of values is below 612.5?
For the distribution shown, find the variance Var(X) of X.
X has the distribution shown, and Y = 10X + 4. Find the standard deviation σY of Y.
X is normal with mean 60 s and standard deviation 5 s; Y is independent and normal with mean 45 s and standard deviation 4 s. Find the probability P that X + Y is more than 113 s. Round z to two decimals.
The battery lifetimes are normally distributed with mean 500 h and standard deviation 40 h. Find the value x below which 10% of them lie (the 10th percentile).
A sample of 21 items has mean 71 and standard deviation s = 18.5. The population is roughly normal. Find the lower limit of the 90% confidence interval for the mean.
The population standard deviation is 29. How large a sample n do you need so that a 99% confidence interval for the mean has a margin of error of at most 1.5?
The mean of a population is claimed to be 120; the population standard deviation is known to be 10. A random sample of 100 observations has a mean of 122.1. Test H₀: μ = 120 against H₁: μ > 120. Find the p-value p.
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 20. Find the minimum sample size n.
The table gives 5 paired observations of x = car age in years and y = price in k€. Find the coefficient of determination r² of the least-squares line.
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 ŷ = 61?
Answer: s = 12.96
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: Var(X) = 134.8
Discrete random variables: a probability distribution lists every value x a variable can take with its probability p(x); the probabilities are between 0 and 1 and add up to 1. The expected value (mean) is E(X) = Σx·p(x), the long-run average. The variance is Var(X) = Σ(x − μ)²·p(x) = E(X²) − μ², and the standard deviation σ = √Var(X). For a linear change Y = aX + b: E(Y) = a·E(X) + b, Var(Y) = a²·Var(X) and σY = |a|·σX; adding a constant does not change the spread.
Answer: σY = 124.4
Discrete random variables: a probability distribution lists every value x a variable can take with its probability p(x); the probabilities are between 0 and 1 and add up to 1. The expected value (mean) is E(X) = Σx·p(x), the long-run average. The variance is Var(X) = Σ(x − μ)²·p(x) = E(X²) − μ², and the standard deviation σ = √Var(X). For a linear change Y = aX + b: E(Y) = a·E(X) + b, Var(Y) = a²·Var(X) and σY = |a|·σX; adding a constant does not change the spread.
The mean does move: E(Y) = 10·25.5 + 4 = 259.
Answer: P = 0.1056
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 = 448.7 h
Normal distribution: convert a value x to a z-score, z = (x − μ)/σ, which counts standard deviations from the mean. A z-table (or Φ(z)) gives the area to the left of z, which is P(X < x). The area to the right is 1 − Φ(z), and the area between two values is the difference of their two areas.
Answer: lower limit = 64.04
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 = 2481
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.
A sample size is a whole number, and rounding down would make the margin too large.
Answer: p = 0.01786
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 ≤ α.
p ≤ 0.05, so H₀ is rejected at the 5% level.
Answer: n = 251
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: r² = 0.5714
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.
About 57.14% of the variation in y is explained by the line.
Answer: x = 4.748
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.
ExamProblems · examproblems.com/courses/statistics-1