search for: stepmod

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

2005 Jan 14
1
Colors and legend on a scatterplot?
...rcome the 2 problems 1.Defining my own color scale for a value on a scatterplot 2.Adding legend showing values for colours I have a set of points in area of my research with coordinates X and Y and a value which I would like to show with colors. #values for points are residuals from regression stepmod = step(wmodzad, direction="both") #I am adding residuals to original data to get coordinates for residuals expzad = cbind(zadrz, residuals(stepmod)) #I want to have colors for classes defined as standard deviation from mean std = sd(residuals(stepmod)) mn = mean(residuals(stepmod)) s...
2007 Dec 19
0
leaps
...ot;,1:nfr,"]",collapse="+") xnam2 <- NULL xnam2 <- paste(sep="","sinmat[,",1:nfr,"]",collapse="+") fmla <- as.formula(paste("yy ~ ", paste(xnam1,"+",xnam2,sep=""))) FTmod <- lm(fmla) stepmod <- step(FTmod, direction="both") summary(stepmod) *Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 0.237808 0.008728 27.248 < 2e-16 *** cosmat[, 1] -1.011932 0.012390 -81.675 < 2e-16 *** cosmat[, 2] -0.417265 0.012329 -33.844 <...
2007 Dec 18
0
R command "leap"
...I came up with the following showing there still are some non significant coefficients. I'd like to try the command "leap". However, I don't quite understand how it returns the spared predicting variables. Can please, someone help ? Tank you in advance. Mara EM > summary(stepmod) Call: lm(formula = yy ~ cosmat[, 1] + cosmat[, 2] + cosmat[, 3] + cosmat[, 4] + cosmat[, 5] + cosmat[, 6] + cosmat[, 7] + cosmat[, 8] + cosmat[, 9] + cosmat[, 11] + cosmat[, 12] + cosmat[, 15] + cosmat[, 16] + cosmat[, 17] + cosmat[, 22] + cosmat[, 25] + cosmat[, 29] + cosmat[, 30...