s-news
[Top] [All Lists]

Re: lme

To: "James Stapleton" <staplet5@stt.msu.edu>, <s-news@lists.biostat.wustl.edu>
Subject: Re: lme
From: "Stella Karuri" <swkaruri@insightful.com>
Date: Wed, 14 May 2008 13:59:27 -0700
In-reply-to: <B130A91CAE960240AD7FA52EB156C82E1533DEB801@exchange.sttwin.stt.msu.edu>
References: <B130A91CAE960240AD7FA52EB156C82E1533DEB801@exchange.sttwin.stt.msu.edu>
Thread-index: Aci2AL59SozNX41BT8OtMU1/03a4gwAArPKwAABtijA=
Thread-topic: [S] lme

If it’s the variance of the random effects you are after, try

 

VarCorr(fit.object)

 

stella


From: s-news-owner@lists.biostat.wustl.edu [mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of James Stapleton
Sent: Wednesday, May 14, 2008 1:54 PM
To: s-news@lists.biostat.wustl.edu
Subject: [S] lme

 

 

 

I am using S-Plus 8.0 (Windows), and the function “lme” to fit a model with fixed and random components. The function works well. I call the resulting object a.lme.

Then I define s.lme = summary(a.lme). Printing that gives me what I need. However, I would like to simulate this many times, generating a new y vector each time, and for each such iteration store the resulting parameter estimates. I can do this for the estimates of the parameters (the betas)  in the fixed part. However, neither of the lists a.lme and s.lme contain the estimates of the standard deviations (or variance) estimates, even though they are printed when I enter   s.lme or print(s.lme)  ( which are the same).

 

How can I “grab” these estimates so that I can store them?

 

Jim Stapleton

<Prev in Thread] Current Thread [Next in Thread>
  • lme, James Stapleton
    • Re: lme, Stella Karuri <=