Re: [R] Manova: Data similarly generated are significantly different.

2015-09-04 Thread Duncan Murdoch
On 04/09/2015 5:18 PM, Roger Xu wrote: > y0 <- runif(100, 0, 1) > y1 <- runif(100, 0, 1) > y2 <- runif(100, 0, 1) > > y0 <- c(y0, runif(100, 0, 10) ) > y1 <- c(y1, runif(100, 0, 10) ) > y2 <- c(y2, runif(100, 0, 10) ) > > y0=as.numeric(unlist(y0)) > y1=as.numeric(unlist(y1)) > y2=as.numeric(unlis

[R] Manova: Data similarly generated are significantly different.

2015-09-04 Thread Roger Xu
Dear R users, Hi. I don't know if my understanding of Manova test is correct. So I test with the following code and got strange results. Any help would be appreciated. y0, y1, and y2 are independently generated by the same method. They are each split into 20 groups by the same method. The summa

Re: [R] MANOVA post hoc testing

2014-04-04 Thread John Fox
Dear Nicholas, On Fri, 4 Apr 2014 04:59:09 + wrote: > Greetings, > > I'm interested in performing some post hoc tests after conducting a > multivariate analysis of covariance (MANCOVA) which I performed using the > Anova function in the car package. The covariate did not end up being > s

[R] MANOVA post hoc testing

2014-04-03 Thread Nicholas.Surawski
Greetings, I'm interested in performing some post hoc tests after conducting a multivariate analysis of covariance (MANCOVA) which I performed using the Anova function in the car package. The covariate did not end up being statistically significant, but the single factor's effect on the multiva

[R] MANOVA Question

2013-11-27 Thread Chris Linton
I'm running a MANOVA on survey data. The dependent variables are the ranking of each DV. So the respondent was asked to rank 7 different subject lines, each subject line is a DV with what the respondent ranked as datum. I had the code running yesterday, had a computer crash, then had to rewrite

Re: [R] MANOVA summary.manova(m) :" residuals have rank"

2013-05-03 Thread peter dalgaard
On May 3, 2013, at 14:59 , Ozgul Inceoglu wrote: > Dear All, I am trying to perform MANOVA. I have table with 504 > columns(species) and 36 rows) with two grouping (season and location) > > Zx <- Z[c(4:504)] > Zxm <- as.matrix(Z) > m<- manova(Zxm~Season*location, data=Z) > > when I do summary.

[R] MANOVA summary.manova(m) :" residuals have rank"

2013-05-03 Thread Ozgul Inceoglu
Dear All, I am trying to perform MANOVA. I have table with 504 columns(species) and 36 rows) with two grouping (season and location) Zx <- Z[c(4:504)] Zxm <- as.matrix(Z) m<- manova(Zxm~Season*location, data=Z) when I do summary.aov, I get respond for each species but summary.manova summary.man

[R] MANOVA with repeated measures in R

