Skip to content

Treatment-effects estimation by blop-matching in Stata

License

Notifications You must be signed in to change notification settings

igutierrezm/blopmatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

// 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

help blopmatch

for additional details and examples.

Usage

// 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)

About

Treatment-effects estimation by blop-matching in Stata

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published