我有数据:
numbers <- c(0.176, 0.005, 0.022, 0.016, 0.036, 0.095, 0.069 )
Inds <- as.factor(c("P06", "P07", "P08", "P09", "P10", "P12", "P13") )
并试图测试numbers
作为函数的差异Inds
。这些数字是每个人的事件成功的比例。Inds
指定为一个因素,我正在尝试使用(下)进行方差aov()
分析
anova(aov(numbers ~ Inds))
导致警告(下)
Analysis of Variance Table
Response: numbers
Df Sum Sq Mean Sq F value Pr(>F)
Inds 6 0.021743 0.0036238
Residuals 0 0.000000
Warning message:
In anova.lm(aov(numbers ~ Inds)) :
ANOVA F-tests on an essentially perfect fit are unreliable
任何建议(代码更改或理论错误)将不胜感激。