我正在测试两组成功的比例:2-sample test for equality of proportions without continuity correction
我的矩阵mat
以下
A B
92 58
4 2
所以,我正在做prop.test(mat, alternative = "greater", correct = FALSE)
,并得到以下输出:
X-squared = 0,069333, df = 1, p-value = 0,3962
alternative hypothesis: less
95 percent confidence interval:
-1,0000000 0,2699048
sample estimates:
prop 1 prop 2
0,6133333 0,6666667
Warning message:
In prop.test(mat.i, alternative = "less", correct = FALSE) :
Chi-squared approximation may be incorrect
所以,我知道在经典的卡方检验中,我们应该重新组合“效果”,但是,我想事实并非如此。有什么要修复的,还是应该是因为数据。