Hi, I'm doing a research project about M&A and cumulative abnormal returns. I'm trying to combine two datasets. The master dataset is as following:
The using dataset is:
In the sample above, because the car3 is missing in the master dataset, I want to merge both to get the car3 from the using dataset. I use the "merge m:m" command, because I have many observations with the same ticker on both datasets. However, the ann_date is unique. When I merge them however, the tickers and date are matched, but the car3 is still missing. I have done the same for another variable and it worked, so I do not understand what I may be doing wrong.
What could be an explanation for this?
Thanks.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str9 acquirerticker float(ann_date car3) "KO" 20306 . "KORI" 19680 . "KORS" 21025 . "KR" 19906 -.00834288 "LBRDK" 22095 -.008002553 "LBTYK" 19750 . "LBTYK" 20383 . end format %td ann_date
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str5 acquirerticker float(ann_date car3) "AT" 21713 .016792996 "KO" 20306 .006925078 "CELG" 20132 -.033690315 "NXPI" 20149 .1653411 "UAN" 20310 -.01679787 end format %td ann_date
What could be an explanation for this?
Thanks.
Comment