search for: missstep

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

Did you mean: misstep
2011 Nov 30
1
glm step() fkt
Hi volks, i have a question about the step() fkt. Is there a possibility to save the last model generated from this method. I have a loop and so i generate 100 different models with the step fkt and i want to know which model is the most common. CODE: ... missStep -> numeric(100) for (j in 1:100) { trainindex <- sample(c(1:462),300) train <- data[trainindex,] test <- data[-trainindex,] mod.step <- step(mod, direction="both",trace=T) } ... So i want to store each iteration the best model. Thx in...