[R] MANOVA extension of paired t-test?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jan 24 17:01:08 CET 2002
On Thu, 24 Jan 2002, Stewart Schultz wrote:
> >It's not true, indeed false in almost every detail. manova performs no
> >tests at all. summary.manova uses multivariate tests in an ANOVA table,
> >but they are not t-tests and there is an experimental design, not one or
> >two samples.
> >
> >I am at loss as to what you meant! If you want to test the overall mean
> >vector in such a design, you can do so by specifying intercept=TRUE in
> >summary.manova.
>
> What is the original manova() statement in such a case? In other words,
> one has several variables, and the desire is to test whether the mean of
> each is zero (the "treatment" has been subsumed by the definition of the
> variable, which is a before-after difference). manova(Y~rep(0,nrow(Y))) is
> the intuitive choice, but doesn't work.
manova(Y ~ 1) specifies an overall mean, if that is what you want.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list