Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

predict after bysort varlist: regress


From   "Oleksandr Shepotylo" <shepotil@econ.umd.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   predict after bysort varlist: regress
Date   Mon, 15 Sep 2003 11:26:47 -0400

Dear Statalist,

Is there possibility to use predict after estimation with by?

For example,

 I estimated linear regression using file X1:

      by pensiontype: reg pension age gender region_dummy

then I wanted to predict pension using another file X2. But predict did not
work after regression with by.



Thanks,
Oleksandr

*
*   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