Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Count observations


From   "Miguel Angel Duran Munoz" <[email protected]>
To   [email protected]
Subject   st: Count observations
Date   Thu, 27 Jun 2013 19:13:34 +0200 (CEST)

Hi, Statalisters. I have a doubt that must have a very simple solution,
but I have not been able to find it. I have a variable where some numbers
appear more than once. And I would like to know the number of different
numbers; ie,  variable = 1 1 1 2 3 4 4 4..., so there are 4 different
numbers.

Thanks in advance.

Miguel.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index