Compare DID, SDID, Matrix Completion and the Triply Robust Panel Estimator


[Up] [Top]

Documentation for package ‘cfcompare’ version 0.2.1

Help Pages

as_att Coerce estimator output to the cfcompare ATT schema
autoplot.cf_att_tbl Forest plot of ATT estimates across methods
autoplot.cf_comparison Forest plot of ATT estimates across methods
autoplot.cf_rmse_curve Line plot of estimation RMSE versus a design dimension
autoplot.cf_rmse_curves Autoplot for paired RMSE curves
autoplot.cf_rmse_tbl Bar chart of out-of-sample RMSE across methods
autoplot.cf_se_comparison Plot a TROP standard-error comparison
autoplot.cf_trop_grid Heatmap of the TROP penalty-sensitivity grid
autoplot.trop Synthetic-control-style trajectory plot for a single TROP fit
autoplot.trop_event_study Event-study plot for a TROP fit
autoplot.trop_placebo_test Plot a TROP placebo test
bind_att Stack ATT results into one comparison table
compare_se_modes Compare TROP standard-error methods on one fit
counterfactual_matrix Estimated counterfactual (untreated potential outcome) matrix
format.trop_ablation Render a TROP ablation table as paste-ready LaTeX or Markdown
panel_compare Compare DID, SDID, MC and TROP on the same panel
panel_matrices Reshape a long panel into TROP matrices
panel_rmse Out-of-sample RMSE across panel estimators
plot.cf_rmse_curve Plot one or both estimation-RMSE curves
plot.cf_rmse_curves Plot one or both estimation-RMSE curves
plot.trop_ablation Penalty ablation for the TROP estimator
plot_counterfactual Plot observed vs predicted counterfactual trajectories
plot_trop_surfaces Base-R surface views of a TROP penalty-sensitivity grid
predict_counterfactual Estimated counterfactual (untreated potential outcome) matrix
print.trop_ablation Penalty ablation for the TROP estimator
print.trop_placebo_test Placebo (randomisation) test for a TROP ATT
rmse_curve Estimation-RMSE curve over one design dimension
rmse_curves Estimation-RMSE curves over both design dimensions
selected_lambda CV-selected penalties from a TROP penalty-sensitivity grid
sim_panel Simulate a panel from a low-rank factor model
sim_semisynthetic Build a semi-synthetic panel from real data
surface_matrix Surface matrix from a TROP penalty-sensitivity grid
trop Triply RObust Panel (TROP) estimator
trop_ablation Penalty ablation for the TROP estimator
trop_control Control settings for 'trop()'
trop_event_study Per-period (event-study) effects from a TROP fit
trop_matrix TROP estimate on matrix input
trop_placebo_test Placebo (randomisation) test for a TROP ATT
trop_sensitivity TROP penalty-sensitivity grid (heatmap data)
true_att True ATT of a (semi-)synthetic panel