Hi all,
I am using duplicates tag to check the unique fyear and cusip_m combination and the dup is the used to tag the duplicates. Please see attached
Could someone please explain why some of the combination is not uniquely identified although I have different years?
The command I use are:
duplicates tag fyear cusip_m,gen(dup)
count if dup==1
Thanks in advance,
Michelle
Related Posts with duplicates
Time fixed effect and State fixed effectDear all, I am pretty much new for STATA. I'm currently working on my master's thesis. I want to inv…
Control variables in interaction functionHello fellow stata users! I have a more theoretical question instead of how to use stata. I was won…
Generate a new variable based on the values of a second variableHi, I'm trying to generate a continuous variable using a comparative dataset where I want the count…
Expxport codebook descriptives to latexHello, I have a very simple query that unfortunately I am unable to resolve. I am trying to export …
DID two way fixed effectsDear Statalist Members, PS: I have attached a small portion of my data. By using a repeated cross …
Subscribe to:
Post Comments (Atom)
0 Response to duplicates
Post a Comment