Skip to content

remlapmot/bpbounds-stata

Repository files navigation

Balke-Pearl nonparametric bounds for the average causal effect implemented in Stata

The bpbounds command and its immediate form, bpboundsi, calculate the nonparametric bounds for the average causal effect (ACE) of Balke & Pearl (1997) for the all binary instrumental variable model (i.e. exposure/treatment X, outcome Y, and instrumental variable Z all binary).

The commands also calculate the bounds on the intervention probabilities; P(Y|do(X=0)), P(Y|do(X=1)); and the causal risk ratio.

The commands calculate these quantities for several extensions (Ramsahai, 2007 & 2008):

  • bivariate/marginal data (bpboundsi only),
  • models with a three category instrument,
  • assuming a monotonic effect of Z on X.

Installation

To install, issue in Stata (in versions 13 and above):

net install bpbounds, from("https://raw.github.com/remlapmot/bpbounds-stata/master/") 

References

About

Balke-Pearl nonparametric bounds for the average causal effect implemented in Stata

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages