When causal quantities are not identifiable from the observed data, it still may be possible to bound these quantities using the observed data. We outline a class of problems for which the derivation of tight bounds is always a linear programming problem and can therefore, at least theoretically, be solved using a symbolic linear optimizer. We extend and generalize the approach of Balke and Pearl (1994) <doi:10.1016/B978-1-55860-332-5.50011-0> and we provide a user friendly graphical interface for setting up such problems via directed acyclic graphs (DAG), which only allow for problems within this class to be depicted. The user can then define linear constraints to further refine their assumptions to meet their specific problem, and then specify a causal query using a text interface. The program converts this user defined DAG, query, and constraints, and returns tight bounds. The bounds can be converted to R functions to evaluate them for specific datasets, and to latex code for publication. The methods and proofs of tightness and validity of the bounds are described in a paper by Sachs, Jonzon, Gabriel, and Sjölander (2022) <doi:10.1080/10618600.2022.2071905>.

Version: | 1.0.0 |

Depends: | R (≥ 3.5.0), igraph |

Imports: | shiny, rcdd |

Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |

Published: | 2024-10-17 |

DOI: | 10.32614/CRAN.package.causaloptim |

Author: | Michael C Sachs [aut, cre], Erin E Gabriel [aut], Arvid Sjölander [aut], Gustav Jonzon [aut], Alexander A Balke [ctb] ((C++ code)), Colorado Reed [ctb] ((graph-creator.js)) |

Maintainer: | Michael C Sachs <sachsmc at gmail.com> |

BugReports: | https://github.com/sachsmc/causaloptim/issues/ |

License: | MIT + file LICENSE |

URL: | https://sachsmc.github.io/causaloptim/ |

NeedsCompilation: | no |

Citation: | causaloptim citation info |

Materials: | README NEWS |

In views: | CausalInference |

CRAN checks: | causaloptim results |

Reference manual: | causaloptim.pdf |

Vignettes: |
Code from examples in manuscript (source, R code) How to use the causaloptim Shiny app to analyze graphs (source, R code) Improving the speed of computing causal bounds (source, R code) |

Package source: | causaloptim_1.0.0.tar.gz |

Windows binaries: | r-devel: causaloptim_1.0.0.zip, r-release: causaloptim_1.0.0.zip, r-oldrel: causaloptim_1.0.0.zip |

macOS binaries: | r-release (arm64): causaloptim_1.0.0.tgz, r-oldrel (arm64): causaloptim_1.0.0.tgz, r-release (x86_64): causaloptim_1.0.0.tgz, r-oldrel (x86_64): causaloptim_1.0.0.tgz |

Old sources: | causaloptim archive |

Please use the canonical form
`https://CRAN.R-project.org/package=causaloptim`
to link to this page.