Tinkerplots produces the following outcome for the 1st trial. Again, it is important to keep the row and column totals the same as the original data for each trial. If this did not happen in your simulation, you likely did not specify that sampling needs to be done without replacement (see note above regarding this issue). For each decide on one statistic to collect for each trial. In the following, Adult: Yes is selected. Each simulation produces an outcome that Decide on one value to track in each trial. I have maintains row and column totals selected Adult / Yes here. A plot of the outcomes from 1000 trails. Putting all the pieces together for the Dog Bite case study. Dog Bite Case Study Research Is there evidence to suggest that Adults are more likely to be killed by pit bulls Question than Children? Testable Ho: There is no difference in the chance of being killed by a pit bull between Hypothesis adults and children HA: Adults are more likely to be killed by pit bulls than Children Or Ho: There is no effect due to age in the likelihood of being killed by a pit bull HA: Adults have a higher likelihood of being killed by a pit bull compared to Children Or Ho: Age and Pit Bull are independent of each other HA: Age and Pit Bull Cause are dependent Or
Tinkerplots produces the following outcome for the 1st trial. Again, it is important to keep the row and column totals the same as the original data for each trial. If this did not happen in your simulation, you likely did not specify that sampling needs to be done without replacement (see note above regarding this issue). For each decide on one statistic to collect for each trial. In the following, Adult: Yes is selected. Each simulation produces an outcome that maintains row and column totals Decide on one value to track in each trial. I have selected Adult / Yes here. A plot of the outcomes from 1000 trails. Putting all the pieces together for the Dog Bite case study. Dog Bite Case Study Research Question Is there evidence to suggest that Adults are more likely to be killed by pit bulls than Children? Testable Hypothesis Ho: There is no difference in the chance of being killed by a pit bull between adults and children HA: Adults are more likely to be killed by pit bulls than Children Or Ho: There is no effect due to age in the likelihood of being killed by a pit bull HA: Adults have a higher likelihood of being killed by a pit bull compared to Children Or Ho: Age and Pit Bull are independent of each other HA: Age and Pit Bull Cause are dependent Or