c*1
2 楼
查了一下这架飞机经济舱有72个座位。据说被randomly chosen的4个人有3个是亚裔,
如果这是真的,那么做一个chi-sq test就知道有没有歧视了。
假设72个人有17个亚裔
[,1] [,2]
[1,] 54 14
[2,] 1 3
p-value = 0.0595
假设72个人有16个亚裔
[,1] [,2]
[1,] 55 13
[2,] 1 3
p-value = 0.04617
也就是说在95%信心水平下,如果72个人中亚裔少于17个,就可以说踢人的过程中存在
歧视
如果这是真的,那么做一个chi-sq test就知道有没有歧视了。
假设72个人有17个亚裔
[,1] [,2]
[1,] 54 14
[2,] 1 3
p-value = 0.0595
假设72个人有16个亚裔
[,1] [,2]
[1,] 55 13
[2,] 1 3
p-value = 0.04617
也就是说在95%信心水平下,如果72个人中亚裔少于17个,就可以说踢人的过程中存在
歧视
p*r
3 楼
what's the point??
s*d
5 楼
今天是上周五的翻版。
w*p
6 楼
如果飞机上只有4个亚裔,p value是多少
K*2
8 楼
2 by 2 contingency table, 要用Fisher's exact test,超几何分布
K*2
10 楼
> x=matrix(c(54,1,14,3),ncol=2)
> fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.03867
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.8184615 615.7103837
sample estimates:
odds ratio
11.0593
> x=matrix(c(55,1,13,3),ncol=2)
> fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.03225
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.8907116 674.7945125
sample estimates:
odds ratio
12.08438
> fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.03867
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.8184615 615.7103837
sample estimates:
odds ratio
11.0593
> x=matrix(c(55,1,13,3),ncol=2)
> fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.03225
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.8907116 674.7945125
sample estimates:
odds ratio
12.08438
相关阅读
抓100个奶的计划 (18+)段子们海龟院士被捕,老婆回国求职 (转载)进击的刘备老留tesla评测 (转载)各位的notice period都是多长? (转载)大学生军训是培养00后独生子女的唯一途径 (转载)航班取消,华女滞留机场,为赶父亲葬礼与陌生人开车600哩 (转载)目测是老三中国最帅“女汉子” 帅度直逼吴彦祖被人肉(图) (转载)给大家几分蚯蚓菜谱,养蚯蚓的可要记得收藏了 (转载)请问旅馆的马桶盖用纸条捆上是什么意思? (转载)中国娶妻太难?我看这个上进乐观青年讲得很好 (转载)Re: 最近去了一次台湾,很喜欢台北 (转载)进击的博导前面那司机技术确实牛B啊! 这也给他躲过去了...杯具啊! 观众席的男球迷意外给全垒打击中了下体Re: 日本国脚大闹德国机场 故意放屁泄愤被罚重金 (转载)几个笑话 -- 爸爸妈妈的结婚照迷路的总统 恶搞奥巴马白宫讲话