Suppose that X~B(n,p). An estimator of p is p' =X/N and its standard errors is [p'(1-p')/n]^0.5.
Calculate the coverage rate of the 95% confidence interval for p that uses p' and its standard error along with quantiles from a standard normal distribution. Set n=10,30 and use the number of iterations 10,000.
Submit the output and program files. (Hint: use the command "binornd") .