[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: -return list- after -codebook-
From
Richard Goldstein <[email protected]>
To
[email protected]
Subject
Re: st: -return list- after -codebook-
Date
Thu, 10 Apr 2008 16:09:01 -0400
-codebook- does not save that information; it appears, in fact, to only
save info about problem variables
however, -unique- does; this program is available via -ssc-
Rich
Luhang Wang wrote:
Dear all,
Does anyone know why I get nothing with -return list- after
-codebook-? I did check the ado file of -codebook- and it is an rclass
command. It also seems a series of r() are well defined in the
program.
My purpose is to get the number of unique values of a variable stored
in a scalar or macro. Any suggestion of achieving this, maybe in other
ways, will be appreciated. Thanks a lot.
Best,
Luhang
*
* 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 |