Package: pensynth 0.8.2
pensynth: Penalized Synthetic Control Estimation
Estimate penalized synthetic control models and perform hold-out validation to determine their penalty parameter. This method is based on the work by Abadie & L'Hour (2021) <doi:10.1080/01621459.2021.1971535>. Penalized synthetic controls smoothly interpolate between one-to-one matching and the synthetic control method.
Authors:
pensynth_0.8.2.tar.gz
pensynth_0.8.2.zip(r-4.7)pensynth_0.8.2.zip(r-4.6)pensynth_0.8.2.zip(r-4.5)
pensynth_0.8.2.tgz(r-4.6-any)pensynth_0.8.2.tgz(r-4.5-any)
pensynth_0.8.2.tar.gz(r-4.7-any)pensynth_0.8.2.tar.gz(r-4.6-any)
pensynth_0.8.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
pensynth/json (API)
| # Install 'pensynth' in R: |
| install.packages('pensynth', repos = c('https://vankesteren.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vankesteren/pensynth/issues
Last updated from:a0b61803e2. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 137 | ||
| source / vignettes | OK | 155 | ||
| linux-release-x86_64 | OK | 175 | ||
| macos-release-arm64 | OK | 85 | ||
| macos-oldrel-arm64 | OK | 108 | ||
| windows-devel | OK | 98 | ||
| windows-release | OK | 74 | ||
| windows-oldrel | OK | 88 | ||
| wasm-release | OK | 117 |
Exports:cv_pensynthin_convex_hullpensynthplacebo_testsimulate_datasimulate_data_factorsimulate_data_synth
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Hold-out validated penalized synthetic control estimator | cv_pensynth |
| Check whether treated unit is in the convex hull of donors | in_convex_hull |
| Penalized synthetic control estimator | pensynth |
| Placebo permutation test for pensynth | placebo_test placebo_test.cvpensynth placebo_test.pensynth |
| Plotting for hold-out validated penalized synthetic control objects | plot.cvpensynth |
| Plotting a pensynth permutation object | plot.pensynthtest |
| Create prediction from cvpensynth model | predict.cvpensynth |
| Create prediction from pensynth model | predict.pensynth |
| Print cvpensynth model | print.cvpensynth |
| Print pensynth model | print.pensynth |
| Simulate data according to factor model | simulate_data_factor |
| Simulate data according to synthetic control model | simulate_data simulate_data_synth |
