Thank you very much Stas, Nick and Philipp
Jean-Benoit
Nick Cox a écrit :
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
observations
(help distinct if installed) . . . . . . N. J. Cox and G. M.
Longton
Q4/08 SJ 8(4):557--568
shows how to answer questions about distinct observations
from first principles; provides a convenience command
Nick
[email protected]
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:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
--
Jean-Benoit Hardouin, PhD
Maitre de Conférences - Assistant Professor
EA 4572 "Biostatistics, Clinical Research and Subjective Measures in Health Sciences"
http://www.sante.univ-nantes.fr/biostat/
Departement of Biomathematics and Biostatistics
Faculty of Pharmaceutical Sciences
University of Nantes
1, rue Gaston Veil - BP 53508
44035 Nantes Cedex 1 - FRANCE
Email : [email protected]
Personal website : http://www.anaqol.org
*
* 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/