cfid: Identification of Counterfactual Queries in Causal Models

Facilitates the identification of counterfactual queries in structural causal models via the ID* and IDC* algorithms by Shpitser, I. and Pearl, J. (2007, 2008) <arXiv:1206.5294>, <https://jmlr.org/papers/v9/shpitser08a.html>. Provides a simple interface for defining causal diagrams and counterfactual conjunctions. Construction of parallel worlds graphs and counterfactual graphs is carried out automatically based on the counterfactual query and the causal diagram. See Tikka, S. (2023) <doi:10.32614/RJ-2023-053> for a tutorial of the package.

Package details

AuthorSanttu Tikka [aut, cre] (<https://orcid.org/0000-0003-4039-4342>)
MaintainerSanttu Tikka <santtuth@gmail.com>
LicenseGPL (>= 3)
Version0.1.7
URL https://github.com/santikka/cfid
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("cfid")

Try the cfid package in your browser

Any scripts or data that you put into this service are public.

cfid documentation built on Nov. 27, 2023, 5:09 p.m.