Skip to content
Back to formatted view

Raw Message

Message-ID: <4D2ABBEC.8030405@smartmediacorp.com>
Date: 2011-01-10T07:57:32Z
From: Noah Silverman
Subject: Step command failing for lm function

Hi,

I have a fairly simple linear regression using the lm function.  There
are about 100 variables and 30,000 rows of data.  It runs fine and
produces a decent looking R2 value.  I'm interested in performing a
stepwise variable selection to see if things can be cleaned up a bit.

Calling the step function returns ONE iteration (all the variables) and
then stops.  No errors are reported.   

Can someone suggest why this might not be working as expected. 
(Normally this function steps through all the variables to find the
"best" combination.)

Thanks!

-N