University of Washington
Department of Mathematics
Homework 5
MATH 394: Probability I
Instructor: Arman Jahangiri
Submission: Single PDF on Gradescope
Deadline: 10:00 PM Pacific Time on the listed due date
This homework is worth 50 points.
Across the quarter, there are eight homework assignments, worth 400 points total. Homework assignments together account for 40% of the final course grade. Further course policies can be seen in the MATH 394 syllabus.
Please:
Each student is allotted six late days for the quarter. A late day extends a homework deadline by up to 24 hours without penalty. For example, submitting an assignment anytime between 10:01 PM on the due date and 10:00 PM the following day counts as one late day.
The following rules apply:
Once all late days have been exhausted, additional late submissions will incur a penalty of 10% per day, up to a maximum deduction of 50%. Assignments submitted more than five days late, or after solutions have been released, will not be accepted.
If a serious technical issue prevents a timely Gradescope submission, students may temporarily submit their assignment by email to the instructor at armanjg@uw.edu. In such cases:
Email submissions are intended only for genuine technical emergencies and should not be used as a substitute for timely Gradescope submission.
Problem 1. (10 points)
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 4, Problem 18.
A fair coin is tossed repeatedly, until it has landed Heads at least once and has landed Tails at least once.
Find the expected number of tosses.
Hint: Define \(T\) to be the total number of tosses required. After the first toss, only one outcome remains to be observed. Write \[ T=1+X, \] where \(X\) is the number of additional tosses needed to obtain the outcome opposite to the first toss. \(X\) follows a well-known distribution! So if you find that, the rest is to use the linearity of expectation.
Problem 2. (10 points)
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 4, Problem 30.
Problem 3. (30 points)
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 4, Problem 54.
Note. This problem introduces several fundamental ideas in data analysis, including sampling, estimation, uncertainty, bias, and statistical precision. Pay particular attention to this problem, specially if you’d like to smile, remembering this course, years later in a job that contains data collection/analysis. :)
A population consists of \(N\) people, with ID numbers \(1,\dots ,N\). For each person \(j\), let \(y_j\) be the value of some numerical variable, and define the population mean by \[ \bar y=\frac {1}{N}\sum _{j=1}^N y_j. \]
A quantity such as \(\bar y\) is called a population parameter. Once the population is fixed, its value is fixed, although it may be unknown to us. Population parameters are often denoted by symbols such as \(\theta \), \(\mu \), or \(\bar y\).
In contrast, a quantity computed from a random sample is called a sample statistic. For example, if \(W_1,\dots ,W_n\) are the values observed in a random sample, then \[ \bar W = \frac {1}{n}\sum _{r=1}^n W_r \] is a sample statistic. Since the selected sample is random, \(\bar W\) is a random variable whose value may vary from one sample to another. More generally, a statistic may be written as \[ T=T(W_1,\dots ,W_n), \] emphasizing that it is a function of the observed sample.
One of the primary goals of statistics is to use sample statistics to estimate unknown population parameters.
Suppose a researcher wants to estimate the population parameter \[ \theta :=\bar y, \] but it is not feasible to measure every person in the population (which is required for computing \(\bar y\) based on its formula). The researcher therefore selects a simple random sample of size \(n\), where \(n\ll N\), without replacement. Thus, every subset of \(n\) people is equally likely to be selected.
Let \(W_1,\dots ,W_n\) denote the values observed for the selected people, where the sampled people are listed in a uniformly random order, and let \[ \bar W=\frac {1}{n}\sum _{r=1}^n W_r \] be the sample mean.
For each population member \(1\leq j\leq N\), define \[ I_j= \begin {cases} 1, & \text {if person \(j\) is included in the sample},\\ 0, & \text {otherwise}. \end {cases} \]
Define the finite-population variance by \[ S_y^2 = \frac {1}{N-1}\sum _{j=1}^N (y_j-\bar y)^2. \]
Answer the following questions.
“Because \(\bar W\) is unbiased, the sample mean must equal the population mean for every possible sample.”
Explain why this statement is false. What does unbiasedness actually mean?