Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: basic commands question


From   Yihong Ni <[email protected]>
To   Stata _ <[email protected]>
Subject   st: basic commands question
Date   Wed, 5 May 2004 14:50:28 -0400 (EDT)

I have a questions about using stata8:
Is there any way to save the results of tabulate command in another .dta
file?

Or..
why does the following code not work?

. by (var1 var2): egen freq=count(var3)

I want to count the number of occurences  (var3) for each year for each
country.  how do i save this reorganized result in a .dta file?

thanks for any help!

Nancy

*
*   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/



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