synth-inference / synthdid

Synthetic difference in differences
https://synth-inference.github.io/synthdid
BSD 3-Clause "New" or "Revised" License
261 stars 96 forks source link

Summary(model) runs pretty slow #79

Open jhan0317 opened 2 years ago

jhan0317 commented 2 years ago

Hello, the summary function runs quite slow if I do:

model <- synthdid_estimate(setup$Y, setup$N0, setup$T0) summary(model)

davidahirshberg commented 2 years ago

It can be slow.  One of the things it reports is a bootstrap standard error, which takes some computation.

If you call summary(model, fast=TRUE), it should be much faster, but it'll report a jackknife standard error that can be a bit less accurate.  See the documentation for vcov.synthdid_estimate for more on these standard error estimates. On Feb 7, 2022, 11:35 PM -0500, J Han @.***>, wrote:

Hello, the summary function runs quite slow if I do:

model <- synthdid_estimate(setup$Y, setup$N0, setup$T0) summary(model) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>