我正在运行一个线性混合模型,针对具有 4 个水平的预测变量 root.type
的单个响应变量;当我运行模型时,我只想得到整个因子的信息,但它一直将其分成各个水平。有什么想法吗?
Ca.auto <- lmer(Ca ~ root.type + (1|pot), data)
summary(Ca.auto)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Ca ~ root.type + (1 | pot)
Data: autotroph
REML criterion at convergence: -17.5
Scaled residuals:
Min 1Q Median 3Q Max
-2.2204 -0.4872 -0.1147 0.4371 3.6250
Random effects:
Groups Name Variance Std.Dev.
pot (Intercept) 0.00000 0.0000
Residual 0.02884 0.1698
Number of obs: 42, groups: pot, 12
Fixed effects:
Estimate Std. Error df t value
(Intercept) 1.62108 0.05120 38.00000 31.660
root.typeunparasitized host -0.99282 0.07241 38.00000 -13.711
root.typeattached hemiparasite -0.57593 0.07420 38.00000 -7.762
root.typeparasitized host -0.97373 0.07420 38.00000 -13.123
Pr(>|t|)
(Intercept) < 2e-16 ***
root.typeunparasitized host 2.72e-16 ***
root.typeattached hemiparasite 2.35e-09 ***
root.typeparasitized host 1.09e-15 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Correlation of Fixed Effects:
(Intr) rt.typnh rt.typth
rt.typnprsh -0.707
rt.typttchh -0.690 0.488
rt.typprsth -0.690 0.488 0.476
optimizer (nloptwrap) convergence code: 0 (OK)
boundary (singular) fit: see ?isSingular
我原本只期望有一个固定效应(root.type
)。我更新了软件包,但是没有任何变化。