Login or Register
Log in with
Forums
FAQ
Search in titles only
Search in General only
Advanced Search
Search
Home
Forums
Forums for Discussing Stata
General
You are not logged in. You can browse but not post. Login or
Register
by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the
FAQ
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Filtered by:
Clear All
new posts
Sanaullah Farooq
Join Date:
Mar 2016
Posts:
107
#1
duplicates
20 Jun 2016, 19:23
Hello
My data has some duplicates. Below you can see the code and the output for duplicates.
My questions is that I want to list the duplicates. How can I do that? thanks
duplicates tag TICKER Year_Plus, g(duplicate)
tab duplicate
Last edited by
Sanaullah Farooq
;
20 Jun 2016, 19:42
.
Joseph Coveney
Join Date:
Apr 2014
Posts:
4397
#2
20 Jun 2016, 19:54
Code:
sort TICKER Year_Plus list if duplicate, noobs sepby(TICKER Year_Plus)
Comment
Post
Cancel
Oded Mcdossi
Join Date:
Jun 2014
Posts:
577
#3
21 Jun 2016, 00:18
See also
help duplicates list
Comment
Post
Cancel
Previous
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment