[R-sig-ME] lme4: Obtaining the SE of difference in two fixed-effects slope
Simon Harmel
@|m@h@rme| @end|ng |rom gm@||@com
Thu Oct 29 03:29:53 CET 2020
Dear All,
I'm interested in obtaining standard error (SE) of [*meanses - ses]* estimate
in my model below which serves as the contextual effect coefficient.
Is there a way to obtain this SE in R?
hsb <- read.csv('
https://raw.githubusercontent.com/rnorouzian/e/master/hsb.csv')
fit <- lmer(math ~ ses + meanses + (1|sch.id), data = hsb)
coef(summary(fit))
Estimate Std. Error t value
(Intercept) 12.661262 0.1493726 84.762956
ses 2.191165 0.1086673 20.163983
meanses 3.675037 0.3776607 9.731055
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models
mailing list