Two proportion 检验使用之困惑
其实大家都知道Two proportion 检验是用来评定两组数据之总体比例是否相均等!
本人使用一段时间对此方法略知皮毛,但还是对此有诸多不解之处!望各路豪杰勇于
亮剑!具体参考数据见下:
通常我们会检验此两个比例是否相等,设定如下假设:!
(1)设真值假设为proportion A=proportion B,
备选假设为proportion A not equal proportion B,
经过运算分析数据及p值如下:
样本 X N Sample p
1 270 36820 0.007333
2 5 2780 0.001799
Difference = p (1) - p (2)
Estimate for difference: 0.00553441
95% CI for difference: (0.00373434, 0.00733448)
Test for difference = 0 (vs not = 0): Z = 6.03 P-Value = 0.000
根据p-value=0.000<0.05可得出拒绝真值假设而接备选假设.
(2)但如果用同样的真值假设
分别用另两个不同之备选假设,
2.1) 备选假设为proportion A less than proportion B,
2.2) 备选假设为proportion A greater than proportion B,
试着去分析运算数据及p值如下:
样本 X N Sample p
1 270 36820 0.007333
2 5 2780 0.001799
Difference = p (1) - p (2)
Estimate for difference: 0.00553441
95% upper bound for difference: 0.00704508
Test for difference = 0 (vs < 0): Z = 6.03 P-Value = 1.000
样本 X N Sample p
1 270 36820 0.007333
2 5 2780 0.001799
Difference = p (1) - p (2)
Estimate for difference: 0.00553441
95% lower bound for difference: 0.00402374
Test for difference = 0 (vs > 0): Z = 6.03 P-Value = 0.000
由以上可知依不同的备选假设得出不同的结论,其中奥妙在哪?(原假设与备选假设要对立?)
本人使用一段时间对此方法略知皮毛,但还是对此有诸多不解之处!望各路豪杰勇于
亮剑!具体参考数据见下:
通常我们会检验此两个比例是否相等,设定如下假设:!
(1)设真值假设为proportion A=proportion B,
备选假设为proportion A not equal proportion B,
经过运算分析数据及p值如下:
样本 X N Sample p
1 270 36820 0.007333
2 5 2780 0.001799
Difference = p (1) - p (2)
Estimate for difference: 0.00553441
95% CI for difference: (0.00373434, 0.00733448)
Test for difference = 0 (vs not = 0): Z = 6.03 P-Value = 0.000
根据p-value=0.000<0.05可得出拒绝真值假设而接备选假设.
(2)但如果用同样的真值假设
分别用另两个不同之备选假设,
2.1) 备选假设为proportion A less than proportion B,
2.2) 备选假设为proportion A greater than proportion B,
试着去分析运算数据及p值如下:
样本 X N Sample p
1 270 36820 0.007333
2 5 2780 0.001799
Difference = p (1) - p (2)
Estimate for difference: 0.00553441
95% upper bound for difference: 0.00704508
Test for difference = 0 (vs < 0): Z = 6.03 P-Value = 1.000
样本 X N Sample p
1 270 36820 0.007333
2 5 2780 0.001799
Difference = p (1) - p (2)
Estimate for difference: 0.00553441
95% lower bound for difference: 0.00402374
Test for difference = 0 (vs > 0): Z = 6.03 P-Value = 0.000
由以上可知依不同的备选假设得出不同的结论,其中奥妙在哪?(原假设与备选假设要对立?)
没有找到相关结果
已邀请:
11 个回复
allen413 (威望:1) (广东 深圳) 电子制造 其它 - I love this game!
赞同来自: