lengthCAS(n, alp, c, a, b)[2] 1998 Newcombe RG. Two-sided confidence intervals for the single proportion: Comparison of seven methods. Statistics in Medicine: 17; 857 - 872.
[3] 2008 Pires, A.M., Amado, C. Interval Estimators for a Binomial Proportion: Comparison of Twenty Methods. REVSTAT - Statistical Journal, 6, 165-197.
PlotexplCAS,
PlotexplCAll, PlotexplCLT,
PlotexplCSC, PlotexplCTW,
PlotexplCWD, PlotlengthCAS,
PlotlengthCAll,
PlotlengthCLT, PlotlengthCSC,
PlotlengthCTW, PlotlengthCWD,
lengthCAll, lengthCLT,
lengthCSC, lengthCTW,
lengthCWDn= 10; alp=0.05; c=1/(2*n);a=1;b=1;
lengthCAS(n,alp,c,a,b)
Run the code above in your browser using DataLab