Re: [R] Using R for Multiple Regression

2010-07-30 Thread Jonathan Christensen
Hi, Your X'X matrix is singular and there is not a unique solution. If you check, the regression equation which R gave you works just as well as yours. This is because your predictor variables are perfectly dependent. This will essentially never happen with real applications do to measurement erro

Re: [R] Using R for Multiple Regression

2010-07-30 Thread Ted Harding
On 30-Jul-10 15:07:46, Ambikesh Jayal wrote: > Hi, > Subject: Using R for Multiple Regression > > I am new to statistic but am interested in applying mathematical > models to solve biological problems. I have used a linear model > to generate the test data. When using this data I expect R to > cor

[R] Using R for Multiple Regression

2010-07-30 Thread Ambikesh Jayal
Hi, Subject: Using R for Multiple Regression I am new to statistic but am interested in applying mathematical models to solve biological problems. I have used a linear model to generate the test data. When using this data I expect R to correctly identify the model but that does not seem to be the