Dear all, I would like to analyze whether a change in CFO has a significant impact on Discretionary Accruals of a company. I am a bit stuck when it comes to creating the control group for the 135 observations where a CFO change has taken place.
The data set contains following relevant variables:
So for each of the 135 observations where Group == 1 I need to find one matching observation, which has the same Industry, the same Accounting Standard (acd) and the closest ROA (if necessary including a range of acceptable deviation,e.g. 5%). The reason why I only want one matching observation is because that is how it was done in the paper I am leaning on.
I am not sure how to proceed, I tried teffects nnmatch but even if it were the right way to go, I wasn't able to include any criteria in the command in order to have the closest ROAt matched. I would really appreciate any help or guidance I can get.
The data set contains following relevant variables:
- Company
- year
- Industry
- acd (a Dummy indicating the accounting standard)
- ROAt (Return on assets)
- Group (a Dummy indicating whether the company is affected by a change of CFO or not)
- DA (discretionary accruals)
So for each of the 135 observations where Group == 1 I need to find one matching observation, which has the same Industry, the same Accounting Standard (acd) and the closest ROA (if necessary including a range of acceptable deviation,e.g. 5%). The reason why I only want one matching observation is because that is how it was done in the paper I am leaning on.
I am not sure how to proceed, I tried teffects nnmatch but even if it were the right way to go, I wasn't able to include any criteria in the command in order to have the closest ROAt matched. I would really appreciate any help or guidance I can get.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str29 Company str18 Ind int yr byte(acd Group) long(comp ind acc) float DA long(ROAt ROAt1) "CHAM PAPER GROUP HOLDING" "Basic Materials" 2006 1 0 46 1 1 -.0110244 35 34 "CPH CHEMIE+PAPIER HLDG." "Basic Materials" 2006 0 0 56 1 2 -.008352783 716 724 "GIVAUDAN 'N'" "Basic Materials" 2006 1 1 77 1 1 .04223541 982 977 "EMS-CHEMIE 'N'" "Basic Materials" 2006 1 0 67 1 1 .013005187 1158 1114 "SCHMOLZ+BICKENBACH" "Basic Materials" 2006 0 0 149 1 2 .02414643 820 1151 "CLARIANT" "Basic Materials" 2007 1 1 51 1 1 -.05833853 317 311 "GIVAUDAN 'N'" "Basic Materials" 2007 1 0 77 1 1 -.009050042 308 358 "CPH CHEMIE+PAPIER HLDG." "Basic Materials" 2007 0 0 56 1 2 -.003814873 601 627 "SCHMOLZ+BICKENBACH" "Basic Materials" 2007 0 0 149 1 2 -.0010533907 872 956 "EMS-CHEMIE 'N'" "Basic Materials" 2007 1 0 67 1 1 .012165825 1145 1099 "CLARIANT" "Basic Materials" 2008 1 0 51 1 1 -.010936338 12 11 "GIVAUDAN 'N'" "Basic Materials" 2008 1 0 77 1 1 -.02204232 331 313 "SCHMOLZ+BICKENBACH" "Basic Materials" 2008 0 0 149 1 2 .04708272 383 374 "CPH CHEMIE+PAPIER HLDG." "Basic Materials" 2008 0 0 56 1 2 -.006268527 454 434 "GURIT HOLDING" "Basic Materials" 2008 1 1 82 1 1 -.02049125 609 468 "EMS-CHEMIE 'N'" "Basic Materials" 2008 1 0 67 1 1 -.004758666 1151 967 "SYNGENTA" "Basic Materials" 2008 1 1 171 1 1 -.019291876 1048 1032 "ZWAHLEN &.MAYR" "Basic Materials" 2009 1 1 204 1 1 -.01324626 10 6 "CLARIANT" "Basic Materials" 2009 1 0 51 1 1 -.018284952 52 55 "SCHMOLZ+BICKENBACH" "Basic Materials" 2009 1 0 149 1 1 -.00679974 118 107 end label values comp comp label def comp 46 "CHAM PAPER GROUP HOLDING", modify label def comp 51 "CLARIANT", modify label def comp 56 "CPH CHEMIE+PAPIER HLDG.", modify label def comp 67 "EMS-CHEMIE 'N'", modify label def comp 77 "GIVAUDAN 'N'", modify label def comp 82 "GURIT HOLDING", modify label def comp 149 "SCHMOLZ+BICKENBACH", modify label def comp 171 "SYNGENTA", modify label def comp 204 "ZWAHLEN &.MAYR", modify label values ind ind label def ind 1 "Basic Materials", modify label values acc acc label def acc 1 "IFRS", modify label def acc 2 "Local standards", modify label values ROAt roat label def roat 10 "-.0050583805575628", modify label def roat 12 "-.006123490389522", modify label def roat 35 "-.0197317947810028", modify label def roat 52 "-.0342363303972079", modify label def roat 118 "-.135820992766688", modify label def roat 308 ".0122046221760582", modify label def roat 317 ".0140825432236475", modify label def roat 331 ".0160311958405546", modify label def roat 383 ".0250358028616852", modify label def roat 454 ".0328532833955408", modify label def roat 601 ".0457198084740636", modify label def roat 609 ".0462843234197916", modify label def roat 716 ".0562583169364103", modify label def roat 820 ".0689808159968209", modify label def roat 872 ".0750474588442061", modify label def roat 982 ".090708938793483", modify label def roat 1048 ".100293679848734", modify label def roat 1145 ".125111440520236", modify label def roat 1151 ".126749741028453", modify label def roat 1158 ".127947792107905", modify label values ROAt1 roat1 label def roat1 6 "-.0038232123607618", modify label def roat1 11 "-.0050195203569437", modify label def roat1 34 "-.0193693048995754", modify label def roat1 55 "-.0350399727844872", modify label def roat1 107 "-.110296216216216", modify label def roat1 311 ".014227355965629", modify label def roat1 313 ".0144118410802389", modify label def roat1 358 ".0206957287538529", modify label def roat1 374 ".0244043592708893", modify label def roat1 434 ".0322470149167212", modify label def roat1 468 ".0354003262032641", modify label def roat1 627 ".0493374884842419", modify label def roat1 724 ".0602307970498307", modify label def roat1 956 ".0915344873837046", modify label def roat1 967 ".0935252560979325", modify label def roat1 977 ".0944737445540014", modify label def roat1 1032 ".104716146994643", modify label def roat1 1099 ".121879928042513", modify label def roat1 1114 ".126581896006921", modify label def roat1 1151 ".137851444457875", modify
Comment