[R] Mixed-effects model problem.

Rob Hyndman Rob.Hyndman at buseco.monash.edu.au
Thu Sep 6 02:06:35 CEST 2001

I'm trying to fit a mixed-effects model of the form
Y = a + bX + cZ + e
where X are fixed effects and Z are random. i.e., c is a vector of
random coefficients with mean 0. There is no "grouping" variable such as
would be used with longitudinal data.

Can the nlme package handle this sort of thing? Although it is a simpler
model than would be used with grouped data, I can't seem to convince
lme() to fit it. It seems to want a grouping variable and I can't
persuade it that there is no such thing.

Any help would be appreciated.
Associate Professor Rob J Hyndman
Department of Econometrics & Business Statistics,
Monash University, VIC 3800, Australia
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

More information about the R-help mailing list