Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: link regression variables by prefix


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: link regression variables by prefix
Date   Wed, 10 Dec 2008 14:01:30 +0100

Line for the server...

Follow the sequence a-z with a foreach loop as in 
http://www.stata-journal.com/sjpdf.html?articlenum=pr0013


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
mcurran@email.arizona.edu
Sent: Wednesday, December 10, 2008 12:08 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: link regression variables by prefix

I have variables named in regression batches by prefix (e.g., regress a5 on
a1
a2 a3 a4). Altogehter, I have a-z total regressions to run. Is there a way
to
do one regression (e.g., regress a5 on a1 a2 a3 a4) and program so that
stata
knows that the b's go together, c's together, etc.?

Thanks for any assistance you can provide, Mike


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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