s-news
[Top] [All Lists]

[S] help with variance components model

To: s-news@wubios.wustl.edu
Subject: [S] help with variance components model
From: Bill Shipley <bshipley@courrier.usherb.ca>
Date: Mon, 30 Mar 1998 11:18:43 -0500
Sender: owner-s-news@wubios.wustl.edu
Hello,
I am trying to fit a variance components model with Splus, but do not
understand the varcomp() function.  I have a nested sampling design:
2 leaves each from an individual plant, 3 plants per species and 21 species.
Note that the data set is not completely balanced due to missing values.
Now, after making the three variable (species, ind, leaf) random factors, if
I specify:

fit<-varcomp(Y~species/ind, method="reml")

I had assumed that the leaf level would be what varcomp calls "residuals",
but this is not the case, since if I specify:

fit<-varcomp(Y~species/ind/leaf, method="reml")

 then varcomp computes the variance components at each nested level PLUS a
"residuals".  What is going on?  What variance does the "residuals"
represent in this second model?

Thanks.
Bill Shipley
Departement de Biologie
Universite de Sherbrooke
Sherbrooke (Quebec)
CANADA J1K 2R1
bshipley@courrier.USherb.ca
voix: 819-821-8000 poste 2079
telecopieur: 819-821-8049
Visitez notre site WEB : http://www.usherb.ca/SCES/BIO/index.html
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] help with variance components model, Bill Shipley <=