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: 20, 52, 45, 37, 38.
Exam scores are normally distributed with mean 70 and standard deviation 15. Find the z-score z of a score of 100.
For the distribution shown, find the variance Var(X) of X.
X has the distribution shown, and Y = −2X − 3. Find the standard deviation σY of Y.
Drag z so that the shaded area under the standard normal curve, to the right of z, is 0.0793. Find z to two decimals.
The bag weights are normally distributed with mean 250 g and standard deviation 5 g. Find the value x below which 90% of them lie (the 90th percentile).
A sample of 25 items has mean 86 and standard deviation s = 15.5. The population is roughly normal. Find the margin of error E of a 99% confidence interval for the mean.
The population standard deviation is 15. 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 2.5?
A sample of 25 students has a mean score of 114.6 and a sample standard deviation of 15. Find the test statistic t for H₀: μ = 120.
In a trial, 135 of 300 patients on treatment A recover, and 29 of 80 patients on treatment B. Using the pooled proportion, find the test statistic z for H₀: p₁ = p₂.
The table gives 5 paired observations of x = advertising spend in k€ and y = sales in k€. Find Pearson's correlation coefficient r.
The table gives 5 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 ŷ = 73?
Answer: s = 11.93
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: z = 2
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) = 3.96
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 = 2.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) = −2·2.6 − 3 = −8.2.
Answer: z = 1.41
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σ.
Find 0.9207 inside the table and read off z.
Answer: x = 256.4 g
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: E = 8.671
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 = 239
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: t = −1.8
Testing a mean: the test statistic measures how many standard errors the sample mean lies from the value claimed in H₀: z = (x̄ − μ₀)/(σ/√n) when σ is known, t = (x̄ − μ₀)/(s/√n) when it is estimated from the sample. A confidence interval is x̄ ± (critical value)·(standard error).
|t| < 2.064, so H₀ is not rejected at the 5% level (two-sided).
Answer: z = 1.404
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: r = 0.9735
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.935
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