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
Implied cost of capital - mm_root with > 10 argumentsDear all, In the course of my Master's thesis I intend to calculate an implied cost of capital (ICC…
For-each loop to sum across groups of observationDear All, I have a dataset structured as follows. It is actually an Input Output (IO) matrix. So yo…
How to drop date row from datasetI had a dataset which didn't contain month or year columns (I imported monthly spss file with no dat…
Stratified Cox regression R vs. Stata - can R do more?Hi I am a regular Stata user, but I'll also looking into solving problems in R. Here, I have problem…
Is there a STATA command to create clusters which are homogenous between them? (inter-cluster homogeneity)I'm currently facing an issue in Stata. So, I kindly ask you, if you can help me. The problem is: I…
Subscribe to:
Post Comments (Atom)
0 Response to duplicates
Post a Comment