Question: In Question 2 . 1 you performed 2 0 interim analyses of simulated data for an A / A design. Modify the code of Question

In Question 2.1 you performed 20 interim analyses of simulated data for an A/A design. Modify the code of Question 2.5 to implement a Bonferroni correction as specified in Question 3.1.0 in 100 experiments.
Then compare the estimated type I error rate when a Bonferroni correction is used with the expected type I error rate value.
Assign your answer to an object called answer3.1.2. Your answer should be a tibble with two columns: n_rejections_Bonf and expected_n_rejections.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!