[R] ANOVA - more sophisticated contrasts

2010-09-16 Thread Jake Kami
dear list,

i am using a multifactorial design with two treatments (factor A: drugs,
three levels; factor B: theraphy, two levels) and a time factor (three
levels, different timepoint). hypothetically, i measured the same subjects
for all treatements and timepoints, so its a repeated measurement design.
now i ran an anova in R and also some Tukey post-hoc tests using glht. but
what i am actually interested in is to perform conditional contrasts, f.i.
A1 for the 1st timepoint vs. A1 for the 2nd time (to put it in words: an
evaluation of whether this particular type of drug exerts an effect over
time). so far, i couldnt find any function doing this. i also queried the r
help list archive but without success.

any help on that would be appreciated.


kind regards

j

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] ANOVA - more sophisticated contrasts

2010-09-16 Thread RICHARD M. HEIBERGER
Jake,

You can easily use glht for that.
See ?MMC in the HH package for examples.
You may need
   install.packages(HH) ## if you don't already have HH.
Specifically, look at the examples showing the use of focus.lmat


On Thu, Sep 16, 2010 at 11:43 AM, Jake Kami jakejk...@gmail.com wrote:

 dear list,

 i am using a multifactorial design with two treatments (factor A: drugs,
 three levels; factor B: theraphy, two levels) and a time factor (three
 levels, different timepoint). hypothetically, i measured the same subjects
 for all treatements and timepoints, so its a repeated measurement design.
 now i ran an anova in R and also some Tukey post-hoc tests using glht. but
 what i am actually interested in is to perform conditional contrasts, f.i.
 A1 for the 1st timepoint vs. A1 for the 2nd time (to put it in words: an
 evaluation of whether this particular type of drug exerts an effect over
 time). so far, i couldnt find any function doing this. i also queried the r
 help list archive but without success.

 any help on that would be appreciated.


 kind regards

 j

[[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.htmlhttp://www.r-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.