# Error type I when we use a random sample of size 70 from an Normal distribution,
# a critical value c = 0.65 and R = 20000 to test H_0: theta = 0 vs H_1: theta != 0
norm_errorI(0.65,70,theta0=0,sd=1,R=20000)
Run the code above in your browser using DataLab