从fisher.test 和Graphpad 得到不同的置信区间

问题描述

我试图用来自 R 的 95% CI 来分析优势比,这是我在 fisher.test 中使用的一个例子。

test <-
  matrix(c(9,155,1,147),nc = 2,dimnames = list(Guess = c("Risk","Non-Risk"),Truth = c("disease","Healthy")))
fisher.test(test)

#data:  test
#p-value = 0.02111
#alternative hypothesis: true odds ratio is not equal to 1
#95 percent confidence interval:
#   1.152258 375.967121
#sample estimates:
#odds ratio 
#  8.492381 

这里的 95% CI 输出是 1.152258 到 375.967121,这与 GraPHPad 不同(1.379 到 94.31),OR 也有点不同(8.535)我不知道这里发生了什么,我不知道该相信哪一个,有人可以回答我的问题吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)