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>, <>. 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.

Version: 0.1.4
Suggests: covr, dagitty, igraph, mockery, testthat (≥ 3.0.0)
Published: 2022-10-26
Author: Santtu Tikka ORCID iD [aut, cre]
Maintainer: Santtu Tikka <santtuth at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: NEWS
CRAN checks: cfid results


Reference manual: cfid.pdf


Package source: cfid_0.1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cfid_0.1.4.tgz, r-oldrel (arm64): cfid_0.1.4.tgz, r-release (x86_64): cfid_0.1.4.tgz, r-oldrel (x86_64): cfid_0.1.4.tgz
Old sources: cfid archive


Please use the canonical form to link to this page.