Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Count observations

From   Richard Goldstein <>
Subject   Re: st: Count observations
Date   Thu, 27 Jun 2013 13:21:56 -0400

there are numerous ways but probably the easiest is to download either
or both of -unique- and -distinct-; use the -findit- command to find these


On 6/27/13 1:13 PM, Miguel Angel Duran Munoz wrote:
> 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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index