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
Foreach regression loop - Stata 16Hi, I am trying the 'foreach' command for the first time and cannot figure out the problem in my cod…
Forming portfolios and tracking their performanceDear Statalist members, I am new to Stata and would appreciate any help/insights you could give me,…
Matching data with different time intervalsDear Statalist, For my research, I need to link accounting data with stock price data (both from WR…
Region dummies in fixed effects panel analysisHello, I am very new to both statalist and statistics in general, so I apologise in advance for my v…
6-month Cumulative ReturnDear Statalists, I know there are couple of posts about cumulative returns but unfortunately none of…
Subscribe to:
Post Comments (Atom)
0 Response to duplicates
Post a Comment