21 Practice Midterm 1
QTM 285-1
$$ \newcommand{X}{} \newcommand{Y}{} % A hex digit after # inside a macro body is eaten by build-time expansion, so digit-leading hexes spell # via .
$$
\DeclareMathOperator{\mathop{\mathrm{E}}}{E} \DeclareMathOperator{\mathop{\mathrm{\mathop{\mathrm{V}}}}}{V} \DeclareMathOperator{\mathop{\mathrm{\widehat{V}}}}{\widehat{V}} \DeclareMathOperator{\mathop{\mathrm{bias}}}{bias} \DeclareMathOperator*{argmin}{argmin} \newcommand{\mathcal{M}}{\mathcal{M}}
Problem 1
Suppose a friend has polled 100 of Georgia’s registered voters about their intention to vote in the 2024 election. They conducted this poll by sampling with replacement from the population of all of Georgia’s registered voters. And they report what they say is a 95% confidence interval for turnout: [.58,.62].
Problem 2
A population of m=200 people is arranged in a circle, and their responses alternate as you go around it: 1, 0, 1, 0, \ldots. So the proportion of 1s in the population is \theta=1/2. We’ll compare three ways of drawing a sample of n=100 people from it. In each case, we estimate \theta by the proportion of 1s in the sample, \hat\theta=\frac{1}{100}\sum_{i=1}^{100} Y_i, and report the interval estimate \hat\theta \pm 1.96\sqrt{\hat\theta(1-\hat\theta)/n}.
- Draw 100 people uniformly at random with replacement.
- Draw 100 people uniformly at random without replacement.
- Choose one starting person uniformly at random, and take that person and the next 99 people around the circle.
Problem 3
A coworker has a sample of n=100 household incomes Y_1 \ldots Y_{100}, drawn with replacement from a population, and wants a 95% interval estimate for the population’s mean income. They bootstrap: they draw 10{,}000 samples of size 100 with replacement from their sample, take the mean \bar Y^\star of each, and report \bar Y \pm 1.96\,\text{se}, where \text{se} is the standard deviation of these bootstrap means. They’ve done everything right. But their boss, who has a habit of correcting people without taking the time to understand what they’re doing, glances at it and says:
For the pictures, take the sample to be simulated from a log-normal income population with median 60{,}000 and log-scale standard deviation 0.5.
You forgot to divide by \sqrt n. Rookie mistake.
To sort this out, your coworker draws two pictures on the same axis: the distribution of the incomes in their sample on the left, and the bootstrap distribution of \bar Y^\star on the right.
Problem 4
Two polling firms each survey the same population in exactly the same way, independently of one another: each calls 1,000 of Georgia’s registered voters, drawn with replacement, and reports the proportion who say they’ll turn out. The plot below shows what a single survey of this kind produces, with two particular surveys marked and the actual turnout rate \theta drawn in green.
Problem 5
You have a sample Y_1,Y_2...,Y_n drawn with replacement from a population with mean \mu and standard deviation \sigma. The usual estimate for \mu is the sample mean \bar{Y}_0 = \frac{1}{n}\sum_{i=1}^n Y_i. But one of your coworkers has a clever idea to reduce variance—instead of dividing by n, they divide by n+10. This is their estimator: \bar{Y}_{10} = \frac{1}{n+10}\sum_{i=1}^n Y_i. You try to convince them it’s a bad idea by being a bit hyperbolic—you argue that if that’s a good idea, then why not divide by n+100? They, unfortunately, love this idea. You now have to explain why this is a bad idea.
Your coworker has calculated formulas for the bias and standard deviation of the ‘divide by n+k estimator’ \bar{Y}_k=\frac{1}{n+k}\sum_{i=1}^n Y_i. \begin{aligned} \mathop{\mathrm{E}}[\bar{Y}_k] - \mu &= -\frac{k}{n+k}\mu \\ \mathop{\mathrm{sd}}[\bar{Y}_k] &= \frac{\sigma}{\sqrt{n}} \times \frac{n}{n+k}. \end{aligned}
And they’ve drawn the sampling distribution of \bar{Y}_0, \bar{Y}_{10}, and \bar{Y}_{100} (top, middle, and bottom rows respectively) for sample sizes n=100 and n=10,000 (left and right columns respectively) for \mu=0 and \sigma=1. The solid line is the estimator’s expected value \mathop{\mathrm{E}}[\bar{Y}_k], the dashed lines are \mathop{\mathrm{E}}[\bar Y_k] \pm \mathop{\mathrm{sd}}[\bar Y_k], and the dotted lines are \mathop{\mathrm{E}}[\bar Y_k] \pm 2 \mathop{\mathrm{sd}}[\bar Y_k].
On the basis of those drawings, your coworker proposes using \bar{Y}_{100} to estimate \mu.