The second argument is the number of total adults, i.e. 40. The third argument is the number of successes, i.e. 52 deaths. The fourth argument is the total number of people in the study, i.e. 88. The last argument is FALSE. The produces the probability for each of the possible outcomes. To obtaint the p-value for the Dog Bite case study, simply sum the individal probabilities for 28 (i.e. the observed outcome in our study) and above. Recall, the one-tailed p-value obtained from the Tinkerplots simulation was 0.045. The exact p-value (obtained from the hypergeometric distribution) is 0.046. These values are very similar as would be expected. In practice, statisticians use the hypergeometic distribution directly and skip the based approach as was done in Tinkerplots. The simulation-based approach is mimicking the hypergeometric distribution, and using the hypergeometic distribution provides an exact p-value for our test. Example 4.3.2: Consider again the MN Department of Correction investigation into how well sexual treatment programs work in preventing recidivism. Sexual Number Not Number Treatment Total Rearrested Rearrested Program Yes 443 577 1020 No 427 593 1020 Research Question: Do sexual treatment programs have any impact on the likelihood of recidivism (i.e a rearrest)?
The second argument is the number of total adults, i.e. 40. The third argument is the number of successes, i.e. 52 deaths. The fourth argument is the total number of people in the study, i.e. 88. The last argument is FALSE. The produces the probability for each of the possible outcomes. To obtaint the p-value for the Dog Bite case study, simply sum the individal probabilities for 28 (i.e. the observed outcome in our study) and above. Recall, the one-tailed p-value obtained from the Tinkerplots simulation was 0.045. The exact p-value (obtained from the hypergeometric distribution) is 0.046. These values are very similar as would be expected. In practice, statisticians use the hypergeometic distribution directly and skip the approach as was done in Tinkerplots. The simulation-based approach is mimicking the hypergeometric distribution, and using the hypergeometic distribution provides an exact p-value for our test. Example 4.3.2: Consider again the MN Department of Correction investigation into how well sexual treatment programs work in preventing recidivism. Sexual Treatment Program Number Not Rearrested Number Rearrested Total Yes 443 577 1020 No 427 593 1020 Research Question: Do sexual treatment programs have any impact on the likelihood of recidivism (i.e a rearrest)? based
Chapter4_SP18.docx