[R] Can lmer() fit a multilevel model embedded in a regression?

Frank E Harrell Jr f.harrell at vanderbilt.edu
Mon May 22 04:34:53 CEST 2006


Andrew Gelman wrote:
> Frank,
> Just to check:  are you saying that this model can be fit in lmer()?
> Thanks.
> Andrew

Not sure about that.  Greenland probably used BUGS but doesn't mean you 
can't do it with lmer.

Frank

> 
> Frank E Harrell Jr wrote:
> 
>>
>> A great reference for that kind of model, plus a way to 'connect' 
>> foods via a composition matrix is
>>
>>   author =               {Greenland, Sander},
>>   title =                {When should epidemiologic regressions use 
>> random coeff
>> icients?},
>>   journal =      Biometrics,
>>   year =                 2000,
>>   volume =               56,
>>   pages =                {915-921},
> 
> 
> 
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University



More information about the R-help mailing list