search for: x3sq

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

Did you mean: x3s
2004 Apr 05
0
Selecting Best Regression Equation : leaps() in R and stepwise() in S+
...plied R codes are- -------------------------------------- > options(prompt=" R > " ) R > leafbrn1<-read.table("c:\\leafbrn.txt",header=T) R > leafbrn.data1<-data.frame(leafbrn1) R > attach(leafbrn.data1) R > x1sq<-x1^2;x2sq<-x2^2;x3sq<-x3^2;x1x2<-x1*x2;x1x3<-x1*x3;x2x3<-x2*x3; R > leafbrn <- cbind(leafbrn1,x1sq,x2sq,x3sq,x1x2,x1x3,x2x3) R > detach(leafbrn.data1) R > leafbrn.data<-data.frame(leafbrn) R > attach(leafbrn.data) R > X<-cbind(x1,x2,x3,x1sq,x2sq,x3sq,x1x2,x1x3,x2x...