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.
Which test is suitable for comparing the means of two independent groups with interval data that are roughly normal?
A study reports t(28) = 2.50, p = .018 for two independent groups of equal size. How many participants took part?
Find the sample standard deviation s of the data: 50, 37, 32, 51, 21, 39.
Exam scores are normally distributed with mean 100 and standard deviation 5. Find the z-score z of a score of 92.5.
For the distribution shown, find the variance Var(X) of X.
A test has 5 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?
The heights of adult men are normally distributed with mean 178 cm and standard deviation 7 cm. What fraction lies between 172.4 and 179.75 cm? Give P as a decimal.
The heights of adult men are normally distributed with mean 178 cm and standard deviation 7 cm. Find the value x below which 99% of them lie (the 99th percentile).
A 95% confidence interval for a mean, based on 100 observations and a known σ, has a margin of error of 9.7. What is the margin of error E₂ if the same study uses 25 observations instead?
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 3?
The mean of a population is claimed to be 500; the population standard deviation is known to be 18. A random sample of 144 observations has a mean of 503.27. Test H₀: μ = 500 against H₁: μ > 500. Find the p-value p.
A sample of 49 measurements has mean 75.6. The population standard deviation is 5. Find the lower limit L of the 90% confidence interval for the mean.
The table gives 5 paired observations of x = load in kN and y = extension in mm. 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. A new observation (3, 51) 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 test of independence is carried out on a contingency table with 2 rows and 4 columns (not counting the totals). Using the table, find the critical value χ²crit at significance level α = 0.01.
Answer: C · Independent samples t-test
The independent t-test compares two group means. Chi-square is for frequencies; Wilcoxon is for related samples with non-parametric data.
Answer: C · 30
Degrees of freedom of 28 mean 28 + 2 = 30 participants, 15 in each group.
Answer: s = 11.31
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: Var(X) = 1.24
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.1323
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.3869
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 = 194.3 cm
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₂ = 19.4
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 = 709
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.01463
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: L = 74.42
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).
Answer: r = 0.9923
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 = −1.79
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 below the line.
Answer: χ² = 2.183
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: χ²crit = 11.35
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