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

st: RE: confirm a variable is an identifiant

From   "Nick Cox" <>
To   <>
Subject   st: RE: confirm a variable is an identifiant
Date   Wed, 24 Jun 2009 18:25:38 +0100

The official command -isid- is designed for precisely this purpose. 

For a full and wider-ranging discussion, see 

SJ-8-4  dm0042  . . . . . . . . . . . .  Speaking Stata: Distinct
        (help distinct if installed)  . . . . . .  N. J. Cox and G. M.
        Q4/08   SJ 8(4):557--568
        shows how to answer questions about distinct observations
        from first principles; provides a convenience command


Jean-Benoit Hardouin

I search to verify if a variable is an identifiant that is to say that 
each row of a file have a different value on this variable than all the 
others rows.
I want to use the -inspect- to compare the number of "unique value" (if 
the number of unique value is equal to the number of individual then the

variable is an identifiant) but -inspect- don't count the number of 
different values if this number is superior to 100.
Have someone an idea ?

*   For searches and help try:

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