Simulating counterfactuals
2023-06-27Code Available0· sign in to hype
Juha Karvanen, Santtu Tikka, Matti Vihola
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/juhakarvanen/simulating_counterfactualsOfficialIn papernone★ 3
Abstract
Counterfactual inference considers a hypothetical intervention in a parallel world that shares some evidence with the factual world. If the evidence specifies a conditional distribution on a manifold, counterfactuals may be analytically intractable. We present an algorithm for simulating values from a counterfactual distribution where conditions can be set on both discrete and continuous variables. We show that the proposed algorithm can be presented as a particle filter leading to asymptotically valid inference. The algorithm is applied to fairness analysis in credit-scoring.