Learn R Programming

bsynth

bsynth provides causal inference with a Bayesian synthetic control method.

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

As of 2021-08-21, this package is under development. Please report bugs.

Copy Link

Version

Install

install.packages('bsynth')

Monthly Downloads

205

Version

1.0

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Ignacio Martinez

Last Published

June 25th, 2024

Functions in bsynth (1.0)

.get_par_long

Get Parameter Estimates in Long Format
time_tiles

Time Tiles Plot of Intervention Impact
bsynth-package

The 'bsynth' package.
.get_plot_df2

Prepare Data Frame for Plotting with Multiple Treated Units
bayesianSynth

Create a Bayesian Synthetic Control Object Using Panel Data
.get_plot_df

Returns Data Frame Ready for Plotting with Confidence Intervals
.get_synth_draws_predictor_match

Get Synthetic Draws in Tidy Format for Single Treated Unit (Predictor Match Model)
bayesianFactor

Create a Bayesian Synthetic Control Object Using Panel Data
.get_synth_draws

Get Synthetic Draws in Tidy Format for Single Treated Unit
%>%

Pipe operator
.get_synth_draws3d

Get Synthetic Draws in Tidy Format for Multiple Treated Units (3D Array)
.plot_tau

Plot Treatment Effect Estimate
.makeWide

Convert Data to Wide Format