获得Std Dev& lmer()估计值中的t值

时间:2014-05-16 18:09:20

标签: r lme4 lmer

我正在尝试使用lmer()构建一个线性混合效果模型,但输出我只是看起来像这样

> model <- lmer(elogit_ToTarget ~ (Age..vA..months. + EVT_GSV + DDNotAgeSensitive)*(OrthTime + OrthTime2) +
+                 ( OrthTime + OrthTime2 | Subject ), data=d)
> print(model, correlation=F)
Linear mixed model fit by REML ['lmerMod']
Formula: elogit_ToTarget ~ (Age..vA..months. + EVT_GSV + DDNotAgeSensitive) *  
    (OrthTime + OrthTime2) + (OrthTime + OrthTime2 | Subject)
   Data: d
REML criterion at convergence: 373.2443
Random effects:
 Groups   Name        Std.Dev. Corr       
 Subject  (Intercept) 0.4440              
          OrthTime    2.7986    0.65      
          OrthTime2   1.0893   -0.12 -0.21
 Residual             0.2486              
Number of obs: 1060, groups: Subject, 30
Fixed Effects:
                (Intercept)             Age..vA..months.                      EVT_GSV            DDNotAgeSensitive  
                  -3.516428                     0.008027                     0.026585                    -0.130812  
                   OrthTime                    OrthTime2    Age..vA..months.:OrthTime   Age..vA..months.:OrthTime2  
                 -10.282966                     2.193035                     0.070552                     0.001379  
           EVT_GSV:OrthTime            EVT_GSV:OrthTime2   DDNotAgeSensitive:OrthTime  DDNotAgeSensitive:OrthTime2  
                   0.106536                    -0.037707                     1.532189                     2.627951  

在我看过的其他示例中,除了估算之外,还有标准错误和t值的列,但这似乎不是可以指定的选项。我怎么能得到这些?

1 个答案:

答案 0 :(得分:1)

使用summary(model);如果要提取固定效果系数表,请使用coef(summary(model))