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]

st: saving a varlist in a new dat file


From   Osei Kuffour Wiafe <okwiafe@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: saving a varlist in a new dat file
Date   Sun, 4 Mar 2012 19:59:18 +1000

Hi guys,

I hope this is possible to do in stata and someone is able to help me out.

I'm taking samples of some data and I have use of just one variable
from the analysis, say varY.
I need to save this varY in a new .dat file, run the the do file
several times again and save the
different varYs in the same created file. I need to compare the
different varY values from different samples and I'm
hoping to save them in one dat file to make it easy to analyse.

Can anyone help me with such a code for my work?

Thanks!
Osei
*
*   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/


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