Skip to content

causaleffect: R package for identifying causal effects.

Notifications You must be signed in to change notification settings

altdeep/causaleffect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

causaleffect: an R package for causal effect effect identification

Functions for identification and transportation of causal effects. Provides a conditional causal effect identification algorithm (IDC) by Shpitser, I. and Pearl, J. (2006) http://ftp.cs.ucla.edu/pub/stat_ser/r329-uai.pdf, an algorithm for transportability from multiple domains with limited experiments by Bareinboim, E. and Pearl, J. (2014) http://ftp.cs.ucla.edu/pub/stat_ser/r443.pdf and a selection bias recovery algorithm by Bareinboim, E. and Tian, J. (2015) http://ftp.cs.ucla.edu/pub/stat_ser/r445.pdf. All of the previously mentioned algorithms are based on a causal effect identification algorithm by Tian , J. (2002) http://ftp.cs.ucla.edu/pub/stat_ser/r309.pdf.

For details, see the package vignettes at CRAN and the paper Identifying Causal Effects with the R Package causaleffect

Installation

You can install the latest release version from CRAN:

install.packages("causaleffect")

Alternatively, you can install the latest development version by using the devtools package:

install.packages("devtools")
devtools::install_github("santikka/causaleffect")

Recent changes (for all changes, see NEWS file).

Changes from version 1.3.12 to 1.3.13

  • Fixed an incorrect graph definition in the IDC algorithm.

Changes from version 1.3.11 to 1.3.12

  • The package no longer depends on the 'ggm' package.
  • The package no longer requires the 'XML' package, now suggests instead.

Changes from version 1.3.10 to 1.3.11

  • Fixed inconsistency with function arguments when computing causal effects with surrogate experiments using 'aux.effect'.
  • Fixed a rare issue with simplification.

Changes from version 1.3.9 to 1.3.10

  • Fixed a bug with simplification.

Changes from version 1.3.8 to 1.3.9

  • Added a new parameter 'stop_on_nonid' to all identifiability algorithms. Value 'TRUE' mimics old functionality, where an error is produced when a non-identifiable effect is discovered. Value 'FALSE' continues the recursion.
  • Fixed a bug in the recoverability algorithm.
  • Fixed a bug in the transportability algorithm.
  • Fixed a bug related to identification using surrogate outcomes.

Changes from version 1.3.7 to 1.3.8

  • Added a new function 'surrogate.outcome' to compute causal effects using surrogate outcomes.

Changes from version 1.3.6 to 1.3.7

  • Fixed an issue with simplification introduced in version 1.3.6.

About

causaleffect: R package for identifying causal effects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%