Re: [R] two-way anova help

2011-09-27 Thread S Ellison
bout statistics is about as sensible as taking a statistician's advice about chemistry - the mileage can vary. S Ellison > -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Austin Paul > Sent: 27 September 2011 0

Re: [R] two-way anova help

2011-09-27 Thread Indrajit Sengupta
if this is making sense to you. Regards, Indrajit From: Austin Paul Cc: "r-help@r-project.org" Sent: Tuesday, September 27, 2011 12:30 PM Subject: Re: [R] two-way anova help Hi Indrajit and Bert,   I really appeciate your help.  I have coded as

Re: [R] two-way anova help

2011-09-27 Thread Austin Paul
lication. Your model form will remain the same. > > Regards, > Indrajit > > -- > *From:* Austin Paul > *To:* Indrajit Sengupta > *Cc:* "r-help@r-project.org" > *Sent:* Tuesday, September 27, 2011 10:57 AM > *Subject:* Re: [R] t

Re: [R] two-way anova help

2011-09-26 Thread Bert Gunter
ale, data =) > > > > > > Regards, > > Indrajit > > > > > > -- > > *From:* Austin Paul > > *To:* r-help@r-project.org > > *Sent:* Tuesday, September 27, 2011 6:13 AM > > *Subject:* [R] two-way anova help > &

Re: [R] two-way anova help

2011-09-26 Thread Indrajit Sengupta
___ To: Austin Paul Cc: "r-help@r-project.org" Sent: Tuesday, September 27, 2011 12:10 PM Subject: Re: [R] two-way anova help Hi Paul, There should not be any problem. Here is how I visualize the data table looks like: Obs Male_type   Female_type  Response 1 1 1 34 2 1 1 44

Re: [R] two-way anova help

2011-09-26 Thread Indrajit Sengupta
model form will remain the same. Regards, Indrajit From: Austin Paul Cc: "r-help@r-project.org" Sent: Tuesday, September 27, 2011 10:57 AM Subject: Re: [R] two-way anova help Hi, Yes.  As I explained, the three male and three female types were

Re: [R] two-way anova help

2011-09-26 Thread Austin Paul
ale:female, data =) > > > Regards, > Indrajit > > > -- > *From:* Austin Paul > *To:* r-help@r-project.org > *Sent:* Tuesday, September 27, 2011 6:13 AM > *Subject:* [R] two-way anova help > > Hello, > > I am having some trouble coding a two-way anova due t

Re: [R] two-way anova help

2011-09-26 Thread Indrajit Sengupta
stin Paul To: r-help@r-project.org Sent: Tuesday, September 27, 2011 6:13 AM Subject: [R] two-way anova help Hello, I am having some trouble coding a two-way anova due to replicated treatments. I have a factorial design with three male parents and three female parents. They were mated in all

[R] two-way anova help

2011-09-26 Thread Austin Paul
Hello, I am having some trouble coding a two-way anova due to replicated treatments. I have a factorial design with three male parents and three female parents. They were mated in all combinations and their babies were grown out and measured for size. 50 babies were measured for each of the 9 cr

[R] Two way anova repeated measures and post hoc testing - several questions

2009-10-15 Thread Michael Schacht Hansen
Hi, I am fairly new to R and still trying to figure out how it all works, and I have run into a few issues. I apologize in advance if my questions are a bit basic, I'm also no statistics wizard, so part of my problem my be a more fundamental lack of knowledge in the field. I have a dataset that l

Re: [R] Two-way ANOVA gives different results using anova(lm()) than doing it by hand

2009-07-08 Thread Zhiliang Ma
the following works. i don't exactly what happens here. I guess "lm" might treat S1 and S2 as quantitative variables, not qualitative variables. cheers, Zhiliang S1 <- as.character(Data[,1]) S1 <- as.factor(S1) S2 <- as.character(Data[,2]) S2 <- as.factor(S2) data <- data.frame(S1=S1, S2=S2, ExM=

Re: [R] Two-way ANOVA gives different results using anova(lm()) than doing it by hand

2009-07-08 Thread Marc Schwartz
On Jul 8, 2009, at 12:11 PM, Greg Snow wrote: Well, since we don't have Data.txt it is kind of hard for us to replicate what you have done. Here goes a guess as to what the problem may be. Have you told R anywhere that S1 and S2 are factors with 6 levels rather than numeric vectors? Or are

Re: [R] Two-way ANOVA gives different results using anova(lm()) than doing it by hand

2009-07-08 Thread Greg Snow
5 AM > To: r-help@r-project.org > Subject: [R] Two-way ANOVA gives different results using anova(lm()) > than doing it by hand > > > Hey! > > > > Could you please take a quick look at what I have done? Somehow I get > wrong results using the anova(lm()) combi

[R] Two-way ANOVA gives different results using anova(lm()) than doing it by hand

2009-07-08 Thread Lars Bergemann
Hey! Could you please take a quick look at what I have done? Somehow I get wrong results using the anova(lm()) combination compared to doing a two way ANOVA by hand. Running: Data<-read.table("Data.txt"); g<-lm(ExM~S1*S2,Data); anova(g); Gives: Analysis of Variance Table Res

Re: [R] Two-way Anova

2009-05-12 Thread Mike Lawrence
Using traditional ANOVA, you'd have to drop either cases or time points with missing data. Using linear mixed effects analysis, you'd be able to use all the data. LME also has the benefit of *not* assuming sphericity, which is good for data like yours (many measures across few cases) where the trad

[R] Two-way Anova

2009-05-12 Thread Alan O'Loughlin
Hello, I'm trying to do a comparsion on a large scale say 10L bottle of liquid and a small scale bottle of liquid 0.5L, I have 5 different samples from each and they are measured over the space of 8 days as % viability and the % viability decreases over time. However not all 10 samples got me

Re: [R] Two Way ANOVA

2008-03-19 Thread Daniel Malter
Mackovjak Gesendet: Wednesday, March 19, 2008 6:02 PM An: r-help@r-project.org Betreff: [R] Two Way ANOVA First time using, the mailing list and I'm somewhat new to R, so excuse me if I do anything wrong. I was wondering how I would set up a two way ANOVA for the following

[R] Two Way ANOVA

2008-03-19 Thread David Mackovjak
First time using, the mailing list and I'm somewhat new to R, so excuse me if I do anything wrong. I was wondering how I would set up a two way ANOVA for the following data: Nitrogen (0) Nitrogen (20) (cell means)

Re: [R] Two Way ANOVA

2008-02-28 Thread Peter Alspach
to:[EMAIL PROTECTED] On Behalf Of Keith Jones > Sent: Friday, 29 February 2008 3:46 p.m. > To: r-help@r-project.org > Subject: [R] Two Way ANOVA > > Hi, > > I am using the: > > pcf.aov<-aov(meas~op+part, data=pcf.ex2), > > command to perform a two way ANOVA. When

[R] Two Way ANOVA

2008-02-28 Thread Keith Jones
Hi, I am using the: pcf.aov<-aov(meas~op+part, data=pcf.ex2), command to perform a two way ANOVA. When I save the: sumpcf<- summary.aov(pcf.aov), result of the summary.aov command in a variable I need to access the individual pieces of information in the summary. The summary appears to be