如何获得置信区间?

How to get confidence interval?

已知有 37 人的疾病检测呈阳性,69 人呈阴性。阳性测试结果比例的 95% 置信区间是多少?

binom.test(37, 37+69)

        Exact binomial test

data:  37 and 37 + 69
number of successes = 37, number of trials = 106, p-value = 0.00244
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
 0.2590333 0.4477520
sample estimates:
probability of success 
             0.3490566