일반분포에서 신뢰구간 구하는 두가지 방법(근사와 정확한신뢰구간)
set.seed(1015)theta_true cat("CLT Method 90% CI for theta: [", clt_lower, ",", clt_upper, "]")CLT Method 90% CI for theta: [ 1.641807 , 2.290249 ]> cat("Chi-square Method 90% CI for theta: [", chi_lower, ",", chi_upper, "]")Chi-square Method 90% CI for theta: [ 1.609214 , 2.237641 ]