Dear Stata users,
I am using a simple table command
table state, c(n var1 n var2 n var3) row
Now I want to use the result of this table for generating new variables.
Say, gen newvar = N(var1)/N(var3). One way is using the "replace" option
with the table command. But that cuses the data in memory to lose. And I
will have to insheet the data set again. With out that option is there a
way out?
Thanks in advance!!!
Rijo M John.
*
* 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/