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

st: RE: A small question


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: A small question
Date   Thu, 29 Apr 2004 23:30:19 +0100

And a small answer: 

. di r(r) 

i.e. the same as the number of rows in the table. 

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]]On Behalf Of Maoyong Fan
> Sent: 29 April 2004 23:23
> To: statalist
> Subject: st: A small question
> 
> 
> I use the following command to generate dummy variable.
> 
> tabulate group, generate(dum)
> 
> Now I want to know how many dummy variables have been 
> created.  How do I do that?
> 
> 
> Maoyong Fan
> 
> *
> *   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/
> 

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