楼主: chris1998
5101 3

[实际应用] 计算binomial proportion test 的p值 [推广有奖]

  • 5关注
  • 7粉丝

已卖:2543份资源

讲师

44%

还不是VIP/贵宾

-

威望
0
论坛币
124772 个
通用积分
15.3383
学术水平
44 点
热心指数
54 点
信用等级
43 点
经验
2633 点
帖子
524
精华
0
在线时间
456 小时
注册时间
2011-5-29
最后登录
2025-7-28

楼主
chris1998 发表于 2014-6-5 10:52:51 |AI写论文
100论坛币
关于计算binomial proportion test 的p值

请教各位大神:附件表格中红色方框里各数值后面星号所表示的p值具体是如何计算出来的?

binomial proportion test.jpg (94.12 KB)

binomial proportion test.jpg

最佳答案

dxystata 查看完整内容

以438 226为例 binom.test(x =438, n =664, p = 0.5, alternative = "two.sided") binom.test(x =226, n =664, p = 0.5, alternative = "two.sided")
关键词:Proportion Binomial nomial Port test 如何

沙发
dxystata 发表于 2014-6-5 10:52:52
以438 226为例
binom.test(x =438, n =664, p = 0.5, alternative = "two.sided")
binom.test(x =226, n =664, p = 0.5, alternative = "two.sided")

藤椅
chris1998 发表于 2014-6-5 22:47:16
多谢版主啊!用二项分布近似方法和修正的正态近似方法做出的结果基本相符,看来原文中可能是Frebruary 1989一栏中56.46后面少标了一个星号。
> prop.test(236,418,correct=TRUE)

        1-sample proportions test with continuity correction

data:  236 out of 418, null probability 0.5
X-squared = 6.7201, df = 1, p-value = 0.009533
alternative hypothesis: true p is not equal to 0.5
95 percent confidence interval:
0.5154876 0.6124931
sample estimates:
        p
0.5645933

> binom.test(x=236,n=418,p=0.5,alternative="two.sided")

        Exact binomial test

data:  236 and 418
number of successes = 236, number of trials = 418, p-value = 0.009451
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
0.5155503 0.6127155
sample estimates:
probability of success
             0.5645933

板凳
酥软软 发表于 2016-1-2 21:13:06
您好,我最近在学习r语言中,遇到了您问题中所用的两个函数,虽然看了帮助文档,但是对这两个函数的意义还是不理解,请问这两个函数都是用来做什么的,有什么区别呢?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-29 08:23