Question: n Question 2 . 1 you performed 2 0 interim analyses of simulated data for an A / A design. Modify the code of Question
n Question you performed interim analyses of simulated data for an AA design. Modify the code of Question to implement a sequential analyses using Pocock's boundary to control the type I error in experiments.
Then compare the estimated type I error rate when the Pocock's method is used with the expected type I error rate value.
Assign your answer to an object called answer Your answer should be a tibble with two columns: nrejectionsPocock and expectednrejections.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
