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: 10, 46, 28, 41, 10.
A quantity is normally distributed with mean 170 and standard deviation 8. What proportion P of values is below 154?
For the distribution shown, find the standard deviation σ of X.
A game costs €2 to play. You win €8 with probability 0.2 and €100 with probability 0.05; otherwise you win nothing. The stake is not returned. Find the expected net gain E(G) per game.
The IQ scores are normally distributed with mean 100 points and standard deviation 15 points. What fraction lies between 76.75 and 112.75 points? Give P as a decimal.
The IQ scores are normally distributed with mean 100 points and standard deviation 15 points. Drag the cut-off so the shaded top 90% is to the right of it. Find the cut-off x.
The blood pressure of 9 patients is measured before and after a treatment. The differences d = before − after (mmHg) have mean −5.5 and standard deviation 6.8. Find the upper limit of the 99% confidence interval for the mean difference.
The population standard deviation is 20. How large a sample n do you need so that a 90% confidence interval for the mean has a margin of error of at most 1.5?
7 employees take a typing test before and after a training course. For each person the difference d = after − before (words per minute) is recorded. The mean difference is −10.77 and the standard deviation of the differences is 11.4. Find the paired test statistic t for H₀: μd = 0.
In a trial, 125 of 250 patients on treatment A recover, and 28 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 the coefficient of determination r² of the least-squares line.
The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 65?
Answer: s = 16.85
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.02275
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: σ = 1.819
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: E(G) = 4.6 €
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.
A positive value means you win money on average.
Answer: P = 0.7418
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: x = 80.8 points
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: upper limit = 2.105 mmHg
Interval for a difference: estimate ± critical value × standard error. For two independent means with known σ: SE = √(σ₁²/n₁ + σ₂²/n₂) and z. With equal unknown variances: pooled s_p and t with n₁ + n₂ − 2 degrees of freedom. For paired data, work with the differences: d̄ ± t·s_d/√n.
Answer: n = 482
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 = −2.5
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).
With df = 6, the two-sided 5% critical value is 2.447; |t| is larger, so H₀ is rejected.
Answer: z = 2.342
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 rejected at the 5% level (two-sided).
Answer: r² = 0.9408
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 94.08% of the variation in y is explained by the line.
Answer: x = 25.03
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