Sample STA238H1 questions
  1. Estimators, Bias, MSE and Consistency · Short answer · 2 marks

    Two unbiased estimators of θ\theta based on a sample of size nn have variances Var⁡(θ^1)=0.80/n\operatorname{Var}(\hat\theta_1) = 0.80/n and Var⁡(θ^2)=1.25/n\operatorname{Var}(\hat\theta_2) = 1.25/n. Find the efficiency of θ^1\hat\theta_1 relative to θ^2\hat\theta_2, defined as Var⁡(θ^2)/Var⁡(θ^1)\operatorname{Var}(\hat\theta_2)/\operatorname{Var}(\hat\theta_1), and the smallest sample size for θ^2\hat\theta_2 that matches the variance of θ^1\hat\theta_1 computed from n=40n = 40 observations.

    Show solution

    The efficiency is 1.25/0.80=1.56251.25/0.80 = 1.5625 (the nn cancels). We need 1.25/n2≤0.80/40=0.021.25/n_2 \le 0.80/40 = 0.02, so n2≥62.5n_2 \ge 62.5 and the smallest sample size is n2=63n_2 = 63; this is 1.5625×40=62.51.5625 \times 40 = 62.5 rounded up. In words, θ^2\hat\theta_2 needs about 56%56\% more data to be as precise.

  2. Method of Moments and Maximum Likelihood · Multiple choice · 2 marks

    A sample of n=5n = 5 observations comes from the density f(x;θ)=e−(x−θ)f(x;\theta) = e^{-(x-\theta)} for x≥θx \ge \theta (and 00 otherwise), where θ\theta is an unknown starting time. The observed values are 4.3, 5.1, 3.8, 6.0, 4.64.3,\ 5.1,\ 3.8,\ 6.0,\ 4.6. The maximum likelihood estimate of θ\theta is

    1. 4.764.76

    2. 4.604.60

    3. 3.803.80

    4. 3.763.76

    Show solution

    Answer: (C)

    The likelihood is L(θ)=e−∑(xi−θ)=enθ−∑xiL(\theta) = e^{-\sum (x_i - \theta)} = e^{n\theta - \sum x_i} provided θ≤min⁡xi\theta \le \min x_i, and 00 otherwise. It increases in θ\theta up to the smallest observation, so θ^=x(1)=3.80\hat\theta = x_{(1)} = 3.80 (setting a derivative to zero finds nothing). The value 3.76=xˉ−13.76 = \bar{x} - 1 is the method of moments estimate; it is below the smallest observation, so it is allowed, but its likelihood is lower than at 3.803.80 because LL is still increasing there. The values 4.764.76 (the mean) and 4.604.60 (the median) exceed the smallest observation, so the likelihood there is 00.

  3. Confidence Intervals and Pivots · Multiple choice · 2 marks

    The lifetimes X1,…,X5X_1, \ldots, X_5 of five LED bulbs are i.i.d. Exponential(λ)(\lambda) (rate λ\lambda per thousand hours) with ∑xi=40\sum x_i = 40. Using the fact that 2λ∑Xi∼χ1022\lambda\sum X_i \sim \chi^2_{10}, a 95%95\% confidence interval for λ\lambda is

    1. (0.0406, 0.2560)(0.0406,\ 0.2560)

    2. (0.0812, 0.5120)(0.0812,\ 0.5120)

    3. (0.0104, 0.1604)(0.0104,\ 0.1604)

    4. (3.906, 24.64)(3.906,\ 24.64)

    Show solution

    Answer: (A)

    From P(χ0.975,102<2λ∑Xi<χ0.025,102)=0.95P\big(\chi^2_{0.975,10} < 2\lambda\sum X_i < \chi^2_{0.025,10}\big) = 0.95 with χ0.975,102=3.247\chi^2_{0.975,10} = 3.247 and χ0.025,102=20.48\chi^2_{0.025,10} = 20.48, dividing by 2∑xi=802\sum x_i = 80 gives λ∈(3.247/80, 20.48/80)=(0.0406, 0.2560)\lambda \in (3.247/80,\ 20.48/80) = (0.0406,\ 0.2560). The interval (0.0812,0.5120)(0.0812, 0.5120) divides by ∑xi=40\sum x_i = 40 and forgets the factor 22. The interval (0.0104,0.1604)(0.0104, 0.1604) uses χ52\chi^2_5 (degrees of freedom nn instead of 2n2n). The interval (3.906,24.64)(3.906, 24.64) is the interval for the mean lifetime 1/λ1/\lambda, obtained by dividing 8080 by the quantiles instead of the reverse.

  4. Bootstrap and Simulation · Short answer · 2 marks

    A sample of n=5n = 5 run times is 3,5,5,9,133, 5, 5, 9, 13. Find the variance of the empirical distribution (the plug-in estimate of σ2\sigma^2) and the sample variance S2S^2, and say which of the two is unbiased for σ2\sigma^2.

    Plug-in:     s2=s^2 =     unbiased:    

    Show solution

    Answer: 12.8; 16; S2S^2

    The sample mean is xˉ=35/5=7\bar{x} = 35/5 = 7 and ∑(xi−xˉ)2=16+4+4+4+36=64\sum (x_i - \bar{x})^2 = 16 + 4 + 4 + 4 + 36 = 64. The variance of F^\hat{F} divides by nn: 64/5=12.864/5 = 12.8. The sample variance divides by n−1n - 1: s2=64/4=16s^2 = 64/4 = 16. The estimator S2S^2 is unbiased for σ2\sigma^2; the plug-in estimator has expectation n−1nσ2\tfrac{n-1}{n}\sigma^2, so it is biased low (by the factor 4/54/5 here, which is exactly 12.8/1612.8/16).

  5. Linear Regression and Least Squares · Multiple choice · 1 mark

    At the same value x0x_0 and the same confidence level, a prediction interval for a new observation Y0Y_0 is always wider than the confidence interval for the mean response β0+β1x0\beta_0 + \beta_1 x_0. The reason is that

    1. a new observation carries its own error ε0\varepsilon_0 with variance σ2\sigma^2, which adds 11 under the square root

    2. the prediction interval uses the normal point z0.025z_{0.025} where the confidence interval uses a tt point

    3. the prediction interval is centred at a different fitted value than the confidence interval

    4. the prediction interval uses fewer degrees of freedom than the confidence interval

    Show solution

    Answer: (A)

    Both intervals are centred at y^0=β^0+β^1x0\hat{y}_0 = \hat\beta_0 + \hat\beta_1 x_0 and use t0.025,n−2t_{0.025,n-2}. They differ in the standard error: s1n+(x0−xˉ)2Sxxs\sqrt{\tfrac1n + \tfrac{(x_0-\bar{x})^2}{S_{xx}}} for the mean response, and s1+1n+(x0−xˉ)2Sxxs\sqrt{1 + \tfrac1n + \tfrac{(x_0-\bar{x})^2}{S_{xx}}} for a new observation, because Y0−y^0Y_0 - \hat{y}_0 has variance σ2+Var⁡(y^0)\sigma^2 + \operatorname{Var}(\hat{y}_0). The extra σ2\sigma^2 does not shrink as nn grows, so the prediction interval stays wide even for a very large sample.

