[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: -return list- after -codebook-

From   Richard Goldstein <>
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-


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

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.

*   For searches and help try:

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