See [U] 21.10 Saving results.
Nick
[email protected]
Zurab Sajaia
> I'm trying to find out how create some kind of function in
> stata. After any
> estimation command (regress for example)
> eret list gives functions: e(sample). If I write
> gen a=e(sample)
> and if we specified IF and/or IN options in regress, a=1
> for those in
> subsample and 0 otherwise. So, e(sample) is a function but
> how can I return other functions from my program?
*
* 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/