[R] ANOVA help

2012-06-20 Thread James Johnson
Hi All, I have a microarray dataset as follows:   expt1 expt2 expt3  expt4 expt 5  gene1    val  val val  val val gene2    val  val val  val    val . . .. gene15000   val   val val  val val The

Re: [R] ANOVA help

2012-06-20 Thread David Winsemius
On Jun 19, 2012, at 5:36 PM, James Johnson wrote: Hi All, I have a microarray dataset as follows: expt1 expt2 expt3 expt4 expt 5 gene1val val val val val gene2val val val valval . . .. gene15000

Re: [R] Anova Help?

2009-02-28 Thread Tal Galili
Hi Dar. It sounds like anova is a good way to go. The command to look into in R is: ?aov you might also go into manova (for anova for two dependent variables together) But make sure you understand the background of it when you work the commands. Cheers, Tal On Wed, Feb 25, 2009 at 11:06

[R] Anova Help?

2009-02-25 Thread Dar
I am conducting an experiment where students are put into 5 total groups (one is the control group). They are given a task and then I'm measuring if there are differences (A 5 X 1 between-subject design will be used for the experiment). I'm a little confused on the data explanation (or should I

Re: [R] Anova Help?

2009-02-25 Thread Tal Galili
Hi Dar. I am not sure I got your question - Are you asking what analysis to perform ? Or how to perform it ? Could you please give more details ? On Wed, Feb 25, 2009 at 5:52 PM, Dar darre...@aol.com wrote: I am conducting an experiment where students are put into 5 total groups (one is

Re: [R] Anova Help?

2009-02-25 Thread Dar
I’m just setting up the experiment and need help explaining what the data analysis would be. Let me know of any questions….. what would be compared and how it would be measured. Is it a multi-way or 1-way anova? Thanks! A 5 X 1 between-subject design will be used for the experiment. Four tool

Re: [R] Anova Help?

2009-02-25 Thread Tal Galili
Hi Dar. could you please specify what type of variables the dependent and independent variables are ? (numeric/ordered/categorical , what is their range) could you please specify how many dependent and independent variables you have ? (numeric/ordered/categorical , what is their range) In either

Re: [R] Anova Help?

2009-02-25 Thread Dar
Independent Variables: 5 different levels of exposure to information: no information, appearance information, educational information, contact information, and personal information. The types Unranked Categorical Variable Dependent Variables: 2 and are numerical The dependent variable will be

Re: [R] anova help

2009-02-15 Thread Mike Lawrence
Provide some example data code and someone may be able to help. On Sat, Feb 14, 2009 at 2:46 PM, Joe King j...@joepking.com wrote: Hi all, I am trying to run a two factor anova, but one of the factors is a random factor, now I am also running in SPSS and it seems its dividing by the wrong

Re: [R] anova help

2009-02-15 Thread Tal Galili
Hi Joe, you might want to have a look at the nlme package with the lme command. Another option is the more advanced lmer package. Lastly, you could have a look at the ?aov command, and notice the option of using the +Error() term (but that would only work for balanced design cases, so I've heard,

Re: [R] anova help

2009-02-15 Thread Joe King
-project.org Subject: Re: [R] anova help Hi Joe, you might want to have a look at the nlme package with the lme command. Another option is the more advanced lmer package. Lastly, you could have a look at the ?aov command, and notice the option of using the +Error() term (but that would only work

Re: [R] anova help

2009-02-15 Thread David Winsemius
. - Winston Churchill From: Tal Galili [mailto:tal.gal...@gmail.com] Sent: Sunday, February 15, 2009 10:25 AM To: Joe King Cc: r-help@r-project.org Subject: Re: [R] anova help Hi Joe, you might want to have a look at the nlme package with the lme command. Another option is the more advanced

Re: [R] ANOVA help

2008-08-12 Thread Gareth Campbell
Hmm, I have my elements (as in chemical elements) as columns and my samples as rows. This is the normal way round for all my other analyses. I think I figured it out... I have 6 groups, all of about 10-12 samples and each with 31 elements. So for each group there are many more elements than

Re: [R] ANOVA help

2008-08-12 Thread Prof Brian Ripley
On Tue, 12 Aug 2008, Gareth Campbell wrote: Hmm, I have my elements (as in chemical elements) as columns and my samples as rows. This is the normal way round for all my other analyses. I think I figured it out... I have 6 groups, all of about 10-12 samples and each with 31 elements. So for

Re: [R] ANOVA help

2008-08-11 Thread Gareth Campbell
Thanks for that, the error I get when I use manova is this: Error in summary.manova(fit) : residuals have rank 30 31 What does this mean?? When I call the formula I get 31 residuals and 31 residual standard errors. Not sure why I get this error? Thanks Gareth 2008/8/11 S Ellison [EMAIL

Re: [R] ANOVA help

2008-08-11 Thread Gareth Campbell
I've checked the function code and the error is returned form the following: if (rss.qr$rank ncol(resid)) stop(gettextf(residuals have rank %d %d, rss.qr$rank, ncol(resid)), domain=NA) I read this as If the Residual sums of squares $ rank ... whatever that is is less than the number of

[R] ANOVA help

2008-08-10 Thread Gareth Campbell
Hi, I'm doing anova on a matrix of multivariate data where I want to assess the effect of each column (element). My matrix is 86 rows x 31 columns. I've created a grouping factor of length 86 containing group assignments of 6 types. Then I run: x- aov(matrix~grouping.factor)