Hello,
I am trying to replicate a regression from Chava and Purnanandam (2010) but results so far are not as expected and I am not sure if my approach is correct.
So far this is my coding:
*1st Drop firms that are not between 2001-2005
drop if fyear <= 2000 | fyear >= 2005
*Changes in policies
gen difflev = booklev_w - booklev_w[_n-1]
gen diffcash = cashta_w - cashta_w[_n-1]
gen diffdebt = debtmat_w - debtmat_w[_n-1]
gen diffcfaccr = cfaccr_w - cfaccr_w[_n-1]
*Changes in incentives
gen diffceod = ceodelta_w - ceodelta_w[_n-1]
gen diffceov = ceovega_w - ceovega_w[_n-1]
gen diffcfod = cfodelta_w - cfodelta_w[_n-1]
gen diffcfov = cfovega_w - cfovega_w[_n-1]
xtile x_diffceod = diffceod, nquantiles(10)
xtile x_diffceov = diffceov, nquantiles(10)
xtile x_diffcfod = diffcfod, nquantiles(10)
xtile x_diffcfov = diffcfov, nquantiles(10)
*Control variables
gen difflogta = logta - logta[_n-1]
gen diffrndsales = rndsales_w - rndsales_w[_n-1]
gen diffroa = roa_w - roa_w[_n-1]
*Regression1
reg difflev x_diffcfod x_diffcfov difflogta diffrndsales diffroa , clu(gvkey)
*Regression2
reg diffcash x_diffceod x_diffceov difflogta diffrndsales diffroa , clu(gvkey)
*Regression3
reg diffdebt x_diffceod x_diffceov difflogta diffrndsales diffroa , clu(gvkey)
*Regression4
reg diffcfaccr x_diffcfod x_diffcfov difflogta diffrndsales diffroa , clu(gvkey)
I leave attatched the parts of the paper that explain how the regression was computed.
I did not subtracted year 2005-2001 because I was not sure if they only used years 2001 and 2005 or from 2001 to 2005
I would appreciate if someone could take a look at my coding and give me a little help
Regards,
I am trying to replicate a regression from Chava and Purnanandam (2010) but results so far are not as expected and I am not sure if my approach is correct.
So far this is my coding:
*1st Drop firms that are not between 2001-2005
drop if fyear <= 2000 | fyear >= 2005
*Changes in policies
gen difflev = booklev_w - booklev_w[_n-1]
gen diffcash = cashta_w - cashta_w[_n-1]
gen diffdebt = debtmat_w - debtmat_w[_n-1]
gen diffcfaccr = cfaccr_w - cfaccr_w[_n-1]
*Changes in incentives
gen diffceod = ceodelta_w - ceodelta_w[_n-1]
gen diffceov = ceovega_w - ceovega_w[_n-1]
gen diffcfod = cfodelta_w - cfodelta_w[_n-1]
gen diffcfov = cfovega_w - cfovega_w[_n-1]
xtile x_diffceod = diffceod, nquantiles(10)
xtile x_diffceov = diffceov, nquantiles(10)
xtile x_diffcfod = diffcfod, nquantiles(10)
xtile x_diffcfov = diffcfov, nquantiles(10)
*Control variables
gen difflogta = logta - logta[_n-1]
gen diffrndsales = rndsales_w - rndsales_w[_n-1]
gen diffroa = roa_w - roa_w[_n-1]
*Regression1
reg difflev x_diffcfod x_diffcfov difflogta diffrndsales diffroa , clu(gvkey)
*Regression2
reg diffcash x_diffceod x_diffceov difflogta diffrndsales diffroa , clu(gvkey)
*Regression3
reg diffdebt x_diffceod x_diffceov difflogta diffrndsales diffroa , clu(gvkey)
*Regression4
reg diffcfaccr x_diffcfod x_diffcfov difflogta diffrndsales diffroa , clu(gvkey)
I leave attatched the parts of the paper that explain how the regression was computed.
I did not subtracted year 2005-2001 because I was not sure if they only used years 2001 and 2005 or from 2001 to 2005
I would appreciate if someone could take a look at my coding and give me a little help
Regards,
Comment