Mark Yourself Question
Part A. A student generates 100010001000 pseudorandom values on [0,1)[0,1)[0,1) and bins them into ten equal-width intervals. For the chi-square inference, assume the draws are independent and uniform under the null hypothesis. The observed counts, in order, are
104, 88, 97, 113, 95, 106, 91, 102, 99, 105.
Part B. The same student needs integers from 1 to 7. For Part B, assume each call to their generator gives an independent uniform integer from 0 to 99 inclusive. They compute the outcome as (x mod 7)+1(x \bmod 7) + 1(xmod7)+1.
Answer all five parts.
Unlock full course notes by signing up
Computer Generated Random Numbers: difficulty 3
A Monte Carlo study estimates a probability by simulating 10 00010\,00010000 independent draws, obtaining p^=0.3125\hat{p} = 0.3125p^=0.3125. The Monte Carlo standard error of the estimate is
The investigators want to halve this standard error. Assuming p^\hat{p}p^ stays about the same, how many draws in total are needed? Give a whole number.