2012-08-03 Thread angelo.arc...@virgilio.it
Dear list member, I deperately need an help in performing a MANOVA in R, but I encountered some problems both in the design and in the synthax with R. I conducted a listening experiment in which 16 participants had to rate the audio stimuli along 5 scales representing an emotion (sad, te

Re: [R] MANOVA polynomial contrasts

2012-07-30 Thread John Fox
21 PM > To: jesse@sympatico.ca > Cc: r-help@r-project.org > Subject: Re: [R] MANOVA polynomial contrasts > > Dear Prof. John Fox, > I found the paper very useful. Thank you very much for attaching the link! > Which type of SS (II or III) do you suggest for a multivariate mod

Re: [R] MANOVA polynomial contrasts

2012-07-30 Thread Manzoni, GianMauro
GMM, > > > -Original Message- > > From: Manzoni, GianMauro [mailto:gm.manz...@auxologico.it] > > Sent: July-30-12 9:49 AM > > To: John Fox > > Cc: r-help@r-project.org; Greg Snow > > Subject: Re: [R] MANOVA polynomial contrasts > > > > Dear Prof. Jo

Re: [R] MANOVA polynomial contrasts

2012-07-30 Thread Manzoni, GianMauro
Dear Prof. John Fox, thank you very much for your suggestions. However, I still do not know how to use the contrasts after generating them. Once I generate the matrix with the polynomial contrasts, what are the following steps toward the statistical test? A whole example would be very useful. Tha

Re: [R] MANOVA polynomial contrasts

2012-07-30 Thread jesse.fox
Dear GMM, > -Original Message- > From: Manzoni, GianMauro [mailto:gm.manz...@auxologico.it] > Sent: July-30-12 9:49 AM > To: John Fox > Cc: r-help@r-project.org; Greg Snow > Subject: Re: [R] MANOVA polynomial contrasts > > Dear Prof. John Fox, > thus all I shou

Re: [R] MANOVA polynomial contrasts

2012-07-30 Thread Manzoni, GianMauro
Dear Prof. John Fox, thus all I should do to test quadratic and cubic effects is to change the second argument of the linearHypothesis() function, right? So, for testing the cubic effect: > linearHypothesis (mod, "f.C") Is there a chapter or paragragh about contrasts in your book "An R companion

Re: [R] MANOVA polynomial contrasts

2012-07-30 Thread John Fox
Dear Gian Mauro, On Mon, 30 Jul 2012 14:44:44 +0200 "Manzoni, GianMauro" wrote: > Dear Prof. John Fox, > thank you very much for your suggestions. > However, I still do not know how to use the contrasts after generating them. > Once I generate the matrix with the polynomial contrasts, what are t

Re: [R] MANOVA polynomial contrasts

2012-07-25 Thread John Fox
Dear Gian, How contrasts are created by default is controlled by the contrasts option: > getOption("contrasts") unordered ordered "contr.treatment" "contr.poly" So, unless you've changed this option, contr.poly() will be used to generate orthogonal polynomial contrasts

Re: [R] MANOVA polynomial contrasts

2012-07-25 Thread Manzoni, GianMauro
Dear Greg Snow, thank you very much for your suggestions. However, I need an example in order to understand fully. I was told that, given the ordinal factor, I do not need to specify the contr.poly function because R does it automatically. However, I don not know if I have to add an argument into t

Re: [R] MANOVA polynomial contrasts

2012-07-24 Thread Greg Snow
You should not need to write them yourself. Look at the contr.poly function along with the C function (Note uppercase C) or the contrasts function. On Monday, July 23, 2012, Manzoni, GianMauro wrote: > Dear all, > I am quite new to R and I am having trouble writing the polynomial > contrasts for

[R] MANOVA polynomial contrasts

2012-07-23 Thread Manzoni, GianMauro
Dear all, I am quite new to R and I am having trouble writing the polynomial contrasts for an ordinal factor in MANOVA. # I have a model such as this fit<-manova(cbind(Y1,Y2,Y3)~Groups,data=Events) # where groups is an ordinal factor with 4 levels # how to set polynomial contrasts for the "Groups"

Re: [R] MANOVA with random factor

2012-05-19 Thread David Costantini
am.it -Original Message- From: peter dalgaard [mailto:pda...@gmail.com] Sent: Sat 19/05/2012 9.22 To: David Costantini Cc: Helios de Rosario; r-help@r-project.org Subject: Re: [R] MANOVA with random factor On May 18, 2012, at 16:15 , David Costantini

Re: [R] MANOVA with random factor

2012-05-19 Thread peter dalgaard
t; Glasgow G12 8QQ, UK > > See also my association Ornis italica > http://www.ornisitalica.com > http://www.birdcam.it > > > > > > From: Helios de Rosario [mailto:helios.derosa...@ibv.upv.es] &

Re: [R] MANOVA with random factor

2012-05-18 Thread David Costantini
http://www.ornisitalica.com http://www.birdcam.it From: Helios de Rosario [mailto:helios.derosa...@ibv.upv.es] Sent: Fri 18/05/2012 15.14 To: David Costantini; r-help@r-project.org Subject: Re: [R] MANOVA with

Re: [R] MANOVA with random factor

2012-05-18 Thread Helios de Rosario
Hi, after re-reading I think that I misunderstood your question. You don't provide many details, but I suppose that the "brood" effect is nested within the fixed effects, so you don't mean a multivariate approach for a split-plot or a repeated-measures design, but the analysis of a multivariate mix

Re: [R] MANOVA with random factor

2012-05-18 Thread Helios de Rosario
I suppose you mean this: http://www.r-project.org/doc/Rnews/Rnews_2007-2.pdf Another approach, less general but in my opinion easier to use (and equivalent in many situations), is provided by Anova() in package car. See: http://socserv.mcmaster.ca/jfox/Books/Companion/appendix/Appendix-Multivariat

[R] MANOVA with random factor

2012-05-17 Thread David Costantini
Dear All I would need to perform a MANOVA with both fixed (group, sex, group*sex) and random (brood) effects. I wonder if this is at all possible and if R does that. At the moment, I only know that I can run a classic MANOVA with R. Thank you David __

Re: [R] MANOVA and Extra Sums-of-Squares Tests

2012-03-14 Thread chris33
Hi John, Thanks again. That looks like an easy and convenient approach. Regards, Chris -- View this message in context: http://r.789695.n4.nabble.com/MANOVA-and-Extra-Sums-of-Squares-Tests-tp4470077p4472265.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] MANOVA and Extra Sums-of-Squares Tests

2012-03-13 Thread John Fox
Dear chris33, Well, actually as I said, the anova() function *will* do what you want. You can fit multivariate linear models with lm(), mod.1 <- lm(cbind(Y1, Y2, Y3, Y4, Y5) ~ X1*X2 +X1*X3 + X1*X4) mod.2 <- lm(cbind(Y1, Y2, Y3, Y4, Y5) ~ X1 + X2 + X3 + X4) and then use anova() to get multivaria

Re: [R] MANOVA and Extra Sums-of-Squares Tests

2012-03-13 Thread chris33
Hi John, Thanks for your response. The anova funtion will not work in my case, because I have multiple response variables. In other words, I would like to conduct an extra sums-of-squares and cross-products test between the following models: FULL.MODEL: (Y1, Y2, Y3, Y4, Y5) as a function of

Re: [R] MANOVA and Extra Sums-of-Squares Tests

2012-03-13 Thread John Fox
Dear chris33, You can use the anova() function to compare the two multivariate linear models. Alternatively, the Anova() function in the car package will compute "type II" or "type III" MANOVA tests, which aren't quite what you're asking about. I hope this helps, John

[R] MANOVA and Extra Sums-of-Squares Tests

2012-03-13 Thread chris33
I would like to conduct an extra sum-of -squares test that compares a full MANOVA model (with all 1st order interactions) to a reduced model (no interactions) to determine if I can drop all interactions at the same time. This is analagous to an extra sum-of-squares F-test in ANOVA, but instead usi

[R] manova/tukey test

2011-10-23 Thread Molly MacLeod
Hello, I am trying to do a manova test in r, and have used the "manova" function to test differences between two dependent variables. The results were significant for the whole model, but the sources I've read say that in order to do a post-hoc multiple comparison, I have to do separate aovs for e

[R] MANOVA Post Hoc Testing Tukeys

2011-05-16 Thread wwreith
I used manova() with one predictor variable and four factor levels call them A, B, C, and D. There are 12 response variables. I now want to perform pairwise comparisons for A-B, A-C, etc. for all 12 response variables. If I were doing an ANOVA test I would run TukeyHSD() and be done. However mano

Re: [R] manova question

2011-03-23 Thread Ranjan Maitra
http://socserv.mcmaster.ca/jfox > > > > > > -----Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > > On Behalf Of Ranjan Maitra > > Sent: March-22-11 8:36 PM > > To: 'R-help' > > Subject:

Re: [R] manova question

2011-03-22 Thread John Fox
ject.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Ranjan Maitra > Sent: March-22-11 8:36 PM > To: 'R-help' > Subject: Re: [R] manova question > > Dear John, Peter and others, > > So, I now have a query at an even more elementary level and that is >

Re: [R] manova question

2011-03-22 Thread Ranjan Maitra
stics > Department of Sociology > McMaster University > Hamilton, Ontario, Canada > http://socserv.mcmaster.ca/jfox > > > > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > > On Behalf Of peter d

Re: [R] manova question

2011-03-20 Thread John Fox
McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of peter dalgaard > Sent: March-20-11 6:50 PM > To: Ranjan Maitra > Cc: R-help

Re: [R] manova question

2011-03-20 Thread peter dalgaard
On Mar 20, 2011, at 21:05 , Ranjan Maitra wrote: > Dear friends, > > Sorry for this somewhat generically titled posting but I had a question > with using contrasts in a manova context. So here is my question: > > Suppose I am interested in doing inference on \beta in the case of the > model giv

[R] manova question

2011-03-20 Thread Ranjan Maitra
Dear friends, Sorry for this somewhat generically titled posting but I had a question with using contrasts in a manova context. So here is my question: Suppose I am interested in doing inference on \beta in the case of the model given by: Y = X %*% \beta + e where Y is a n x p matrix of observa

Re: [R] MANOVA Type III SS

2010-12-02 Thread David Winsemius
On Dec 2, 2010, at 4:18 PM, Ali S wrote: How do I get MANOVA results with Type III sums of squares? First pull on your asbestos underwear, then visit : http://search.r-project.org/cgi-bin/namazu.cgi?query=type+III+SS&max=100&result=normal&sort=score&idxname=functions&idxname=Rhelp08&idxname

[R] MANOVA Type III SS

2010-12-02 Thread Ali S
How do I get MANOVA results with Type III sums of squares? [[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/p

Re: [R] MANOVA proportion of variance explained

2010-06-21 Thread Michael Friendly
Sam Brown wrote: Hi Michael Thank you very much for the intel regarding eta^2. It is pretty much the sort of thing that I am wanting. The latest developer version of the heplots package on R-Forge now includes an initial implementation of etasq() for multivariate linear models. Note that f

Re: [R] MANOVA proportion of variance explained

2010-06-20 Thread Sam Brown
Hi Michael Thank you very much for the intel regarding eta^2. It is pretty much the sort of thing that I am wanting. Found a good paper regarding all this: Estimating an Effect Size in One-Way Multivariate Analysis of Variance (MANOVA) H. S. Steyn Jr; S. M. Ellisa Multivariate Behavioral Re

Re: [R] MANOVA proportion of variance explained

2010-06-16 Thread Michael Friendly
I think you are looking for a multivariate measure of association, analogous to R^2 for a univariate linear model. If so, there are extensions of eta^2 from univariate ANOVAs for each of the multivariate test statistics, e.g., for Pillai (-Bartlett) trace and Hotelling-Lawley trace and a given

[R] MANOVA proportion of variance explained

2010-06-15 Thread Sam Brown
Hello everybody After doing a MANOVA on a bunch of data, I want to be able to make some comment on the amount of variation in the data that is explained by the factor of interest. I want to say this in the following way: XX% of the data is explained by A. I can acheive something like wh

[R] R: MANOVA help

2010-02-26 Thread shmy
iles has 4 variables that I generated with the rmnorm() method, the only difference between them is that I used different means. Any ideas? Thank you for your time :-D -- View this message in context: http://n4.nabble.com/R-MANOVA-help-tp1570300p1570300.html Sent from the R help mailing list archive at

[R] Manova post hoc

2009-08-04 Thread Michelangelo La Spina
Hello, mailing list! I'm using a manova in R to study the responses of four dependent variables. I would like to do a post hoc analysis, but I don`t know which is the best and how to introduce in R. I'm using a pairwise t test, but I'm not sure if it is correct, I like to use tukeyHSD, but wi

Re: [R] MANOVA

2009-05-16 Thread John Fox
Dear Davide, > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Davide Floriello > Sent: May-16-09 8:51 AM > To: r-help@r-project.org > Subject: [R] MANOVA > > > Dear Sir, > I am Davide F

[R] MANOVA

2009-05-16 Thread Davide Floriello
Dear Sir, I am Davide Floriello and I am a student in mathematics. I have got a problem with the MANOVA commands. I write here what I have done: PV <- read.table('PV.txt') PV <- data.frame(PV) g <- 12 p <- 2 REL <- factor(PV$REL) HPV <- factor(PV$HPV) fit <- manova(as.matrix(PV) ~ REL + HPV

Re: [R] MANOVA

2009-03-12 Thread Jen_mp3
No, MANOVA is for Multivariate analysis of variance which is used if there are multiple responses as well as variables but you just have one response which is blood pressure. You should just have model <- lm(BP ~Weight+Height) anova(model) If Weight is related to Height only one should be signific

Re: [R] MANOVA

2009-03-12 Thread David Winsemius
Another method would be to use a summary that incorporates both as a measure of obesity, In medical investigations it is common to use the BMI which is the ratio of (weight in Kg) to (height in meters squared). Yet a third method would be to investigate for nonlinearity on the response func

Re: [R] MANOVA

2009-03-11 Thread Simon Blomberg
You only have one response variable, so MANOVA is not appropriate. One option would be to compare BP ~ Weight + Height with BP ~ 1. That would give you a joint test of weight and height together. Since they are collinear, that should tell you the overall effect of "size". There are other options, m

[R] MANOVA

2009-03-11 Thread Ding Xiao
Hi All, I have questions about MANOVA which I am still not sure if appropriately I should use it. For example I have a data set like this: BloodPressure (BP) Weight Height 120115165 125145198 15699 176 I know that BloodPressure is correlated with both We

Re: [R] manova: R vs SAS...need some clarification

2008-08-12 Thread Prof Brian Ripley
Please see the footer of this message: we need to know what you did. Also, SAS may have made some assumptions for you without telling you (for example used a numerically ill-conditioned covariance matrix), and we don't know what you did in SAS, either. On Tue, 12 Aug 2008, Pedro Mardones wrot

[R] manova: R vs SAS...need some clarification

2008-08-12 Thread Pedro Mardones
Dear all; working with a 'fat' data set (700 variables / 50 samples) and trying to run a manova test on it (I'm aware that it's not the best option for this kind of data set) I got the error in the summary.manova function about the rank of the residuals (rank < # variables). Ok. The thing that I do

[R] MANOVA, SCC and multiple comparisons

2008-03-31 Thread Frédéric Chiroleu
Bonjour, we wanted to fit a manova as descripted in Marieta /et al./ 2003, "convergent habitat segregation of /Aedes aegyptii/ and /Aedes albopictus/ (Diptera: /Culicidae/) in Southern Brazil and Florida", /J. Med. Entomol./, *40* (6), 785-794. They did their analysis with SAS software. We hav

[R] manova with non-normal error distribution

2008-03-13 Thread Jarrett Byrnes
This may be a silly question to ask, but, is it possible do do a MANOVA-style analysis with a generalized linear model? I have a data set that I'm working with that, for each variable (time in this case, as it's a repeated measures MANOVA) is fit much better using glm rather than a traditi