Displaying 1 result from an estimated 1 matches for "lme01".
Did you mean:
lm01
2013 Jan 23
1
mixed effects meta-regression: nlme vs. metafor
...atment categories. I want to fit a random effect
for each study (the study effect) and a treatment-dependent time effect.
For the moment I use a linear model, i.e., twice the followup time will
give you twice the effect, etc...
I get /almost/ what I want using "nlme" via this command:
lme01 <- lme(effect ~ treatment + treatment*time - time - 1,
random = ~ 1|study,
weights = varFixed(~se2),
data = dat)
"effect" is the real-valued measurement, "treatment" is a factor, and
"time" is the followup time in months...