Here's a weird one you guys might be able to help me out with.
I have 4 variables: id, id_2, year, month.
When I try
I get that they do not uniquely identify. However, they should, so I explored more and ran
and then tabbed the count, finding that there were ~3000 observations that were repeats and 2.8 mil that were unique.
However, when I look at the supposed repeats, I see this (attached picture). Look at the first two rows. Clearly they are unique. Yet Stata disagrees.
Thoughts? I'm stumped.
I have 4 variables: id, id_2, year, month.
When I try
Code:
isid id id_2 year month
Code:
bysort id id_2 year month: gen count=_n
However, when I look at the supposed repeats, I see this (attached picture). Look at the first two rows. Clearly they are unique. Yet Stata disagrees.
Thoughts? I'm stumped.
Comment