Estimators, Bias, MSE and Consistency · Short answer · 2 marks
The true value is . An estimator has and ; a second estimator is unbiased with . Find and say which estimator has the smaller mean squared error.
, so . The unbiased estimator has . So has the smaller mean squared error even though it is biased: its small variance more than pays for the bias.
Method of Moments and Maximum Likelihood · Problem · 5 marks
Let be i.i.d. Normal with both parameters unknown. Six measurements are .
Write the log-likelihood. For fixed , find the value of that maximizes it. [1]
Substitute and find the maximum likelihood estimator of . [2]
Compute the estimates for the data, and the maximum likelihood estimate of using the normal table. [1]
Find using . Is the MLE biased? [1]
(a) . For fixed this is largest when is smallest, i.e. (equivalently ).
(b) With and , , so gives (a maximum since the derivative is positive for and negative above).
(c) , , so and (; the unbiased would be ). By invariance, .
(d) , so : the MLE is biased downward by .
Confidence Intervals and Pivots · Short answer · 2 marks
In independent runs of a unit test, failed. Give a Wald confidence interval for the failure probability of the test.
Here and the estimated standard error is . The interval is , that is .
Bootstrap and Simulation · Multiple choice · 1 mark
A program simulates independent runs of a random process and finds the event of interest in of them, so . The estimated standard error of as an estimate of the true probability is
Answer: (A)
Each run is a Bernoulli trial, so . The value is the 95% margin of error . The value is the standard deviation of one run, which forgets to divide by , and divides that standard deviation by instead of .
Linear Regression and Least Squares · Multiple choice · 1 mark
A pediatric clinic fits to the heights (cm) of children aged years, with . A student uses the line to predict the height of a 30-year-old, getting cm. The main statistical flaw is that
is too high; a value this close to means the model has been overfitted
the prediction interval is undefined for an that is not a whole number of years
the line was fitted only for ages to , so nothing supports the linear relation at age
the intercept is not significant, so the fitted line should be refitted through the origin
Answer: (C)
Predicting at an far outside the observed range is extrapolation. The straight line describes the relation only where there are data; growth levels off in adulthood, so the model error at can be enormous, and the interval formula (which assumes the model holds) does not reflect it. Here cm, which is absurd. A high measures the fit within the observed range and is not by itself a flaw; the interval formulas apply to any real ; and the value of the intercept has nothing to do with the problem.
Statistics for Computer Scientists · University of Toronto (UofT, U of T, UToronto) · also written STA248, STA 248
Make a free, printable STA248H1 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.
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 STA248H1 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.
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.