# Error type I when we use a random sample of size 50 from an Log Normal distribution,
# a critical value c = 0.5 and R = 500 to test H_0: theta = 0 vs H_1: theta != 0
lognorm_errorI(c=0.5,n=50,theta0=0,sdlog=1,R=500)
Run the code above in your browser using DataLab