Package: ppsynth 0.2.1
ppsynth: Partial-Pooling Synthetic Control with Multiple Outcomes
Synthetic control for studies with several outcomes. Each outcome receives its own donor weights, their dispersion around a common centroid is penalized, no single penalty is ever selected (the estimator aggregates over a penalty grid by leave-one-out exponential weighting), and the resulting mass profile reports how much pooling the data support. One call returns the per-outcome effects, the weights, the realized pooling, and whole-pipeline placebo p-values. Implements the estimator of Grier (2026) "Correlated Weights: Partial Pooling for Synthetic Control with Multiple Outcomes" <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7149398>, the common-weights corner of which is the estimator of Sun, Ben-Michael and Feller (2025) <doi:10.1162/rest_a_01592>. The compiled engine and a pure-R reference engine are certified against the Python engine behind the 'Stata' command 'ppsynth'.
Authors:
ppsynth_0.2.1.tar.gz
ppsynth_0.2.1.zip(r-4.7-x86_64)ppsynth_0.2.1.zip(r-4.7-arm64)ppsynth_0.2.1.zip(r-4.6-x86_64)ppsynth_0.2.1.zip(r-4.6-arm64)
ppsynth_0.2.1.tar.gz(r-4.7-arm64)ppsynth_0.2.1.tar.gz(r-4.7-x86_64)ppsynth_0.2.1.tar.gz(r-4.6-arm64)ppsynth_0.2.1.tar.gz(r-4.6-x86_64)
ppsynth_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ppsynth/json (API)
| # Install 'ppsynth' in R: |
| install.packages('ppsynth', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/angusgrier/ppsynth/issues
- germany_panel - German reunification panel
- ppsynth_test_panel - Small simulated test panel
Last updated from:e60c21bd27. Checks:10 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 112 | ||
| linux-devel-x86_64 | OK | 129 | ||
| source / vignettes | OK | 168 | ||
| linux-release-arm64 | OK | 102 | ||
| linux-release-x86_64 | OK | 127 | ||
| windows-devel-arm64 | OK | 198 | ||
| windows-devel-x86_64 | OK | 151 | ||
| windows-release-arm64 | OK | 194 | ||
| windows-release-x86_64 | OK | 109 | ||
| wasm-release | OK | 89 |
Exports:fit_ppsynthFITTABILITY_THRESHOLDLAM_GRID_DEFAULTplacebo_inferenceppsynthppsynth_selftest
Dependencies:Rcpp
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Fit the partial-pooling synthetic control (matrix interface) | fit_ppsynth |
| Fittability threshold | FITTABILITY_THRESHOLD |
| German reunification panel | germany_panel |
| Default lambda grid | LAM_GRID_DEFAULT |
| Whole-pipeline placebo inference (matrix interface) | placebo_inference |
| Plot a ppsynth fit | plot.ppsynth |
| Partial-pooling synthetic control with multiple outcomes | ppsynth |
| Run the ppsynth self-tests | ppsynth_selftest |
| Small simulated test panel | ppsynth_test_panel |
| Print a ppsynth fit | print.ppsynth |
