asheshrambachan / HonestDiD

Robust inference in difference-in-differences and event study designs
Other
175 stars 45 forks source link

Graphing for estimator from Callaway and Sant’Anna (2020) #44

Closed Hanh7 closed 1 year ago

jonathandroth commented 1 year ago

Hi,

1) Can you please provide a minimal working example of the issue you're having?

2) Based on the information you provided, I'm unsure how you're hoping to use DRDID. As far as I know, DRDID only considers diff-in-diff setups with 2 periods, so it does not produce an event-study. If you want to produce an event-study with dr methods, you can use the did package to estimate an event-study.

J

On Wed, Sep 13, 2023 at 1:43 PM Hanh Pham Nguyen @.***> wrote:

Hi there,

I am working on doubly robust DID (DRDID) estimator learning from Callaway and Sant’Anna (2020) and want to graph pre-trends for my dataset using library(pretrends). The package pretrends requires to have sigma = covariance in the function. However, the result from the DRDID seems not to have covariance matrix. I read that this package can be used for DRDID. Can you give me further instruction?

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/asheshrambachan/HonestDiD/issues/44, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6EXFFRERXCL5ESHCSFY7TX2HWCVANCNFSM6AAAAAA4WZSIKI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hanh7 commented 1 year ago

I have received your message and provided some of my work.

(I closed the issue there and immediately opened an issue in Pretrends, since I realized that I was asking about pretrends not the honestdid, I should put the question in the correct path).

Sorry for inconvenience!

On Thu, 14 Sept 2023 at 00:48, Jonathan Roth @.***> wrote:

Hi,

1) Can you please provide a minimal working example of the issue you're having?

2) Based on the information you provided, I'm unsure how you're hoping to use DRDID. As far as I know, DRDID only considers diff-in-diff setups with 2 periods, so it does not produce an event-study. If you want to produce an event-study with dr methods, you can use the did package to estimate an event-study.

J

On Wed, Sep 13, 2023 at 1:43 PM Hanh Pham Nguyen @.***> wrote:

Hi there,

I am working on doubly robust DID (DRDID) estimator learning from Callaway and Sant’Anna (2020) and want to graph pre-trends for my dataset using library(pretrends). The package pretrends requires to have sigma = covariance in the function. However, the result from the DRDID seems not to have covariance matrix. I read that this package can be used for DRDID. Can you give me further instruction?

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/asheshrambachan/HonestDiD/issues/44, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AE6EXFFRERXCL5ESHCSFY7TX2HWCVANCNFSM6AAAAAA4WZSIKI>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/asheshrambachan/HonestDiD/issues/44#issuecomment-1718061833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQIZP3GEKVCFD2SMHHWIMV3X2HWYVANCNFSM6AAAAAA4WZSIKI . You are receiving this because you modified the open/close state.Message ID: @.***>

-- Warm regards, Hanh Pham.