Hi everyone, I need your precious help to check parallel trends assumption. I am studying the impact of a directive on cash holdings of firms. I tried to generate the parallel trends graph but my Professor is not convinced about the results. I launched the following commands on Stata, with NFRD which is 0 when the directive does not apply for a company and 1 when the directive applies for a company; dummyT which is an indicator for whether or not the Directive has been established:
egen sumtreat = sum(NFRD), by(CompanyName)
gen Treated = sumtreat > 0
generate InteractionDID = dummyT*NFRD
drop sumtreat
preserve
collapse (mean) CashandEquivalents, by(Treated YEAR)
reshape wide CashandEquivalents, i(YEAR) j(Treated)
graph twoway connect CashandEquivalents* YEAR
restore
could you please tell me if the procedure is the correct one?
Thanks a lot for the responses!
egen sumtreat = sum(NFRD), by(CompanyName)
gen Treated = sumtreat > 0
generate InteractionDID = dummyT*NFRD
drop sumtreat
preserve
collapse (mean) CashandEquivalents, by(Treated YEAR)
reshape wide CashandEquivalents, i(YEAR) j(Treated)
graph twoway connect CashandEquivalents* YEAR
restore
could you please tell me if the procedure is the correct one?
Thanks a lot for the responses!
Comment