SVRET: save returned results to your dataset


Type which svret at the Stata prompt to determine which version you have installed. To install the most recent version of svret, copy/paste the following line of code:

net install svret, from("") replace

To install the version that was uploaded to SSC, copy/paste the following line of code:

ssc install svret, replace

These two versions are typically synced, but occasionally the SSC version may be slightly out of date.


svret is a Stata command that replaces the dataset in memory with the scalars and macros stored in e(), r(), and s().

For more details, see the Stata help file included in this package.



Julian Reif
University of Illinois