https://github.com/igutierrezm/blopmatch
Treatment-effects estimation by blop-matching in Stata
https://github.com/igutierrezm/blopmatch
blop-matching causal-inference matching stata treatment-effects
Last synced: 5 months ago
JSON representation
Treatment-effects estimation by blop-matching in Stata
- Host: GitHub
- URL: https://github.com/igutierrezm/blopmatch
- Owner: igutierrezm
- License: mit
- Created: 2019-11-15T15:56:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T05:24:38.000Z (over 3 years ago)
- Last Synced: 2025-02-17T23:11:19.344Z (8 months ago)
- Topics: blop-matching, causal-inference, matching, stata, treatment-effects
- Language: Stata
- Homepage:
- Size: 2.67 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blopmatch
blopmatch estimates the average treatment effect and average treatment
effect on the treated from observational data by *blop-matching*, as proposed
by Díaz et al. (2015).## Installation
To install this package in Stata, run the following commands:
```stata
// Uninstall any previous version of the packages lp and blopmatch
capture : ado uninstall lp
capture : ado uninstall blopmatch// Install the new version of the package
local url "https://raw.githubusercontent.com/igutierrezm"
net install blopmatch, from("`url'/blopmatch/master")
```
After installation, type
```stata
help blopmatch
```
for additional details and examples.## Usage
```stata
// Load a sample dataset
webuse cattaneo2// Estimate the average treatment effect of mbsmoke on bweight
blopmatch (bweight mage prenatal1 mmarried fbaby) (mbsmoke)// Refit the above model, but require exact matches on the binary variables
blopmatch (bweight mage) (mbsmoke), ematch(prenatal1 mmarried fbaby)
```