search for: x1sq

Displaying 3 results from an estimated 3 matches for "x1sq".

Did you mean: x1q
2004 Apr 05
0
Selecting Best Regression Equation : leaps() in R and stepwise() in S+
...----------------- And my applied 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,...
2008 Aug 03
0
missing F statistic in anova.gam
...ce F Pr(>F) 1 3822.000 33970 2 3819.535 33921 2.465 49 2.2257 0.09578 . --- Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 > anova(EqQuad,EqGamAS,test="F") Analysis of Deviance Table Model 1: y2 ~ x1 + x1sq + x2 + x2sq + x1x2 + X Model 2: y2 ~ s(x1) + s(x2) + X Resid. Df Resid. Dev Df Deviance F Pr(>F) 1 3819.00000 33955 2 3819.53502 33921 -0.53502 34 Model 1: y2 ~ s(x1) + s(x2) + X Model 2: y2 ~ X + s(x1, x2) Resid. Df Resid. Dev...
2008 Aug 05
0
P values in non linear regression and singular gradients using nls
...ce F Pr(>F) 1 3822.000 33970 2 3819.535 33921 2.465 49 2.2257 0.09578 . --- Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 > anova(EqQuad,EqGamAS,test="F") Analysis of Deviance Table Model 1: y2 ~ x1 + x1sq + x2 + x2sq + x1x2 + X Model 2: y2 ~ s(x1) + s(x2) + X Resid. Df Resid. Dev Df Deviance F Pr(>F) 1 3819.00000 33955 2 3819.53502 33921 -0.53502 34 Model 1: y2 ~ s(x1) + s(x2) + X Model 2: y2 ~ X + s(x1, x2) Resid. Df Resid. Dev...