testthat
frameworkgenerate_test_data() function for simulation
studiesscm() and
sp_estimation() with regularizationscm_batch() when
processing non-first unitsInitial release
run_scm_spillover(): Main function for SCM analysis
with spillover effectsscm(): Basic synthetic control method for single
treated unitscm_batch(): Batch SCM estimation for all unitssp_estimation(): Spillover-adjusted treatment effect
estimationvanilla_scm(): Standard SCM without spillover
adjustment for comparisonsp_andrews_te(): Andrews-type test for treatment
effects with confidence intervalssp_andrews_spillover(): Test for presence of spillover
effectsplot_effects(): Plot treatment effects with confidence
intervalsplot_all(): Generate comprehensive visualization
suiteqplot_effects(), qplot_compare(),
qplot_series(), qplot_ci(): Quick plotting
functionssave_all_plots(): Export all plots to filesprint.scm_spillover(): Print method for results
summarysummary.scm_spillover(): Detailed summary with
period-by-period resultsplot.scm_spillover(): S3 plot methodgenerate_test_data(): Generate simulated panel data for
testing