【问题标题】:How to get confidence interval?如何获得置信区间?
【发布时间】:2021-06-13 18:06:41
【问题描述】:

假设有 37 人的疾病检测结果为阳性,而 69 人的结果为阴性。阳性检测结果比例的 95% 置信区间是多少?

【问题讨论】:

标签: r confidence-interval


【解决方案1】:
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 

【讨论】:

    猜你喜欢
    • 2014-07-14
    • 2017-01-18
    • 2023-03-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-02-22
    相关资源
    最近更新 更多