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

st: basic commands question

From   Yihong Ni <>
To   Stata _ <>
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

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!


*   For searches and help try:

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