Causality Apps

Interactive Apps on Causality

We develop several applications using R shiny to illustrate important phenomena in causal inference. We are continuously adding new apps. In case you have an idea for a new app, feel free to add it to the list of causal case studies by opening a new issue.

Collider Bias: The Hairdresser Example

Abstract

This app illustrates the Collider Bias in the context of a Hairdresser example. The app is based on a student project by Alper Duman and Amir Kabiri: Do friendly hairdresser give worse haircuts? Maybe yes - if you consider only hairdressers with good online reviews. Why? Find it out in this app!

Simpson’s Paradox: The Cholesterol Example

Abstract

This app illustrates the Simpson’s Paradox based on the Cholesterol Example in Glymour et al. (2016, Section 1.2). In this example, we want to assess the effect of exercise on cholesterol in various age groups. The scatter plot below suggests that overall more exercise leads to higher cholesterol. However, if we consider each of the age groups separately, the sign of the effect is negative.

Collider Bias: The Movie Star Example

Abstract

This app illustrates the Collider Bias in the context of the Movie Star Example from Cunningham (2021, Section 3.6.1). A CNN blogpost reported that Megan Fox was voted the worst but at the same time the most attractive star in 2009. This suggests the question: Are more attractive actors generally less talented?


References

  • Cunningham, Scott. “Causal inference.” Causal Inference. Yale University Press, 202, available online

  • Glymour, Madelyn, Judea Pearl, and Nicholas P. Jewell. Causal inference in statistics: A primer. John Wiley & Sons, 2016.