Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebenmichael/augsynth
Augmented Synthetic Control Method
https://github.com/ebenmichael/augsynth
Last synced: 1 day 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T14:31:50.000Z (2 months ago)
- Last Synced: 2024-09-09T17:15:40.059Z (2 months ago)
- Language: R
- Homepage:
- Size: 6.13 MB
- Stars: 143
- Watchers: 10
- Forks: 52
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# augsynth: Augmented Synthetic Control Method
[![Build Status](https://travis-ci.org/ebenmichael/augsynth.svg?branch=master)](https://travis-ci.org/ebenmichael/augsynth) [![Project Status: Active The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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)
```