Re: [S] MANOVAs and ANOVAs with repeated measures (summary)

Joseph Lucke (
Fri, 13 Feb 1998 10:31:32 -0500

In S+ 4, there is a section in the Guide to Statisitcs manual (p 433) on the MANOVA approach to repeated measures designs. You simply post-multiply your response matrix by the (orthogonal) repeated measures contrast matrix in the formlua to MANOVA (p 434).

Let Y (n x p) be the reponse matrix with design matrix X. Assume you want polynomial contrasts. Then you use

maonva(Y %*% contr.poly(p) ~ X).

The univariate tests are available as an option to the summary() function.

There is also an example of the Huynh-Feldt adjustment.

If you need more detail, write.


>>> Gabriel Baud-Bovy <> 2/13/98 9:23:23 AM >>>
Tuesday, I posted a question regarding MANOVA with repeated measures
designs (see below). I received one answer suggesting to
do the computations myself (see below) and several requests for
a summary. If I get more info, I'll update this summary.

I would like to know also if SPLUS can compute the Huynh-Feldt (Box)
and the Greenhouse-Geisser adjustements in the case of repeated measures
analysis with an ANOVA (these are useful when the sphericity condition
is not satisfied) (see Hays, 1988, 4th ed, chapter 13.23, p. 524).

Thank you for the help,

Gabriel Baud-Bovy

Response from Rick Bilonick:

Return-Path: <>
Date: Tue, 10 Feb 98 10:58:17
From: Rick Bilonick <>
Subject: Re: [S] MANOVA with splus (repeated measures)
To: Gabriel Baud-Bovy <>
Reply-To: Rick Bilonick <>
Priority: Normal

>From my experience, I would recommend
doing the matrix computations directly
rather than using the S-Plus functions.
The problem is not so much S-Plus but any
very complicated canned procedure in any
package. There is rarely enough
information to know exactly what you are
getting. (Usually there are so many
possible variations.)

When you set up the matrices you end up
knowing exactly which hypotheses you are

Although I imagine most people will balk
at doing this(!), most of the multivariate
computations are not that difficult when
using matrix computations.


>Date: Tue, 10 Feb 1998 16:30:31
>To: s-news
>From: Gabriel Baud-Bovy <>
>Subject: MANOVA with splus (repeated measures)
>I do have a problem in replicating the MANOVA analyses published
>in statistical books with SPLUS 3.4 (UNIX version). For example, I would
>like to have the exact procedure to follow to get the correct
>results (F values) in the two following examples:
>1) Repeated measure design in Stevens (1992) "Applied Multivariate
> statistics for the social science", p.442-453
>2) Doubly multivariate design in Tabachnick and Fidel (1996) "Using
> multivariate statistics", p.476-483.
>1) Can somebody show me how to perform these analysis (see below for the
> data)?
>2) Where can I find information, examples of MANOVA analysis with
> repeated measures done with SPLUS?
>Gabriel Baud-Bovy

This message was distributed by To unsubscribe
send e-mail to with the BODY of the
message: unsubscribe s-news