我的数据中有2个因素。一个因素(称为“变量”)具有3个变量“BF”,“SM”,“RM”,另一个因素是硬木含量(连续)。当我运行ANCOVA来分析模型值~variable * hardwood.content时,结果如下:
Call:
lm(formula = value ~ hardwood.content * variable, data = rn)
Residuals:
Min 1Q Median 3Q Max
-58366 -9038 -2095 4851 199967
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 30013.5 11157.2 2.690 0.00880 **
hardwood.content -323.4 181.7 -1.780 0.07918 .
variableSM -49410.0 15778.7 -3.131 0.00248 **
variableRM -24646.5 15778.7 -1.562 0.12249
hardwood.content:variableSM 1364.3 257.0 5.309 1.08e-06 ***
hardwood.content:variableRM 381.9 257.0 1.486 0.14145
---
Signif. codes: 0 ?**?0.001 ?*?0.01 ??0.05 ??0.1 ??1
Residual standard error: 29180 on 75 degrees of freedom
Multiple R-squared: 0.3989, Adjusted R-squared: 0.3589
F-statistic: 9.956 on 5 and 75 DF, p-value: 2.482e-07
为什么结果没有变量系数“BF”?
这是我数据的一部分:
hardwood.content variable value
9.24000 BF 79558.824
18.60000 BF 28611.111
2.89000 BF 23673.469
13.72000 BF 16538.462
9.24000 SM 5000.000
18.60000 SM 7500.000
2.89000 SM 5000.000
13.72000 SM 0.000
9.24000 RM 6666.667
18.60000 RM 21785.714
2.89000 RM 6000.000
13.72000 RM 0.000