Identifying Counterfactual Queries with the R Package cfid

10/26/2022
by   Santtu Tikka, et al.
0

In the framework of structural causal models, counterfactual queries describe events that concern multiple alternative states of the system under study. Counterfactual queries often take the form of "what if" type questions such as "would an applicant have been hired if they had over 10 years of experience, when in reality they only had 5 years of experience?" Such questions and counterfactual inference in general are crucial, for example when addressing the problem of fairness in decision-making. Because counterfactual events contain contradictory states of the world, it is impossible to conduct a randomized experiment to address them without making several restrictive assumptions. However, it is sometimes possible to identify such queries from observational and experimental data by representing the system under study as a causal model, and the available data as symbolic probability distributions. Shpitser and Pearl (2007) constructed two algorithms, called ID* and IDC*, for identifying counterfactual queries and conditional counterfactual queries, respectively. These two algorithms are analogous to the ID and IDC algorithms by Shpitser and Pearl (2006) for identification of interventional distributions, which were implemented in R by Tikka and Karvanen (2017) in the causaleffect package. We present the R package cfid that implements the ID* and IDC* algorithms. Identification of counterfactual queries and the features of cfid are demonstrated via examples.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/27/2021

VACA: Design of Variational Graph Autoencoders for Interventional and Counterfactual Queries

In this paper, we introduce VACA, a novel class of variational graph aut...
research
10/12/2021

Partial Counterfactual Identification from Observational and Experimental Data

This paper investigates the problem of bounding counterfactual queries f...
research
09/17/2023

Answering Layer 3 queries with DiscoSCMs

In the realm of causal inference, the primary frameworks are the Potenti...
research
09/30/2022

Neural Causal Models for Counterfactual Identification and Estimation

Evaluating hypothetical statements about how the world would be had a di...
research
07/07/2021

Nested Counterfactual Identification from Arbitrary Surrogate Experiments

The Ladder of Causation describes three qualitatively different types of...
research
06/16/2021

Model-Based Counterfactual Synthesizer for Interpretation

Counterfactuals, serving as one of the emerging type of model interpreta...
research
04/02/2020

Identification Methods With Arbitrary Interventional Distributions as Inputs

Causal inference quantifies cause-effect relationships by estimating cou...

Please sign up or login with your details

Forgot password? Click here to reset