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 16 practice problems, with full solutions at the back.
A student scores 130 on a test with mean 100 and standard deviation 15. What is the z-score?
Which non-parametric test compares two related samples, such as before-and-after scores on an ordinal scale?
Find the sample standard deviation s of the data: 36, 13, 11, 27, 10, 54.
Exam scores are normally distributed with mean 170 and standard deviation 5. Find the z-score z of a score of 162.5.
For the distribution shown, find the standard deviation σ of X.
A test has 9 multiple-choice questions. A student who guesses gets each one right with probability 0.4, independently. What is the probability P of exactly 5 correct answers?
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 95.4 s. Round z to two decimals.
The heights X of men and Y of women in a group are independent and normal: X has mean 180 cm and standard deviation 10 cm, Y has mean 170 cm and standard deviation 12 cm. Find the probability P that X is greater than Y. Round z to two decimals.
The blood pressure of 12 patients is measured before and after a treatment. The differences d = before − after (mmHg) have mean 2.2 and standard deviation 1.2. Find the margin of error E of the 95% confidence interval for the mean difference.
The population standard deviation is 31. 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?
A sample of 36 students has a mean score of 201 and a sample standard deviation of 5. Find the test statistic t for H₀: μ = 200.
In a trial, 90 of 300 patients on treatment A recover, and 103 of 250 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 = load in kN and y = extension in mm. Find the coefficient of determination r² of the least-squares line.
The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. A new observation (24.5, 122) is made. Find its residual e = y − ŷ.
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.
A chi-square goodness-of-fit test checks whether counts in 6 categories follow a Poisson distribution whose mean is estimated from the same data. Using the table, find the critical value χ²crit at significance level α = 0.05.
Answer: B · 2.0
(130 − 100) / 15 = 2. The score is two standard deviations above the mean, higher than about 97–98% of people.
Answer: C · Wilcoxon signed-rank test
The Wilcoxon signed-rank test is for paired ordinal data; Mann–Whitney U is its counterpart for independent groups.
Answer: s = 17.5
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 = −1.5
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.281
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: P = 0.1672
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.9332
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: P = 0.7389
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: E = 0.7624 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 = 2835
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.2
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.03, so H₀ is not rejected at the 5% level (two-sided).
Answer: z = −2.74
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.9895
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 98.95% of the variation in y is explained by the line.
Answer: e = 3.5
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.
The point lies above the line.
Answer: χ² = 0.237
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 = 2. At α = 0.05 the critical value is 5.991, so H₀ (independence) is not rejected.
Answer: χ²crit = 9.488
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 α.
Reject H₀ if the computed χ² is larger than this value.
ExamProblems · examproblems.com/courses/research-methods-psychology