About STA238H1 practice exams

STA238H1 practice exams

Probability, Statistics and Data Analysis II · University of Toronto (UofT, U of T, UToronto) · also written STA238, STA 238

Make a free, printable STA238H1 practice exam: choose the topics, the length and the difficulty above, and get an exam-style PDF with a full answer key. Each paper draws on 400 original questions and skips the ones you have already seen.

Looking for STA238H1 past exams?

Start with the past exams and tests your instructor or the UofT library shares: they show what your course actually asks. Most courses only have a few, so once you have worked through them, make fresh STA238H1 practice exams here on the same topics, with full answer keys, as many as you need. The questions here are original, not copies of past exams.

Topics covered

  • Estimators, Bias, MSE and Consistency · 50 questions
  • Method of Moments and Maximum Likelihood · 50 questions
  • Sampling Distributions (Chi-Square, t and F) · 50 questions
  • Confidence Intervals and Pivots · 50 questions
  • Hypothesis Tests, Power and Likelihood Ratios · 50 questions
  • Bootstrap and Simulation · 50 questions
  • Bayesian Inference · 50 questions
  • Linear Regression and Least Squares · 50 questions

More UofT courses

questionbank.dev is independent and not affiliated with University of Toronto. Course codes only say which topics a paper covers; papers are original practice material, not past or upcoming exams.