You are on page 1of 3

Sampling People, Networks and Records

Week 6 Quiz: Problem Set


Please input your answers for the following problems via the Coursera course site:
https://www.coursera.org/learn/sampling-methods.

Part 1: Background

A list of residents in a senior independent living complex is divided into two strata, A and
B, consisting of NA = 400 and NB = 150 households, respectively. A SRS of nA = 4 is
selected from stratum A, and nA = 3 from stratum B. The selected senior residents are
asked to report (1) the number of visits to a doctor’s office made in the past month and
(2) the number of chronic conditions (CC) they have from a list of seven common
chronic conditions among seniors. From this, we calculated a weight for each sample
person that is the inverse of their probability of selection by computing N A nA for

stratums A and B, and then assigned their weights (Wgt) accordingly.

Here,
NA = 400 nA = 4 FA = 100
NB = 150 nB = 3 FB = 50

Stratum A Stratum B

Sample No. No. Sample No. No.


ID vsts CC Wgt ID vsts CC Wgt

1 1 3 100 5 3 1 50
2 0 2 100 6 2 2 50
3 6 3 100 7 0 1 50
4 3 2 100

10 10 10 400 10 5 4 150

Part 1: Problems
1. Given the weights provided, compute the weighted mean number of visits to a
B nh

∑∑w hi
yhi
doctor’s office. That is, compute y w = h=A i=1
B nh

∑∑w hi
h=A i=1
2. Given the weights provided, compute the mean number of chronic conditions
(CC) across the seven sample cases. As with problem 1, you will compute
B nh

∑∑w hi
yhi
yw = h=A i=1
B nh

∑ ∑ whi
h=A i=1

3. Calculate the unweighted mean for visits to a doctor’s office. That is, compute
B nh

∑∑ y hi
y = h=A i=1 .
n
4. Calculate the unweighted mean for chronic conditions (CC). As with problem 3
B nh

∑∑ y hi
above, you will compute y = h=A i=1 .
n

Part 2: Background

A college registrar office has a list of N = 10,000 student registrations during a


semester, where a single registration consists of a student enrolling in a course. The
registrar selects a sample of n = 10 registrations using simple random sampling from
the list. The student associated with each selected registration is visited by a college
health worker and interviewed. Data below are reports on the number of courses the
student is currently registered in and the student’s report of the number, in the last 30
days, they consumed more than six alcoholic beverages in less than two hours (binge
drinking episodes). Each student has multiple probabilities of being selected, one for
each course enrolled.

Number of Number of binge


Student
courses drinking episodes
in previous 30
days
1 4 0
2 6 4
3 5 1
4 7 1
5 3 0
6 6 1
7 5 2
8 4 1
9 6 7
10 7 3
5.3 2

Part 2: Problems
Problems 5-14: Calculate a weight for each sample person (each of ten students) that is
the inverse of their probability of selection. In particular, compute x i × f , the number of

courses or multiplicity for the student times the base probability of selection of a course
registration, to get a probability of selection for the student, and take the inverse to
obtain the weight.

15. Given the weights computed in 5-14, compute the weighted mean number of binge
B nh

∑∑w hi
yhi
drinking episodes, y w = h=A i=1
B nh

∑∑w hi
h=A i=1

The first summation here shouldn’t be from A to B, it should be summed over all the
weights.

You might also like