What hypothesis do you expect the p-values to be testing? What you would get from regsubsets is unlikely to test any hypothesis of interest.
If you really feel the need for p-values then the safest approach is probably the function SnowsCorrectlySizedButOtherwiseUselessTestOfAnything in the TeachingDemos package. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of James Stegen > Sent: Wednesday, November 10, 2010 8:31 AM > To: r-help@r-project.org > Subject: [R] p-value from regsubsets > > Hi, does anyone know if there is a way to easily extract p-values from > the regsubsets() function? > Thanks, > James Stegen > > -- > James C. Stegen > NSF Postdoctoral Fellow in Bioinformatics > University of North Carolina > Chapel Hill, NC > 919-962-8795 > ste...@email.unc.edu > http://www.unc.edu/~stegen/index.html > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.