Statalist The Stata Listserver


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

st: running regressions on only certain sections of the data


From   "T.J. Volant" <tjvolant@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: running regressions on only certain sections of the data
Date   Mon, 19 Feb 2007 08:31:08 -0800 (PST)

Hello all,

I have a big data set and am trying to run regressions
on various combinations of sections. Is there a way to
do this w/out having to drop irrelevant observations
every time?
Example:
A y1 x1
A y2 x2
B y3 x3
B y4 x4
C y5 x5
C y6 x6

Running y on x only for the A section without having
to drop all B and C observations. Then regress y on x
for AC, for AB, etc.
Thank you in advance!

T.J.Volant




 
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail
*
*   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