Skip to content

Step wise regression

3 messages · walmir-rodrigues, Renaud Lancelot, Frank E Harrell Jr

#
Dear Fellows,

How can I do to proced a step wise regression in R, if it´s possible ?

Thanks,

Walmir 
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/
#
Frank E Harrell Jr a ?crit :
competing for the "fortune" award ?... ;-)

Renaud
#
walmir-rodrigues wrote:
Here is an easy approach that will yield results only slightly less 
valid than one actually using the response variable:

x <- data.frame(x1,x2,x3,x4,..., other potential predictors)
x[,sample(ncol(x))]

:-)   -Frank