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
New version of xsvmat on SSCThanks once again to Kit Baum, a new version of the xsvmat package is now available for download fro…
A quick question about weird question marks in a string variableHello, I am using Stata 15.1. I have a string variable - student-teacher ratio (see data below). for…
Using loop for regression and saving results as a new variableHappy new year to Satatlist! I'm stuck with an old problem (using loop for regression). The variab…
type mismatch error when using "replace" functionHi everyone, I am using STATA version 14.0 and am hoping to replace missing observations using: "re…
New version of xcontract on SSCThanks as always to Kit Baum, a new version of the xcontract package is now available for download f…
Subscribe to:
Post Comments (Atom)
0 Response to duplicates
Post a Comment