I'm sorry about the lack of clarity in the last email.
I am looking to generate predicted values by multiplying the estimated
coefficients by a period ahead value of each variable.
The code I am using currently is:
Reg depvar indepvar1 indepvar2
gen depvar1 =
_b[_cons]+_b[_indepvar1]*F1.indepvar1+_b[_indepvar2]*F1.indepvar2
Is there code that can automate the process so I don't have to recode
each generate expression when I change model specification ?
Thanks for your valuable suggestions,
Joshua A. Shindell
*
* 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/