Also, do you have any missing data ? Tal
----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com/ (English) ---------------------------------------------------------------------------------------------- On Sun, Dec 20, 2009 at 5:52 PM, Tal Galili <tal.gal...@gmail.com> wrote: > Thanks Or, > So I am failing to understand, > When you put that aov expression into the "summary()" Why isn't what you > are getting what you need ? > > Tal > > > ----------------Contact > Details:------------------------------------------------------- > Contact me: tal.gal...@gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com/ (English) > > ---------------------------------------------------------------------------------------------- > > > > > On Sun, Dec 20, 2009 at 4:30 PM, Or Duek <ord...@gmail.com> wrote: > >> No problem. >> If I have a mixed model with A as within subject (A is exposure, has 2 >> levels) and drug(2 levels between subject) and strain(2 levels between >> subject). >> I reshape the data to fit the R aov() function. >> thus instead of looking like this: >> subject drug strain exposure_1 exposure2 >> 1 1 1 34 25 >> 2 2 1 26 22 >> etc. >> >> it looks like this: >> subject drug strain exposure dependent >> 1 1 1 1 34 >> 1 1 1 2 25 >> etc. >> >> and the I do: >> aov(dependent~(exposure*strain*drug) + Error(subject/exposure) + >> (drug*strain), data) >> >> Thank you very much for your help. >> Or. >> >> >> >> On Sun, Dec 20, 2009 at 4:18 PM, Tal Galili <tal.gal...@gmail.com> wrote: >> >>> Could you please write the aov formula you are using ? >>> >>> >>> >>> ----------------Contact >>> Details:------------------------------------------------------- >>> Contact me: tal.gal...@gmail.com | 972-52-7275845 >>> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | >>> www.r-statistics.com/ (English) >>> >>> ---------------------------------------------------------------------------------------------- >>> >>> >>> >>> >>> On Sun, Dec 20, 2009 at 3:36 PM, Or Duek <ord...@gmail.com> wrote: >>> >>>> >>>> I don't think so. >>>> I'm asking how can I see/analyse the simple main effect. I don't think >>>> it shows in the summary report of the aov() function. >>>> >>>> On Sun, Dec 20, 2009 at 3:35 PM, Tal Galili <tal.gal...@gmail.com>wrote: >>>> >>>>> Hi Or, >>>>> >>>>> Maybe I didn't understand you. >>>>> >>>>> Are you asking "how can I read the output of a fitted (complex within >>>>> and between) model for finding the simple main effect" ? >>>>> >>>>> >>>>> Tal >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ----------------Contact >>>>> Details:------------------------------------------------------- >>>>> Contact me: tal.gal...@gmail.com | 972-52-7275845 >>>>> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) >>>>> | www.r-statistics.com/ (English) >>>>> >>>>> ---------------------------------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> On Sun, Dec 20, 2009 at 11:56 AM, Or Duek <ord...@gmail.com> wrote: >>>>> >>>>>> Thanks. >>>>>> But there is no simple main effect there. >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Dec 20, 2009 at 10:00 AM, Tal Galili <tal.gal...@gmail.com>wrote: >>>>>> >>>>>>> Try going through this: >>>>>>> http://www.personality-project.org/r/r.anova.html >>>>>>> >>>>>>> <http://www.personality-project.org/r/r.anova.html> >>>>>>> >>>>>>> >>>>>>> ----------------Contact >>>>>>> Details:------------------------------------------------------- >>>>>>> Contact me: tal.gal...@gmail.com | 972-52-7275845 >>>>>>> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il(Hebrew) | >>>>>>> www.r-statistics.com/ (English) >>>>>>> >>>>>>> ---------------------------------------------------------------------------------------------- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Dec 19, 2009 at 7:27 PM, Or Duek <ord...@gmail.com> wrote: >>>>>>> >>>>>>>> Hi, I'm a bit new to R and I would like to know how can I compare >>>>>>>> simple >>>>>>>> main effects when using the aov function. >>>>>>>> I'm doing a mixed model ANOVA with two between subjects variables >>>>>>>> and one >>>>>>>> within. >>>>>>>> When I get an interaction of two of the variables I don't know how >>>>>>>> to check >>>>>>>> for simple main effect of that interaction (A at B1 and A at B2 for >>>>>>>> example). >>>>>>>> The aov function is very simple but for some reason I can't find how >>>>>>>> to do >>>>>>>> this. >>>>>>>> Thank you very much. >>>>>>>> Or Duek. >>>>>>>> >>>>>>>> [[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/posting-guide.html >>>>>>>> and provide commented, minimal, self-contained, reproducible code. >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > [[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/posting-guide.html and provide commented, minimal, self-contained, reproducible code.