Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2012-01-11 Thread maximilian.mueller
Dear John, thanks for your help and sorry for answering this late. My question is a follow up question of an older thread posted several mongths ago, but your statement helped a lot. Thanks, Max - M a x i m i l i a n M ue l l e r PhD-Student Department of Business Studies Leuphana Univer

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2012-01-04 Thread John Fox
r-help@r-project.org > Subject: Re: [R] Getting Sphericity Tests for Within Subject Repeated > Measure Anova (using "car" package) > > Hello everyone, > > I am also trying to do within subjects repeated measures anova > followed by the test of sphericity (see sample data

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2012-01-04 Thread Michael Friendly
On 1/3/2012 9:36 PM, maximilian.mueller wrote: Here is the syntax: options(contrasts=c("contr.sum", "contr.poly")) read.csv2("test21.csv") -> dat3 mod3 <- lm(cbind(umsatz_t1, umsatz_t2, umsatz_t3, umsatz_t4) + cbind(ebitda_t1, ebitda_t2, ebitda_t3, ebitda_t4) + ~ 1, data=dat3) idata3 <

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2012-01-03 Thread maximilian.mueller
Hello everyone, I am also trying to do within subjects repeated measures anova followed by the test of sphericity (see sample dataset attached below) and I am facing some problems. I tried to assign the example to my research question, but could not really solve it. Here is the syntax: > optio

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-10 Thread Sergios (Sergey) Charntikov
gt;> mod <- lm(cbind(day1, day2, day3) ~ Treatment, data=Dataset) >>>> idata <- data.frame(Day=factor(1:3)) >>>> summary(Anova(mod, idata=idata, idesign=~Day)) >>>> >>>> Peter Dalgaard also pointed toward an article that describes how to do the &g

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-10 Thread Mike Lawrence
<- lm(cbind(day1, day2, day3) ~ Treatment, data=Dataset) >>> idata <- data.frame(Day=factor(1:3)) >>> summary(Anova(mod, idata=idata, idesign=~Day)) >>> >>> Peter Dalgaard also pointed toward an article that describes how to do the >>> same thin

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-10 Thread Mike Lawrence
idata, idesign=~Day)) >> >> Peter Dalgaard also pointed toward an article that describes how to do the >> same thing with anova(). >> >> Regards, >>  John >> >>> -Original Message----- >>> From: r-help-boun...@r-project.org [mailto:r-help-boun..

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Sergios (Sergey) Charntikov
lso pointed toward an article that describes how to do the >>> same thing with anova(). >>> >>> Regards, >>>  John >>> >>>> -Original Message----- >>>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >>>

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Ista Zahn
>>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >> On >>> Behalf Of Sergios (Sergey) Charntikov >>> Sent: November-09-09 7:13 PM >>> To: Mike Lawrence >>> Cc: r-help@r-project.org >>> Subject: Re: [R] Getting Sphe

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Sergios (Sergey) Charntikov
Of Sergios (Sergey) Charntikov >> Sent: November-09-09 7:13 PM >> To: Mike Lawrence >> Cc: r-help@r-project.org >> Subject: Re: [R] Getting Sphericity Tests for Within Subject Repeated > Measure >> Anova (using "car" package) >> >> Hi Mike, >&

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread John Fox
project.org > Subject: Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure > Anova (using "car" package) > > Hi Mike, > > I tried to run my data in SPSS and it works fine without any problems, plug > in my levels, plug in my covariate (since it is all w

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Sergios (Sergey) Charntikov
Hi Mike, I tried to run my data in SPSS and it works fine without any problems, plug in my levels, plug in my covariate (since it is all within) and get my Mauchly Tests. I tried to rearrange the data so it looks like this subj/treatment/day1/day2/day3 subject    treatment    day1    day2    da

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Mike Lawrence
No luck as in...? What error did you encounter? In your example data set, you only have 2 levels of each within-Ss factor, in which case you shouldn't expect to obtain tests of sphericity; as far as I understand it, sphericity necessarily holds when for repeated measures with only 2 levels and tes

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package) (Adjusted Dataset)

2009-11-09 Thread Peter Dalgaard
Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Sergios (Sergey) Charntikov Sent: November-09-09 1:18 PM To: r-help@r-project.org Subject: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package) (Ad

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Sergios (Sergey) Charntikov
Tried EZanova, no luck with my particular dataset. Sincerely, Sergios Charntikov (Sergey), MA Behavioral Neuropharmacology Lab Department of Psychology University of Nebraska-Lincoln Lincoln, NE 68588-0308 USA On Mon, Nov 9, 2009 at 2:25 PM, Mike Lawrence wrote: > Have you tried ezANOVA

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Mike Lawrence
Have you tried ezANOVA from the ez pacakge? It attempts to provide a simple user interface to car's ANOVA (and when that fails, aov). On Mon, Nov 9, 2009 at 1:44 PM, Sergios (Sergey) Charntikov wrote: > Hello everyone, > > I am trying to do within subjects repeated measures anova followed by the

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package) (Adjusted Dataset)

2009-11-09 Thread Sergios (Sergey) Charntikov
--- > John Fox > Senator William McMaster > Professor of Social Statistics > Department of Sociology > McMaster University > Hamilton, Ontario, Canada > web: socserv.mcmaster.ca/jfox > > > > -Original Message- > > From: r

Re: [R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package) (Adjusted Dataset)

2009-11-09 Thread John Fox
t; Subject: [R] Getting Sphericity Tests for Within Subject Repeated Measure > Anova (using "car" package) (Adjusted Dataset) > > [corrected dataset below] > > > Hello everyone, > > I am trying to do within subjects repeated measures anova followed by the > te

[R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package) (Adjusted Dataset)

2009-11-09 Thread Sergios (Sergey) Charntikov
[corrected dataset below] Hello everyone, I am trying to do within subjects repeated measures anova followed by the test of sphericity (sample dataset below). I am able to get either mixed model or linear model anova and TukeyHSD, but have no luck with Repeated-Measures Assuming Sphericity or Se

[R] Getting Sphericity Tests for Within Subject Repeated Measure Anova (using "car" package)

2009-11-09 Thread Sergios (Sergey) Charntikov
Hello everyone, I am trying to do within subjects repeated measures anova followed by the test of sphericity (sample dataset below). I am able to get either mixed model or linear model anova and TukeyHSD, but have no luck with Repeated-Measures Assuming Sphericity or Separate Sphericity Tests. I a