Re: [R] Plotting of regsubsets adjr2 values not correct

2012-09-26 Thread Greg Snow
Does your dataset have any missing data? (without a reproducible example we can only guess). If it does then you may be fitting the same model to different subsets of the data between the 2 methods. On Tue, Sep 25, 2012 at 9:03 AM, Maximilian Lklweryc maxlklwe...@gmail.com wrote: Hi, I want to

Re: [R] Plotting of regsubsets adjr2 values not correct

2012-09-25 Thread Bert Gunter
1. You failed to tell us that you are using the leaps package. 2. You are lost statistically. I strongly recommend that you seek out local statistical help. At the very least, post on a statistical Help list, which this is _not_. 3. FWIW: What you are trying to do is quite unwise. That is why I

Re: [R] Plotting of regsubsets adjr2 values not correct

2012-09-25 Thread Thomas Lumley
On Wed, Sep 26, 2012 at 3:03 AM, Maximilian Lklweryc maxlklwe...@gmail.com wrote: Hi, I want to make model selection with regsubsets. My code is: a-regsubsets(Gesamt ~ CommunistSocialist + CountrySize + GNI + Lifeexp + Schoolyears + ExpMilitary + Mortality + PopPoverty + PopTotal + ExpEdu