Displaying 20 results from an estimated 9000 matches similar to: "model selection criteria in "regsubsets""
2005 Sep 27
4
regsubsets selection criterion
Hello,
I am using the 'regsubsets' function
(from leaps package)
to get the best linear models
to explain 1 variable
from 1 to 5 explanatory variables
(exhaustive search).
Is there anyone who can tell me
on which criterion is based
the 'regsubsets' function ?
Thank you.
samuel
Samuel BERTRAND
Doctorant
Laboratoire de Biomecanique
LBM - ENSAM - CNRS UMR 8005
2007 Aug 08
1
Regsubsets statistics
Dear R-help,
I have used the regsubsets function from the leaps package to do subset 
selection of a logistic regression model with 6 independent variables and 
all possible ^2 interactions. As I want to get information about the 
statistics behind the selection output, I?ve intensively searched the 
mailing list to find answers to following questions:
1. What should I do to get the statistics
2012 Jun 01
4
regsubsets (Leaps)
Hi
i need to create a model from 250 + variables with high collinearity, and
only 17 data points (p = 250, n = 750). I would prefer to use Cp, AIC,
and/or BIC to narrow down the number of variables, and then use VIF to
choose a model without collinearity (if possible).  I realize that having a
huge p and small n is going to give me extreme linear dependency problems, 
but I *think* these model
2010 Dec 26
1
Calculation of BIC done by leaps-package
Hi Folks,
I've got a question concerning the calculation of the Schwarz-Criterion 
(BIC) done by summary.regsubsets() of the leaps-package:
Using regsubsets() to perform subset-selection I receive an regsubsets 
object that can be summarized by summary.regsubsets(). After this 
operation the resulting summary contains a vector of BIC-values 
representing models of size i=1,...,K.
My problem
2009 Mar 11
1
regsubsets() [leaps package] - please share some good examples of use
Hello dear R-help members,
I recently became interested in using biglm with leaps, and found myself
somewhat confused as to how to use the two together, in different settings.
I couldn't find any example codes for the leaps() package (except for in the
help file, and the examples there are not as rich as they could be).  That
is why I turn to you in case you could share some good tips and
2005 Mar 02
1
Leaps & regsubsets
Hello
 
