Can somebody please help me with this? I need to graduate by Thursday, any help would be much appreciated!Approximately 52% of U.S. households own at least one dog. Using the random digit table provided below, explain how you would conduct a simulation to estimate the percentage of dog owners among U.S. households. Assume that you will look at 10 households at a time.95911 55241 74053 41002 18096 2337019411 15586 98282 81306 73024 3319803846 22199 73312 59593 05126 99863
Question
Answer:
The wording of the question is a little strange. The percentage of dog owners is already estimated at 52%, so no simulation seems useful for that. However, if you want to simulate dog ownership within any given household, you want to apply some algorithm to the given numbers so that about 52% of the time you will see the equivalent of "owns at least one dog."We assume the numbers are uniformly distributed on 00000 .. 99999. You could, for example, take 4 of the 5-digit numbers (20 digits total), divide them into pairs of digits, and declare "owns at least one dog" if the pair of digits is 51 or less.
For example, the first set of 4 numbers so divided will be ...
Β 95 91 15 52 41 74 05 34 10 02
and "owns at least one dog" would then be ...
Β no no yes no yes no yes yes yes yes . . . 6 of the 10 simulated households
_____
This sort of approach can work well if you're simulating something described by a percentage. If there is some other ratio involved, say 3 out of 248, then you could throw out any number that is 99944 or higher (403*248) and look at the remainder when dividing by 248. If it is 2 or less, your condition is satisfied.
Making use of random number tables is a bit of an art. The idea is to choose the algorithm for processing the numbers so that the desired distribution is obtained. If the desired distribution is non-uniform, then there are ways to apply functions to the numbers or simply put them in bins of different width so that you get the desired simulated result.
solved
general
11 months ago
9645