【发布时间】:2018-11-29 03:41:42
【问题描述】:
我正在这个模型上运行 RStudio 中的“step”功能:
inputData.entry = lmer(height ~ ENTRY_NO + REP + (1|SUB.BLOCK), data=inputData); # our model
这就是我正在运行的“步骤”:
help.search("step",package="lmerTest");
st <- step(inputData.entry, reduce.fixed=FALSE);
print(st);
这是输出:
Backward reduced random-effect table:
Eliminated npar logLik AIC LRT Df Pr(>Chisq)
<none> 142 -397.15 1078.3
(1 | SUB.BLOCK) 1 141 -397.47 1076.9 0.63157 1 0.4268
Backward reduced fixed-effect table:
Eliminated Df Sum of Sq RSS AIC F value Pr(>F)
ENTRY_NO 0 138 4238.1 6210.4 844.18 1.9775 5.749e-05 ***
REP 0 1 30.6 2002.9 816.03 1.9720 0.1627
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Model found:
height ~ ENTRY_NO + REP
我的问题是声明----找到模型:
为什么inputData.entry在“lmer”中显示“Sub.Block”时,结果不会在模型中列出?
我做错了什么吗?
感谢您的建议!
【问题讨论】:
标签: r linear-regression