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

st: AW: Preserving ereturn results in toto?

From   "Martin Weiss" <>
To   <>
Subject   st: AW: Preserving ereturn results in toto?
Date   Wed, 3 Feb 2010 16:51:44 +0100


sysuse auto, clear

reg price weight
_est ho myreg
reg price turn trunk
eret li

//and back
_est u myreg
eret li


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Michael I.
Gesendet: Mittwoch, 3. Februar 2010 16:33
Betreff: st: Preserving ereturn results in toto?

I am modifying a program that performs regression diagnostics. I would 
like it to leave intact the ereturn results from the preceding 
estimation command. Unfortunately, my program calls another estimation 
command in the course of doing its business, thereby obliterating the 
existing results. I could save each of the prior results in macros and 
matrices and then post the saved results when my program terminates, but 
is there a macro/matrix equivalent to -preserve- and -restore- that will 
allow me to do this efficiently and without having to know the names and 
types of all of the results? Thanks.


Michael I. Lichter, Ph.D. <>
Research Assistant Professor & NRSA Fellow
UB Department of Family Medicine / Primary Care Research Institute
UB Clinical Center, 462 Grider Street, Buffalo, NY 14215
Office: CC 126 / Phone: 716-898-4751 / FAX: 716-898-3536

*   For searches and help try:

*   For searches and help try:

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