Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: -save- a varlist


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -save- a varlist
Date   Tue, 30 Oct 2012 15:57:08 +0100

On Tue, Oct 30, 2012 at 3:46 PM, Jeph Herrin wrote:
>  * per Austin's question, I can derive variables and save those
>     locally; I have many types of nested units, so generally I am
>     creating summary values for these different units (eg, patients,
>     physicians, hospitals) and want to save them out in separate files
>     for each type of unit. and there are some original variables (that I
>     didn't create) which I can also save locally because there is no
>     identifying data.

If I understand you correctly, you have sensitive data where
individuals can be identified, and for legal/contractual/ethical
reasons you cannot store that data locally on your computer. At the
same time having such a local copy would speed up some of your
computations.

Maybe using -tempfile- would provide a reasonable compromise. That
would allow you to store the datafile locally, but only for as long as
your .do file runs.

Hope this helps,
Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index