Re: [R] treatment effect at specific time point within mixed effects model

2006-10-05 Thread Afshartous, David
: Afshartous, David Cc: r-help@stat.math.ethz.ch Subject: Re: [R] treatment effect at specific time point within mixed effects model Consider the following modification of your example: fm1a = lme(z ~ (factor(Time)-1)*drug, data = data.grp, random = list(Patient = ~ 1) ) summary(fm1a)

Re: [R] treatment effect at specific time point within mixed effects model

2006-10-04 Thread Spencer Graves
Consider the following modification of your example: fm1a = lme(z ~ (factor(Time)-1)*drug, data = data.grp, random = list(Patient = ~ 1) ) summary(fm1a) Value Std.Error DFt-value p-value factor(Time)1 -0.6238472 0.7170161 10 -0.8700602 0.4047 factor(Tim

[R] treatment effect at specific time point within mixed effects model

2006-09-26 Thread Afshartous, David
All, The code below is for a pseudo dataset of repeated measures on patients where there is also a treatment factor called "drug". Time is treated as categorical. What code is necessary to test for a treatment effect at a single time point, e.g., time = 3? Does the answer matter if the des