search for: varsquar

Displaying 1 result from an estimated 1 matches for "varsquar".

Did you mean: vadsuar
2010 Feb 01
1
Manipulating data, and performing repeated simple regressions, not multiple regression
...egression. The code I have so far (with the simple data above in this attached file "sample-regression.txt") http://n4.nabble.com/file/n1458694/sample-regression.txt sample-regression.txt is: Read_data=read.table("C:/sample-regression.txt", head = T) Resultnew=Read_data[,1] Varsquared = Read_data[,-1]^2 reg_data=cbind(Resultnew,Varsquared) #If I look at the output of this (reg_data), it looks how I want it to look. #However, I can't use it: when I perform even a regular multiple regression on it, I get the error message: # Error in model.frame.default(formula = Resultnew...