Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: checking for repeated values of a given variable


From   Kenley Barrett <k-barrett@northwestern.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: checking for repeated values of a given variable
Date   Mon, 05 Apr 2004 13:05:06 -0500

I'm creating an ID variable to uniquely identify each case in a dataset that I'm piecing together, and it appears that here and there there are mistakes in the dataset that result in identical values of the ID variable for different cases. The dataset is way too big to look through all of it; is there a command that will check to make sure that no values are repeated for a given variable?

Thanks,
Kenley

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




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