synth-inference / synthdid

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

how to examine the significance of variables #119

Open changshengspecial opened 7 months ago

changshengspecial commented 7 months ago

Why is there no information about the significance of variables, such as p-values, in the results of the synthetic double difference model obtained using this package (***)

tahokovi commented 5 months ago

You'd have to compute confidence intervals using either the bootstrap, jackknife, or placebo variance algorithms provided in the package. E.g., for SEs and 95% CIs: se = sqrt(vcov(tau.hat, method='placebo')) sprintf('point estimate: %1.2f', tau.hat) sprintf('95%% CI (%1.2f, %1.2f)', tau.hat - 1.96 * se, tau.hat + 1.96 * se)