I am trying to use all subsets regression on a test dataset consisting
of 11 trails and 46 potential predictor variables. 
I would like to use Mallow's Cp as a selection criterion. 
The leaps function would provide the required output but does not work
with this many variables (see below).
The alternative function regsubsets should be used, but I am not able to
define the function in
2008 Mar 14
1
Forward Selection with regsubsets
Hi,
I would like to perform a forward selection procedure on a data set  
with 6 observations and 10 predictors. I tried to run it with  
regsubsets (I set nvmax=number of observations) but I keep getting  
these warning messages:
Warning messages:
1: 5  linear dependencies found in: leaps.setup(x, y, wt = weights,  
nbest = nbest, nvmax = nvmax,
2: nvmax reduced to  5 in: leaps.setup(x, y, wt =
2005 May 11
2
Regsubsets()
Dear List members
 
I am using the regsubsets function to select a few predictor variables
using Mallow's Cp:
 
> sel.proc.regsub.full <- regsubsets(CO2 ~ v + log(v) + v.max + sd.v +
tad + no.stops.km + av.stop.T + a + sd.a + a.max + d + sd.d + d.max +
RPA + P + perc.stop.T + perc.a.T + perc.d.T + RPS + RPSS + sd.P.acc +
P.dec + da.acc.1 + RMSACC + RDI + RPSI + P.acc + cov.v + cov.a +
2010 Feb 12
1
all possible subsets, with AIC
Hello, 
I have a question about doing ALL possible subsets regression
with a general linear model. My goal is to produce cumulative Akaike
weights for each of 7 predictor variables-to obtain this I need R to: 
1.
Show me ALL possible subsets, not just the best possible subsets 
2. Give
me an AIC value for each model (instead of a BIC value). 
I have tried to
do this in library(RcmdrPlugin.HH),
2008 May 07
1
help with regsubsets
Hi,
 
I'm new to R and this mailing list, so I will attempt to state my question as appropriately as possible. 
 
I am running R version 2.7 with Windows XP and have recently been exploring the use of the function regsubsets in the leaps package in order to perform all-subsets regression. 
 
So, I'm calling the function as:
 
2011 Feb 22
1
regsubsets {leaps}
Hi, 
I'd like to run regsubsets for model selection by exhaustive search. I have
a list with 20 potential explanatory variables, which represent the real and
the imaginary parts of 10 "kinds" of complex numbers:
x <- list(r1=r1, r2=r2, r3=r3, ..., r10=r10, i1=i1, i2=i2, i3=i3, ...,
i10=i10)
Is there an easy way to constrain the model search so that "r"s and
2009 Feb 25
1
leaps question
Colleagues,
please help me with the simple question.
How can I find R2 and p while doing best subsets regression? Also how
can I see B and p for coefficients?
Maybe you can advice me detailed manual, because in manual for the
package this is not described.
Thank you
2012 Sep 25
3
Plotting of regsubsets adjr2 values not correct
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 + ExpHealth, data=olympiadaten, nbest=2)
summary(a)
plot(a,scale="adjr2")
(output attached)
The problem is now, that I want to fit the best model again "manually"
2002 Feb 12
1
Best Subsets regression
Hi,
I have found a minor problem with leaps(). In 1.3.1 under Windows 2000 I 
seem to only be able to obtain values for one statistic at a time. That is 
choosing
method=c("Cp","adjr2","r2")
just gives Cp values.
To mimic the output of Minitab's
MTB > BReg 'Fertility' 'Agriculture'-'Infant.Mortality' ;
SUBC>   NVars 1 5;
SUBC>
2010 Nov 10
1
leaps::regsubsets p-value
Hi, does anyone know if there is a way to easily extract p-values from the
regsubsets() function?
Thanks,
James Stegen
p.s. this is a reposting due to me not putting in a useful subject heading...
-- 
James C. Stegen
NSF Postdoctoral Fellow in Bioinformatics
University of North Carolina
Chapel Hill, NC
919-962-8795
stegen at email.unc.edu
http://www.unc.edu/~stegen/index.html
2005 Sep 21
2
about set.seed
Hi there,
I have some question about set.seed these days which I may need your help.
I'm working on some sampling project which need to generate random numbers
by some distributions(like bivariate normal). I noticed that in different
computers to run my code,I got very significant different results. Then I
started to try set.seed command which I wish to see by fixing the same
random numbers
Error with regsubset in leaps package - vcov and all.best option (plus calculating VIFs for subsets)
2009 May 20
1
Error with regsubset in leaps package - vcov and all.best option (plus calculating VIFs for subsets)
Hi all
I am hoping this is just a minor problem, I am trying to implement a best subsets regression procedure on some ecological datasets using the regsubsets function in the leaps package. The dataset contains 43 predictor variables plus the response (logcount) all in a dataframe called environment. I am implementing it as follows:
library(leaps)
2012 Sep 25
2
Regsubsets model selection
Hi,
I have 12 independent variables and one dependent variable. Now I want to
select the best adj. R squared model by using the regsubsets command, so I
code:
> plot(regsubsets(Gesamt ~ CommunistSocialist + CountrySize + GNI + Lifeexp
+ Schoolyears + ExpMilitary + Mortality +
+   PopPoverty + PopTotal + ExpEdu + ExpHealth, data=olympiadaten, nbest=1,
nvmax=12), scale='adjr2')
Then I
2008 Aug 13
2
which alternative tests instead of AIC/BIC for choosing models
Dear R Users,
I am looking for an alternative to AIC or BIC to choose model parameters. 
This is somewhat of a general statistics question, but I ask it in this 
forum as I am looking for a R solution.
Suppose I have one dependent variable, y, and two independent variables, 
x1 an x2. 
I can perform three regressions: 
reg1: y~x1 
reg2: y~x2 
reg3: y~x1+x2 
The AIC of reg1 is 2000, reg2 is
2006 Aug 01
2
R Reference Card and other help (especially useful for Newbies)
Hi all: 
  
Newbies (and others!) may find useful the R Reference Card made available by
Tom Short and Rpad at http://www.rpad.org/Rpad/Rpad-refcard.pdf  or through 
the "Contributed" link on CRAN (where some other reference cards are also 
linked). It categorizes and organizes a bunch of R's basic, most used 
functions so that they can be easily found. For example, paste() is