Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Regression: All possible subsets


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Regression: All possible subsets
Date   Fri, 24 Nov 2006 18:03:05 -0500

Raphael Fraser wrote:
I have six variables and would like to fit all possible subsets
(64=2^6) in a regression model. Lets say my variables are x1, x2, ...,
x6 plus outcome variable y. How can I program Stata to fit all
possible subsets?

Raphael
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index