In: Statistics and Probability
The probability that a randomly selected US household own a dog is 0.52
We select a sample of 10 US households and count how many of them have a dog. To simulate this we use the following steps
Since 0.52 is a 2 digit number when we express it in terms of percentages, we will pick a starting location in the random digit table and pick 2 digits at a time. We can either move down the columns or move across the rows to pick the next 2 digit. For example, we can pick the first row+column as our starting location. The first 2 digits that we read would be 95. The next 2 could be 19 (if we move down) or 91 (if we move across)
Just as a example we will pick the first sample of 10
The numbers are 95,19,03,91,41,84,15,11,62,52. Of these 5 (19,03,,41,15,11) are less than 52 and these are the dog owners. Hence in this simulated sample of 10 families, 5 are dog owners.
We then repeat this 999 more times and get an average value of the dog owning families. Divide this by 10 and we get an estimate of the proportion.