Package: cfid 0.1.7
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.
Authors:
cfid_0.1.7.tar.gz
cfid_0.1.7.zip(r-4.5)cfid_0.1.7.zip(r-4.4)cfid_0.1.7.zip(r-4.3)
cfid_0.1.7.tgz(r-4.4-any)cfid_0.1.7.tgz(r-4.3-any)
cfid_0.1.7.tar.gz(r-4.5-noble)cfid_0.1.7.tar.gz(r-4.4-noble)
cfid_0.1.7.tgz(r-4.4-emscripten)cfid_0.1.7.tgz(r-4.3-emscripten)
cfid.pdf |cfid.html✨
cfid/json (API)
NEWS
# Install 'cfid' in R: |
install.packages('cfid', repos = c('https://santikka.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/santikka/cfid/issues
causal-inferencecausal-modelscausality-algorithmscounterfactualcounterfactualsdirected-acyclic-graphidentifiability
Last updated 4 months agofrom:bd1c99d1b1. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | OK | Nov 10 2024 |
R-4.5-linux | OK | Nov 10 2024 |
R-4.4-win | OK | Nov 10 2024 |
R-4.4-mac | OK | Nov 10 2024 |
R-4.3-win | OK | Nov 10 2024 |
R-4.3-mac | OK | Nov 10 2024 |
Exports:causal_effectcfconjcounterfactual_conjunctioncounterfactual_variabledagexport_graphfunctionalidentifiableimport_graphprobability
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The 'cfid' package | cfid-package |
Causal Effect Identification | causal_effect |
Counterfactual Conjunction | +.counterfactual_conjunction +.counterfactual_variable cf conj counterfactual_conjunction counterfactual_variable format.counterfactual_conjunction format.counterfactual_variable print.counterfactual_conjunction print.counterfactual_variable [.counterfactual_conjunction |
Directed Acyclic Graph | dag print.dag |
Export Graph | export_graph |
Identifying Functional of a Counterfactual Query | format.functional functional print.functional |
Identify a Counterfactual Query | identifiable |
Import Graph | import_graph |
Symbolic Probability Distributions | format.probability print.probability probability |
Query Objects | print.query query |