Build Status Coverage status CRAN status RStudio_CRAN_mirror_downloads_badge

R package implementing the nonparametric bounds for the average causal effect of Balke and Pearl (1997).


Install the released version of bpbounds from CRAN:


Or install the development version from GitHub with:

# Uncomment the next command if you don't have the remotes packages installed.
# The tidyverse have moved some functions out of the devtools package.
# install.packages("remotes") 

# I call install_github() with these options to build the vignette.
                        build_opts = c("--no-resave-data", "--no-manual"), 
                        build_vignettes = TRUE)

To update the development version of the package, simply run this command again.

Shiny App

There is a Shiny app demonstrating the package at: https://remlapmot.shinyapps.io/bpbounds.

Package website

The helpfiles and vignette are shown on the package website at: https://remlapmot.github.io/bpbounds/.


Tom Palmer (maintainer, tom.palmer@bristol.ac.uk), Roland Ramsahai, Vanessa Didelez, Nuala Sheehan.


Balke A, Pearl J. Bounds on Treatment Effects from studies with imperfect compliance. Journal of the American Statistical Association, 1997, 92, 439, 1171-1176, doi: 10.1080/01621459.1997.10474074.