r - 如何解释> 2组中R中`prop.test`的估计比例输出?
问题描述
如果我有两组:
a <- c(11,14,25,34)
b <- c(23,12,42,23)
我已经通过堆叠它们构建了一个数据框:
group <- cbind(a, b)
rownames(group) <- c('icecream','pancakes','pizza','burger')
Aprop.test(group)
会产生以下结果:
4-sample test for equality of proportions without continuity
correction
data: group
X-squared = 9.506, df = 3, p-value = 0.02327
alternative hypothesis: two.sided
sample estimates:
prop 1 prop 2 prop 3 prop 4
0.3235294 0.5384615 0.3731343 0.5964912
我如何解释道具 1 到 4?例如,prop 1 = 0.324 是否表示 a 和 b 之间有 32.4% 的重叠?a 预测 b 的准确率是 32.4% 吗?我尝试group
通过绑定a
和b
相反的顺序(即group <- cbind(b, a)
)创建,这也产生了不同的输出prop.test
。
解决方案
推荐阅读
- javascript - JavaScript (p5.js) 不适用于移动设备
- javascript - 在 JS 对象中递归和异步转换 DocumentReference
- php - Laravel - Passport API 集成 错误:{“消息”:“未验证。”}
- node.js - express-session 在 nodejs 中找不到 req.session.user 对象
- python - 如何将身份验证/凭据传递给我从 python 运行的谷歌云 api 帖子
- javascript - 我需要创建一个骰子对象,第一次在我的 html js 中加载页面时自动掷骰子
- python - 在 Django 中使用文件字段上传表单时文件无效
- xml - 如何使用 xmlstarlet 搜索 XML 节点并添加或删除它
- python - Python Bulk Insert 给出 TypeError:字符串格式化期间并非所有参数都被转换
- c# - 在没有代码审查的情况下阻止将文件签入到 TFS