Hi everyone,
I hope you're well.
I am hoping to get your guidance on the best way to go about graphing parallels trends after running this:
xtset Firm_ID date
gen Post = 1 if Year>2020
replace Post =1 if Year==2020 & Quarter>3
replace Post = 0 if Post==.
xtile Treat = E_Score
replace Treat=0 if Treat==1
replace Treat=1 if Treat==2
gen DiD = Post * Treat
xtreg Spread Post Treat DiD E_Score Issue_Size Liquidity Maturity RatingScale Firm_Size ROA Firm_Leverage, fe vce(cluster Firm_ID)
I am hoping for the graph to look something like this:
I hope you're well.
I am hoping to get your guidance on the best way to go about graphing parallels trends after running this:
xtset Firm_ID date
gen Post = 1 if Year>2020
replace Post =1 if Year==2020 & Quarter>3
replace Post = 0 if Post==.
xtile Treat = E_Score
replace Treat=0 if Treat==1
replace Treat=1 if Treat==2
gen DiD = Post * Treat
xtreg Spread Post Treat DiD E_Score Issue_Size Liquidity Maturity RatingScale Firm_Size ROA Firm_Leverage, fe vce(cluster Firm_ID)
I am hoping for the graph to look something like this:
Comment