| did_fatalities_splm_coef | R Documentation |
Example data frame with results from a difference-in-differences model
data(did_fatalities_splm_coef)
A data.frame with multiple columns:
Coefficient name
Coef. estimate
Coef. standard error
Coef. t value
Coef. p value
Coef. lower confidence interval
Coef. upper confidence interval
Data frame with results from a difference-in-differences model (SPLM model), example data
Wieland T (2025) Assessing the effectiveness of non-pharmaceutical interventions in the SARS-CoV-2 pandemic: results of a natural experiment regarding Baden-Württemberg (Germany) and Switzerland in the second infection wave. Journal of Public Health 33(11), 2497-2511. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1007/s10389-024-02218-x")}
data(did_fatalities_splm_coef)
# Results of a difference-in-differences model
plot_coef_ci(
point_estimates = did_fatalities_splm_coef$Estimate,
confint_lower = did_fatalities_splm_coef$CI_lower_Bonferroni,
confint_upper = did_fatalities_splm_coef$CI_upper_Bonferroni,
coef_names = did_fatalities_splm_coef$Var,
skipvars = c(
"Alpha_share",
"lambda",
"rho",
"log(D_Infections_daily_7dsum_per100000_lag2weeks)",
"vacc_cum_per100000_lag2weeks"
),
lwd = 13,
pch = 19,
auto_color = TRUE
)
# Plot with point estimates and confidence intervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.