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

predict after bysort varlist: regress

From   "Oleksandr Shepotylo" <>
To   <>
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.


*   For searches and help try:

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