An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20120810/9927f880/attachment.pl>
covariance matrix of fixed effects in lmer()
2 messages · matthias.suter at art.admin.ch, ONKELINX, Thierry
Dear Matthias, vcov(model) for the fixed effects and VarCorr(model) for the random effects Best regards ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium + 32 2 525 02 51 + 32 54 43 61 85 Thierry.Onkelinx at inbo.be www.inbo.be To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -----Oorspronkelijk bericht----- Van: r-sig-mixed-models-bounces at r-project.org [mailto:r-sig-mixed-models-bounces at r-project.org] Namens matthias.suter at art.admin.ch Verzonden: vrijdag 10 augustus 2012 13:27 Aan: r-sig-mixed-models at r-project.org Onderwerp: [R-sig-ME] covariance matrix of fixed effects in lmer() Dear list members Is there a direct access to the covariance matrix of fixed effects in lmer(). For example, with ... summary( lmer(y ~ x1 + x2 + x3 + (1 | Groupingfactor), data) ) ... we receive the "Correlation of Fixed Effects" Is there a straight forward way to get the covariance matrix to which the correlation matrix refers? The analogue in a lm() would be: lmout <- lm(y ~ x1 + x2 + x3, data) To get the covariance matrix, we have e.g.: summary(lmout)$sigma^2 * summary(lmout)$cov.uns With many thanks in advance, Matthias -------------------------------------------------------------------------------- Matthias Suter, Dr. Forage and Grassland Forschungsanstalt Agroscope Reckenholz-T?nikon ART Reckenholzstrasse 191, CH-8046 Z?rich Tel. +41 44 377 75 90 Fax +41 44 377 72 01 matthias.suter at art.admin.ch www.agroscope.ch -------------------------------------------------------------------------------- * * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * * Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document. The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document.