Re: [R] Help with ANOVA in R

2012-03-08 Thread lulumecindy
Hello everyone: I'm a new member of this group. Following the question(2) of Amit Patel-7, I know "oneway.test" has the option of "var.equal=F". Maybe it's can be the answer of this quest

Re: [R] help with anova()

2010-12-15 Thread Peter Ehlers
On 2010-12-15 11:12, brianiphk wrote: I'm trying to run an ANOVA in R and I have a problem: I used this command: anova(lm(time~age*region*facility)) Age, region, and facility are all factor levels, which has 2, 4, and 3 levels respectively. however, in the output (anova table), it states that

[R] help with anova()

2010-12-15 Thread brianiphk
I'm trying to run an ANOVA in R and I have a problem: I used this command: anova(lm(time~age*region*facility)) Age, region, and facility are all factor levels, which has 2, 4, and 3 levels respectively. however, in the output (anova table), it states that the df is 1 for all three factors, which

Re: [R] Help with ANOVA

2010-08-18 Thread Stephen Liu
From: Tal Galili To: Stephen Liu Cc: r-help@r-project.org Sent: Thu, August 19, 2010 11:05:38 AM Subject: Re: [R] Help with ANOVA >#first: >install.packages("reshape") >#Then try: >library(reshape) >#and then >?melt >?cast Hi Tal, I got it done as a

Re: [R] Help with ANOVA

2010-08-18 Thread Erik Iverson
On 08/18/2010 10:05 PM, Tal Galili wrote: Hi Stephen, #first: install.packages("reshape") #Then try: library(reshape) #and then ?melt ?cast This is also useful: http://www.jstatsoft.org/v21/i12/paper __ R-help@r-project.org mailing list https://sta

Re: [R] Help with ANOVA

2010-08-18 Thread Tal Galili
Cc: r-help@r-project.org > Sent: Thu, August 19, 2010 10:23:04 AM > Subject: Re: [R] Help with ANOVA > > - snip - > > >Also, you might need to move your data from wide to long. For which you > >might wish to look at > >?reshape > >(or better yet the >

Re: [R] Help with ANOVA

2010-08-18 Thread Stephen Liu
- Original Message From: Tal Galili To: Sneeketeeke Cc: r-help@r-project.org Sent: Thu, August 19, 2010 10:23:04 AM Subject: Re: [R] Help with ANOVA - snip - >Also, you might need to move your data from wide to long. For which you >might wish to look at >?reshape >(or be

Re: [R] Help with ANOVA

2010-08-18 Thread Tal Galili
Hi Sneeketeeke, Did you happen to have a look at the example on ?aov and ?TukeyHSD Also, you might need to move your data from wide to long. For which you might wish to look at ?reshape (or better yet the ?melt ?cast commands from the reshape package) Tal Contact Details:---

[R] Help with ANOVA

2010-08-18 Thread Sneeketeeke
Hello everyone, I am doing an analysis on some data for a project, and do not have much background in either R or statistics, but have been pointed in the direction of doing ANOVA and then multiple comparisons on the data to give me the information I need. I was wondering if some of you could hel

Re: [R] Help With ANOVA (corrected please ignore last email)

2010-07-07 Thread Dennis Murphy
Hi: I'd suggest looking at the following plot (data in original post, copied below): library(lattice) stripplot(Intensity ~ Group, data = zzzanova) Some things stand out in this plot that merit attention. As Josh Wiley pointed out in an earlier reply, the concentration of -4.60517 values in thi

Re: [R] Help With ANOVA (corrected please ignore last email)

2010-07-06 Thread Joshua Wiley
treated in the analysis (i.e ignored or -4.60517). Im not > sure what your ANOVA background is but I just wanted to check that I'm using > ANOVA correctly. Im using the assumption that the Pr(>F)1 value is the actual > p-value. > > Thanks again for your help > > &g

Re: [R] Help With ANOVA

2010-07-06 Thread Joris Meys
7", "18", "19", "20", > "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", > "31", "32", "33", "34", "35&q

Re: [R] Help With ANOVA

2010-07-06 Thread Joris Meys
We're missing the samp1 etc. in order to be able to test the code. Where did you get the other p-value? Cheers Joris On Tue, Jul 6, 2010 at 3:08 PM, Amit Patel wrote: > Hi I needed some help with ANOVA > > I have a problem with My ANOVA > analysis. I have a dataset with a known ANOVA p-value, how

Re: [R] Help With ANOVA (corrected please ignore last email)

2010-07-06 Thread Joshua Wiley
Hi Amit, When I copy in your data and run aov(Intensity ~ Group, data = zzzanova) I get neither the p-value you showed nor the one you expected. My suggestions at things to look at would be 1) Where/How did you get the expected p-value? Another statistics program (e.g., SPSS or SAS)? It help

[R] Help With ANOVA (corrected please ignore last email)

2010-07-06 Thread Amit Patel
Sorry i had a misprint in the appendix code in the last email Hi I needed some help with ANOVA I have a problem with My ANOVA analysis. I have a dataset with a known ANOVA p-value, however I can not seem to re-create it in R. I have created a list (zzzanova) which contains 1)Intensity Values 2)

[R] Help With ANOVA

2010-07-06 Thread Amit Patel
Hi I needed some help with ANOVA I have a problem with My ANOVA analysis. I have a dataset with a known ANOVA p-value, however I can not seem to re-create it in R. I have created a list (zzzanova) which contains 1)Intensity Values 2)Group Number (6 Different Groups) 3)Sample Number (54 different

Re: [R] Help with ANOVA in R

2010-03-10 Thread Vokey, John
> > Your line of code: > > zzz.aov <- aov(Intensity ~ Group + Error(Sample), data = zzzanova) > > indicates that you are trying to do a repeated measures ANOVA, not just an > ANOVA. The Error(Sample) term in your expression indicates that Sample is a > within subjects factor, which I presume is

Re: [R] Help with ANOVA in R

2010-03-09 Thread Ravi Kulkarni
Your line of code: zzz.aov <- aov(Intensity ~ Group + Error(Sample), data = zzzanova) indicates that you are trying to do a repeated measures ANOVA, not just an ANOVA. The Error(Sample) term in your expression indicates that Sample is a within subjects factor, which I presume is not the case.

[R] Help with ANOVA in R

2010-03-09 Thread Amit Patel
Hi I am attempting Anova analysis to compare results from four groups (Samp1-4) which are lists of intensities from the experiment. I am doing this by first creating a structured list of the data and then conducting the ANOVA (Script provided below). Im an R beginner so am not sure if I am using t

Re: [R] Help with ANOVA p-values

2009-04-14 Thread Usuario R
Hi, you can try something like: summary( zzz.aov )[[1]][ "Pr(>F)" ] Regards 2009/4/14 Amit Patel > > Hi > I have done ANOVA on a dataset (See Below) but am having problems > retreiving the p-value. I am assuming that Pr(>F) is the p-value but cannot > get this value or in fact any other value

[R] Help with ANOVA p-values

2009-04-14 Thread Amit Patel
Hi I have done ANOVA on a dataset (See Below) but am having problems retreiving the p-value. I am assuming that Pr(>F) is the p-value but cannot get this value or in fact any other value (e.g. DF) from the summary.Any suggestions?? I have tried sum<-summary(zzz.aov) > sum$Pr(>F) Error: unexpec