Re: [R] regression analysis with interactions

2010-08-05 Thread Jennifer Hou
From: er...@ccbr.umn.edu To: jennifer@hotmail.de CC: r-help@r-project.org Subject: Re: [R] regression analysis with interactions Jennifer Hou wrote: Hello, I have got a linear model that looks like this: lm(criterion ~ variable.A*variable.a + variable.B*variable.b + variable.C

Re: [R] regression analysis with interactions

2010-08-05 Thread Erik Iverson
, summary should also give them to you. Date: Wed, 4 Aug 2010 15:27:40 -0500 From: er...@ccbr.umn.edu To: jennifer@hotmail.de CC: r-help@r-project.org Subject: Re: [R] regression analysis with interactions Jennifer Hou wrote: Hello, I have got a linear model that looks like this: lm(criterion

[R] regression analysis with interactions

2010-08-04 Thread Jennifer Hou
Hello, I have got a linear model that looks like this: lm(criterion ~ variable.A*variable.a + variable.B*variable.b + variable.C *variable.c) The output computed with stdCoeff() seems to be all right, but it does not show the coefficients of the interaction of the first pair of variables.

Re: [R] regression analysis with interactions

2010-08-04 Thread Erik Iverson
Jennifer Hou wrote: Hello, I have got a linear model that looks like this: lm(criterion ~ variable.A*variable.a + variable.B*variable.b + variable.C *variable.c) The output computed with stdCoeff() seems to be all right, but it does not show the coefficients of the interaction of the first

Re: [R] regression analysis with interactions

2010-08-04 Thread John Sorkin
Jennifer, Please provide us more information. It would be helpful to see the actual code you ran along with the actual output. How did you get the values that your included with your email message? Did you get the values using the summary function, e.g. fit0-lm(y~x+sex+x*sex) summary(fit0)