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
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.
__
2 matches
Mail list logo