Package: tidysynth 0.2.0

Eric Dunford

tidysynth: A Tidy Implementation of the Synthetic Control Method

A synthetic control offers a way of evaluating the effect of an intervention in comparative case studies. The package makes a number of improvements when implementing the method in R. These improvements allow users to inspect, visualize, and tune the synthetic control more easily. A key benefit of a tidy implementation is that the entire preparation process for building the synthetic control can be accomplished in a single pipe.

Authors:Eric Dunford [aut, cre]

tidysynth_0.2.0.tar.gz
tidysynth_0.2.0.tar.gz(r-4.5-noble)tidysynth_0.2.0.tar.gz(r-4.4-noble)
tidysynth_0.2.0.tgz(r-4.4-emscripten)tidysynth_0.2.0.tgz(r-4.3-emscripten)
tidysynth.pdf |tidysynth.html
tidysynth/json (API)
NEWS

# Install 'tidysynth' in R:
install.packages('tidysynth', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.53 score 68 scripts 735 downloads 18 exports 43 dependencies

Last updated 2 years agofrom:b6e990ee54. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-linuxOKNov 17 2024

Exports:%>%generate_controlgenerate_predictorgenerate_weightsgrab_balance_tablegrab_lossgrab_outcomegrab_predictor_weightsgrab_predictorsgrab_significancegrab_synthetic_controlgrab_unit_weightsplot_differencesplot_mspe_ratioplot_placebosplot_trendsplot_weightssynthetic_control

Dependencies:clicolorspacecpp11dplyrfansifarverforcatsgenericsggplot2gluegtableisobandkernlablabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmenloptrnumDerivoptimxpillarpkgconfigpracmapurrrR6RColorBrewerrgenoudrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
generate_controlgenerate_control
generate_predictorgenerate_predictor
generate_weightsgenerate_weights
grab_balance_tablegrab_balance_table
grab_lossgrab_loss
grab_outcomegrab_outcome
grab_predictor_weightsgrab_predictor_weights
grab_predictorsgrab_predictors
grab_significancegrab_significance
grab_synthetic_controlgrab_synthetic_control
grab_unit_weightsgrab_unit_weights
plot_differenceplot_differences
plot_mspe_ratioplot_mspe_ratio
plot_placebosplot_placebos
plot_trendsplot_trends
plot_weightsplot_weights
smoking datasetsmoking
synth_methodsynth_method
synth_weightssynth_weights
synthetic_controlsynthetic_control