Skip to content

Regsubsets()

3 messages · Smit, R. (Robin) (IenT), Brian Ripley, Thomas Lumley

#
Please DO read the posting guide.  You are using a package without 
mentioning it, and only the package maintainer is likely to understand 2).

If really you do not understand 1) please seek local statistical 
expertise.
On Wed, 11 May 2005, Smit, R. (Robin) (IenT) wrote:

            

  
    
#
On Wed, 11 May 2005, Smit, R. (Robin) (IenT) wrote:

            
The first message means that your variables are linearly redundant (very 
much so, with 14 linear dependencies in 35 variables).  This probably 
explains the second warning.

You need to reduce nvmax: you can't fit any model with more than 35-14=21 
variables. The code will work with linear dependencies as long as you set 
nvmax low enough -- according to Alan Miller's book it was written for 
situtations with more variables than observations.  Try something like 
nvmax=10, and you will be able to see if there really is a use for models 
with even as many as 10 variables.

 	-thomas