Skip to content
Prev 8415 / 20628 Next

Extract a variance estimate per level of random effect

Hi

If you are using lme() you can use the VarCorr() function to get the between and with-in variance for the random part of the model.
For a good explanation you can try http://plantecology.syr.edu/fridley/bio793/mixed1.html

Beatriz de Francisco Mora
PhD Student
The Scottish Association for Marine Science
Scottish Marine Institute
Oban
PA37 1QA
Tel: 06131 559000 (switchboard)
Fax: 01631559001
E. beatriz.defrancisco at sams.ac.uk
http://www.smi.ac.uk/beatriz-de-francisco


Message: 1
Date: Mon, 18 Jun 2012 12:43:12 +0200
From: Luca Borger <lborger at cebc.cnrs.fr>
To: Alan Haynes <aghaynes at gmail.com>
Cc: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] Extract a variance estimate per level of
        random  effect
Message-ID: <4FDF0640.7010908 at cebc.cnrs.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 >Perhaps theres a way to get at the estimates it produces...

summary(myModel)$modelStruc$varStruc



Le 18/06/2012 11:39, Alan Haynes a ?crit :
The Scottish Association for Marine Science (SAMS) is registered in Scotland as a Company Limited by Guarantee (SC009292) and is a registered charity (9206). SAMS has an actively trading wholly owned subsidiary company: SAMS Research Services Ltd a Limited Company (SC224404). All Companies in the group are registered in Scotland and share a registered office at Scottish Marine Institute, Oban Argyll PA37 1QA. The content of this message may contain personal views which are not the views of SAMS unless specifically stated. Please note that all email traffic is monitored for purposes of security and spam filtering. As such individual emails may be examined in more detail.