[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: question about -levelsof-
Another way to get the number of levels is to use Gary Longton and
Nick Cox's -distinct-, available from SSC.
It returns the number of unique values in `r(ndistinct)' .
David
--
David Radwin // [email protected]
Office of Student Research, University of California, Berkeley
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/