¿Por qué la absoluta probabilidades de afectar el valor de p de una prueba de chi-cuadrado tanto? Por ejemplo:
> successes.1 = c(400, 500)
> successes.2 = c(40, 50)
> trials = c(1000, 1000)
> test.1 = prop.test(successes.1, trials)
> test.2 = prop.test(successes.2, trials)
> test.1
2-sample test for equality of proportions with continuity correction
data: successes.1 out of trials
X-squared = 19.8, df = 1, p-value = 8.598e-06
alternative hypothesis: two.sided
95 percent confidence interval:
-0.14438565226 -0.05561434774
sample estimates:
prop 1 prop 2
0.4 0.5
> test.2
2-sample test for equality of proportions with continuity correction
data: successes.2 out of trials
X-squared = 0.9424, df = 1, p-value = 0.3317
alternative hypothesis: two.sided
95 percent confidence interval:
-0.029165387766 0.009165387766
sample estimates:
prop 1 prop 2
0.04 0.05