When you fit an lmer model in R, it’s easy to see the fixed-effect parameter estimates and the standard errors associated with them (i.e., just type the name of your
fit.object or feed it to
summary()), but, at least at first glance, it’s not so easy to extract both of those sets of numbers to generate tables or figures.
Well, it turns out that if you have the arm package, getting the SEs is easy, too. To get the fixed effect estimates, just use
fixef(fit.object), and to get the SEs (with arm installed), just use
I don’t really have anything else to say about this, but I figure having a post devoted to it may be helpful to someone at some point, thereby counteracting, if only in a small way, the generally awful ‘official’ R help responses to questions about this kind of thing.
UPDATE: Edited to make use of the fact that there is a built in way to make code look like code that I had somehow overlooked.