Package: SCtools 0.3.3
Bruno Castanho Silva
SCtools: Extensions for Synthetic Controls Analysis
Extends the functionality of the package 'Synth' as detailed in Abadie, Diamond, and Hainmueller (2011) <doi:10.18637/jss.v042.i13>. Includes generating and plotting placebos, post/pre-MSPE (Mean Squared Prediction Error) significance tests and plots, and calculating average treatment effects for multiple treated units.
Authors:
SCtools_0.3.3.tar.gz
SCtools_0.3.3.zip(r-4.5)SCtools_0.3.3.zip(r-4.4)SCtools_0.3.3.zip(r-4.3)
SCtools_0.3.3.tgz(r-4.4-any)SCtools_0.3.3.tgz(r-4.3-any)
SCtools_0.3.3.tar.gz(r-4.5-noble)SCtools_0.3.3.tar.gz(r-4.4-noble)
SCtools_0.3.3.tgz(r-4.4-emscripten)SCtools_0.3.3.tgz(r-4.3-emscripten)
SCtools.pdf |SCtools.html✨
SCtools/json (API)
NEWS
# Install 'SCtools' in R: |
install.packages('SCtools', repos = c('https://bcastanho.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bcastanho/sctools/issues
- alcohol - World Alcohol per Capita Consumption
- synth.data - Synth Data Synthetic data that can be used to explore SCtools.
Last updated 7 months agofrom:64cdd39a6f. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-win | NOTE | Oct 29 2024 |
R-4.5-linux | NOTE | Oct 29 2024 |
R-4.4-win | OK | Oct 29 2024 |
R-4.4-mac | OK | Oct 29 2024 |
R-4.3-win | OK | Oct 29 2024 |
R-4.3-mac | OK | Oct 29 2024 |
Exports:generate_placebosgenerate.placebosis_tdfis_tdf_multimspe_plotmspe_testmspe.plotmspe.testmultiple_synthmultiple.synthplac_distplac.distplot_placebos
Dependencies:clicodetoolscolorspacecpp11cvToolsDEoptimRdigestdplyrfansifarverfurrrfuturegenericsggplot2globalsgluegtableisobandkernlablabelinglatticelifecyclelistenvmagrittrMASSMatrixmgcvmunsellnlmenloptrnumDerivoptimxparallellypillarpkgconfigpracmapurrrR6RColorBrewerrgenoudrlangrobustbasescalesstringistringrSynthtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
SCTools: Tools for Synthetic Control Methods | SCtools-package SCtools |
World Alcohol per Capita Consumption | alcohol |
Function to generate placebo synthetic controls | generate.placebos generate_placebos |
Test if the object is a tdf object | is_tdf |
Test if the object is a tdf_multi object | is_tdf_multi |
Plot the post/pre-treatment MSPE ratio | mspe.plot mspe_plot |
Function to compute the post/pre treatment MSPE ratio for the treated unit and placebos | mspe.test mspe_test |
Function to Apply Synthetic Controls to Multiple Treated Units | multiple.synth multiple_synth |
Plot the distribution of placebo samples for synthetic control analysis with multiple treated units. | plac.dist plac_dist |
Function to plot placebos of a synthetic control analysis | plot_placebos |
Synth Data Synthetic data that can be used to explore SCtools. | synth.data |