[R] Meta-Analysis using lme

About this list Date view Thread view Subject view Author view Attachment view

From: Heike Heidemeier (HeikeNewslists@gmx.de)
Date: Tue 11 May 2004 - 17:50:11 EST


Message-id: <29719.1084261811@www7.gmx.net>

Dear list-members,

I am trying to use R to conduct a meta-analysis, i.e. I'd like to use a
multi-level model to integrate the findings of a number of primary research
studies.
 
I set up a simple two level-model (only summary statistics are provided by
each study) as follows:

sapp.lme <- lme(D ~ 1, data = sapp.frame, random = ~ 1 | STUDYNR,
weights=varFixed(~-1+STDERR_D),na.action = na.exclude)

The intercept is random on both levels and the variable stderr_D (the
sampling variance) is supposed to be random only on level one. Besides, I
need to constrain the variance of stderr_d to equal 1.

Could anybody help me correct the code I provided? Thanks in advance for
your time.

Cheers,
Heike Heidemeier

--

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST