search for: n1458694

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

Did you mean: 1258694
2010 Feb 01
1
Manipulating data, and performing repeated simple regressions, not multiple regression
...2) I want to get as outputs the separate regressions of Var1 to Result, Var2 to Result, etc. I.e. separate single-variable regressions, NOT a multiple regression. 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...