Re: [R] having a bit of regression trouble

2012-01-25 Thread jones
Since this is a homework exercise, I'm guessing that the intent of the problem is for you to figure out why that is happening. albyn On 1/25/12 2:24 PM, Rampagegrl wrote: I got the code for how to do regression without an intercept out of the back of my book and the next part of the homework a

Re: [R] having a bit of regression trouble

2012-01-25 Thread David Winsemius
On Jan 25, 2012, at 5:24 PM, Rampagegrl wrote: I got the code for how to do regression without an intercept out of the back of my book and the next part of the homework asks me to do it with an intercept. The problem is, Q1 disappears whenever I try. Here is my code: Without the interce

[R] having a bit of regression trouble

2012-01-25 Thread Rampagegrl
I got the code for how to do regression without an intercept out of the back of my book and the next part of the homework asks me to do it with an intercept. The problem is, Q1 disappears whenever I try. Here is my code: Without the intercept: load("tsa3.rda") > > Q=factor(rep(1:4,21)) > reg=l