Displaying 2 results from an estimated 2 matches for "ibuprofen".
2006 Sep 26
2
treatment effect at specific time point within mixed effects model
...ne that suggests to do a
simple t-test (paired in crossover case) instead of the test above
within a mixed model?
thanks!
dave
z = rnorm(24, mean=0, sd=1)
time = rep(1:6, 4)
Patient = rep(1:4, each = 6)
drug = factor(rep(c("I", "P"), each = 6, times = 2)) ## P = placebo, I =
Ibuprofen
dat.new = data.frame(time, drug, z, Patient)
data.grp = groupedData(z ~ time | Patient, data = dat.new)
fm1 = lme(z ~ factor(time) + drug + factor(time):drug, data = data.grp,
random = list(Patient = ~ 1) )
2006 Oct 05
2
treatment effect at specific time point within mixedeffects model
...>
> > thanks!
> > dave
> >
> >
> >
> > z = rnorm(24, mean=0, sd=1)
> > time = rep(1:6, 4)
> > Patient = rep(1:4, each = 6)
> > drug = factor(rep(c("I", "P"), each = 6, times = 2)) ## P =
> placebo, I
>
> > = Ibuprofen dat.new = data.frame(time, drug, z, Patient) data.grp =
> > groupedData(z ~ time | Patient, data = dat.new)
> > fm1 = lme(z ~ factor(time) + drug + factor(time):drug, data =
> > data.grp, random = list(Patient = ~ 1) )
> >
> > ________________________________________...