[R] regression with categorical nuisance variable

2011-02-28 Thread Jonathan DuBois
Hi, I am new to R, so I am unsure of the formula to set up this analysis. I would like to run a linear model with a continuous dependent variable (brain volume) and a continuous independent variable (age) while controlling for a categorical nuisance variable (gender). Age and brain volume are cor

Re: [R] MANCOVA

2010-10-08 Thread Jonathan DuBois
ent variables in a multiple regression. Is there a more appropriate formula? Thanks again! Jon On Fri, Oct 8, 2010 at 2:29 AM, Peter Dalgaard wrote: > On 10/08/2010 06:55 AM, Jonathan DuBois wrote: >> Hi, >> >> I have been using R to do multiple analyses of variance wit

[R] MANCOVA

2010-10-07 Thread Jonathan DuBois
Hi, I have been using R to do multiple analyses of variance with two covariates, but recently found that the results in SPSS were very different. I have check several books and web resources and I think that both methods are correct, but I am less familiar with R, so I was hoping someone could off