search for: topurg

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

Did you mean: topurl
2010 Jan 12
0
[Solved][Code Snippets] Dropping Empty Regressors
...9; you see is that this is all in a big loop # for 6 possible models # lm1 = all regressors w/ intercept # lm2 = lm1 stepwise removal # lm3 = all regressors wo/ intercept # lm4 = lm3 stepwise removal # lm5 = Hand Tuned # lm6 = lm5 stepwise removal ################################################### toPurge=c() for(k in names(newmcReg[[i]])) { print (paste("check to see if",k,"is a useless regressors for model",i)) if(sum(newmcReg[[i]][k][,1])==length(newmcReg[[i]][k][,1])) { print(paste("All of",k,"are TRUE")) getLost=which(names(newmcReg[[i]])==k) toP...