Hello everyone,
I am doing DID with multiple periods using csdid, after that, I will do power calculations and visualization for pre-trends tests by Jonathan Roth. For this analysis, I require:
1. coefficients (beta)
2. the variance-covariance matrix (sigma)
3. corresponding event-times (t)
The coefficients (beta) and time periods (t) I can obtain using estat event, window (-4 4), however, I don't know how I can obtain the variance-covariance matrix (sigma). Could anyone please help me with the code to generate the variance-covariance matrix?
Many thanks,
I am doing DID with multiple periods using csdid, after that, I will do power calculations and visualization for pre-trends tests by Jonathan Roth. For this analysis, I require:
1. coefficients (beta)
2. the variance-covariance matrix (sigma)
3. corresponding event-times (t)
The coefficients (beta) and time periods (t) I can obtain using estat event, window (-4 4), however, I don't know how I can obtain the variance-covariance matrix (sigma). Could anyone please help me with the code to generate the variance-covariance matrix?
Many thanks,
Comment