[R] Variance Components in R

From: Iuri Gavronski <iuri_at_ufrgs.br>
Date: Fri 11 Aug 2006 - 05:29:48 EST


Hi,

I'm trying to fit a model using variance components in R, but if very new on it, so I'm asking for your help.

I have imported the SPSS database onto R, but I don't know how to convert the commands... the SPSS commands I'm trying to convert are: VARCOMP
   RATING BY CHAIN SECTOR RESP ASPECT ITEM
/RANDOM = CHAIN SECTOR RESP ASPECT ITEM
/METHOD = MINQUE (1)
/DESIGN = CHAIN SECTOR RESP ASPECT ITEM
               SECTOR*RESP SECTOR*ASPECT SECTOR*ITEM CHAIN*RESP CHAIN*ASPECT CHAIN*ITEM RESP*ASPECT RESP*ITEM                SECTOR*RESP*ASPECT SECTOR*RESP*ITEM CHAIN*RESP*ASPECT
/INTERCEPT = INCLUDE.
VARCOMP
   RATING BY CHAIN SECTOR RESP ASPECT ITEM
/RANDOM = CHAIN SECTOR RESP ASPECT ITEM
/METHOD = REML
/DESIGN = CHAIN SECTOR RESP ASPECT ITEM
               SECTOR*RESP SECTOR*ASPECT SECTOR*ITEM CHAIN*RESP CHAIN*ASPECT CHAIN*ITEM RESP*ASPECT RESP*ITEM                SECTOR*RESP*ASPECT SECTOR*RESP*ITEM CHAIN*RESP*ASPECT
/INTERCEPT = INCLUDE.
Thank you for your help.

Best regards,

Iuri.



Iuri Gavronski - iuri@ufrgs.br
doutorando
UFRGS/PPGA/NITEC - www.ppga.ufrgs.br
Brazil

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri Aug 11 05:34:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 17 Aug 2006 - 12:22:00 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.