Skip to content

HLM-like analysis in R

4 messages · Andrew Perrin, Douglas Bates, Peter Malewski +1 more

#
Greetings-

I have some data on which I need to do something like a Hierarchical
Linear Model (please bear with me, I'm only learning the technique so I
don't know yet if my language is correct).  Essentially I'm analyzing data
at two levels simultaneously; data are about individuals an organizations
of which they are members.

Can someone point me toward an appropriate package in R?

Thanks.

---------------------------------------------------------
   Andrew J. Perrin - Assistant Professor of Sociology
        University of North Carolina, Chapel Hill
269 Hamilton Hall CB#3210, Chapel Hill, NC 27599-3210 USA
   andrew_perrin at unc.edu - http://www.unc.edu/~aperrin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
ANDREW PERRIN <aperrin at email.unc.edu> writes:
Yes - the nlme package.

The use of the lme (linear mixed effects) function from the nlme
package for multilevel analysis or hierarchical linear models is
described in

@Book{pinh:bate:2000,
  author =	 {Jos\'{e} C. Pinheiro and Douglas M. Bates},
  title = 	 {Mixed-Effects Models in \textsf{S} and \textsf{S-PLUS}},
  publisher = 	 {Springer},
  year = 	 2000,
  series =	 {Statistics and Computing}
}


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, Jun 06, 2001 at 03:15:27PM -0400, ANDREW PERRIN wrote:
Take a look at the nlme library. A good additional reference:


@Book{Pinheiro00,
  author = 	 {Jos? C. Pinheiro and Douglas M. Bates},
  ALTeditor = 	 {},
  title = 	 {Mixed Effect Models in S and S-Plus},
  publisher = 	 {Springer},
  year = 	 {2000},
}


Peter
#
Try lme in the nlme package (available on CRAN) and/or Jim Lindsey's
repeated measurements package (available at
http://alpha.luc.ac.be/~lucp0753/rcode.html). 

Best,

Jake
-----
Jake Bowers
Dept of Political Science
UC-Berkeley
On Wed, 6 Jun 2001, ANDREW PERRIN wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._