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
Endogeneity & dropping of constraintsHi, I am doing Durbin–Wu–Hausman test to test my independent variables for endogeniety. My data is…
How to perform NLS estimation with a complex functionDear Stata users, I need to use NLS to estimate the following equation describing the so-called Ba…
Confidence-interval plots / any plot : resize possible?Dear Statalisters My question, basically, is whether there is a 'correct' way to resize Stata graph…
Hausman test/Estimating pmg,mg, dfe Good afternoon I am estimating a dynamic model with pmg, mg and dfe. the study has to do with the …
Subsample dataset under multiple conditionsWindows 10 Stata 16 Code: * Example generated by -dataex-. To install: ssc install dataex clear in…
Subscribe to:
Post Comments (Atom)
0 Response to duplicates
Post a Comment