Causality Diagram

A learning component illustrating the impact of a confounding variable when assessing a causal relationship between two variables and of randomization.

Example#

Live Editor
Result

Options#

  • x | (string|node): name of explanatory variable. Default: 'Lights at Night'.
  • y | (string|node): name of response variable. Default: 'Child Myopia'.
  • z | (string|node): name of confounding variable. Default: 'Parental Myopia'.
Last updated on by Planeshifter