Re: [R] update fit (removing insignificant variables)

2012-11-21 Thread arun
HI, I am not sure about the ?update() method. You could try this: set.seed(232) mat1-matrix(sample(1:100,80,replace=TRUE),ncol=8) #with 8 columns dat1-data.frame(mat1)  names(dat1)[1]-Y  fit-lm(Y~.,data=dat1) res-coef(summary(fit))  res # Estimate Std. Error t value  

Re: [R] update fit (removing insignificant variables)

2012-11-21 Thread soon yi
170 predictors - perhaps try lasso regression -- View this message in context: http://r.789695.n4.nabble.com/Re-update-fit-removing-insignificant-variables-tp4650379p4650394.html Sent from the R help mailing list archive at Nabble.com. __