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.7)SCtools_0.3.3.zip(r-4.6)SCtools_0.3.3.zip(r-4.5)
SCtools_0.3.3.tgz(r-4.6-any)SCtools_0.3.3.tgz(r-4.5-any)
SCtools_0.3.3.tar.gz(r-4.7-any)SCtools_0.3.3.tar.gz(r-4.6-any)
SCtools_0.3.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SCtools/json (API)
| # 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 from:64cdd39a6f. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 156 | ||
| source / vignettes | OK | 156 | ||
| linux-release-x86_64 | NOTE | 142 | ||
| macos-release-arm64 | NOTE | 167 | ||
| macos-oldrel-arm64 | NOTE | 147 | ||
| windows-devel | NOTE | 103 | ||
| windows-release | NOTE | 85 | ||
| windows-oldrel | NOTE | 101 | ||
| wasm-release | OK | 122 |
Exports:generate_placebosgenerate.placebosis_tdfis_tdf_multimspe_plotmspe_testmspe.plotmspe.testmultiple_synthmultiple.synthplac_distplac.distplot_placebos
Dependencies:clicodetoolscpp11cvToolsDEoptimRdigestdplyrfarverfurrrfuturegenericsggplot2globalsgluegtableisobandkernlablabelinglatticelifecyclelistenvmagrittrnloptrnumDerivoptimxparallellypillarpkgconfigpracmapurrrR6RColorBrewerrgenoudrlangrobustbaseS7scalesstringistringrSynthtibbletidyrtidyselectutf8vctrsviridisLitewithr
Last update: 2024-04-26
Started: 2019-10-03
Last update: 2019-10-29
Started: 2019-10-02
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 |