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

st: table command

From   Rijo John <>
To   Statalist <>
Subject   st: table command
Date   Fri, 18 Jun 2004 20:23:33 +0530 (IST)

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:

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