# st: Re: Contrasts in repeated measures

 From "Paul Fenner" To statalist@hsphsun2.harvard.edu Subject st: Re: Contrasts in repeated measures Date Tue, 31 Jul 2007 10:36:28 +0000

```I have results measured on subjects at 4 time periods. There are two
treatments and I wanted to look at the effect of treatment and sex, and I
used manova for the repeated measures:
manova t1 t2 t3 t4 = trt sex

I defined the following matrices:
matrix m1 = (1,1,1,1)
matrix m2 = (1,-1,0,0 \ 1,0,-1,0 \ 1,0,0,-1)
matrix c1 = (0,1,-1,0,0)
matrix c2 = (1,0.5,0.5,0.5,0.5)
There was no significant effect of treatment: manovatest, test(c1)
ytransform(m1)
but there was a significant effect of time: manovatest, test(c2)
ytransform(m2)

What I would like to do is to compare the individual time periods to see
which pairs are significant, but I can't figure out the syntax for getting
the correct syntax.

I would be grateful for any assistance.
Many thanks,
Paul

_________________________________________________________________
The next generation of Hotmail is here!  http://www.newhotmail.co.uk

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```