https://github.com/ebenmichael/augsynth
Augmented Synthetic Control Method
https://github.com/ebenmichael/augsynth
Last synced: 2 months ago
JSON representation
Augmented Synthetic Control Method
- Host: GitHub
- URL: https://github.com/ebenmichael/augsynth
- Owner: ebenmichael
- License: mit
- Created: 2018-11-01T17:45:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-31T22:44:23.000Z (5 months ago)
- Last Synced: 2025-01-31T23:26:18.140Z (5 months ago)
- Language: R
- Homepage:
- Size: 6.13 MB
- Stars: 149
- Watchers: 10
- Forks: 56
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# augsynth: Augmented Synthetic Control Method
[](https://travis-ci.org/ebenmichael/augsynth) [](https://www.repostatus.org/#active)[](https://opensource.org/licenses/MIT)## Overview
This package implements the Augmented Synthetic Control Method (ASCM).For a more detailed description of the main functionality check out:
- [the vignette for simultaneous adoption](https://github.com/ebenmichael/augsynth/blob/master/vignettes/singlesynth-vignette.md)
- [the vignette for staggered adoption](https://github.com/ebenmichael/augsynth/blob/master/vignettes/multisynth-vignette.md)## Installation
To install this package, first ensure that `devtools` is installed with```
install.packages("devtools")
```then install the package from GitHub with
```
devtools::install_github("ebenmichael/augsynth")
```## Basic usage
To get started, use a panel dataset with an `outcome` measure, a `treatment` indicator, a `unit` indicator, a `time` variable, and an intervention time `t_int`. Then run```
asyn <- augsynth(outcome ~ trt, unit, time, t_int, data)
```