suppose for our survey of 1000 people about coee drinking, we
are interested in testing whether the population proportion drinking coee daily is less
than 75%.
> prop.test(730, 1000, p=0.75, alternative="less")
1-sample proportions test with continuity correction
data: 730 out of 1000, null probability 0.75
X-squared = 2.028, df = 1, p-value = 0.07721
alternative hypothesis: true p is less than 0.75
95 percent confidence interval:
0.0000000 0.7529343
sample estimates:
p
0.73
置信区间的p值和 其结果的数字意义是什么,如果alternative=two.sided,结果会是 0.7011280 0.7570797,这是指 下 一 个 100被测者中有95个喝咖啡的概率为70%-75%吗
are interested in testing whether the population proportion drinking coee daily is less
than 75%.
> prop.test(730, 1000, p=0.75, alternative="less")
1-sample proportions test with continuity correction
data: 730 out of 1000, null probability 0.75
X-squared = 2.028, df = 1, p-value = 0.07721
alternative hypothesis: true p is less than 0.75
95 percent confidence interval:
0.0000000 0.7529343
sample estimates:
p
0.73
置信区间的p值和 其结果的数字意义是什么,如果alternative=two.sided,结果会是 0.7011280 0.7570797,这是指 下 一 个 100被测者中有95个喝咖啡的概率为70%-75%吗


