Skip to main content

Causality Diagram

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

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'.

Examples

Live Editor
Result
ReferenceError: Provider is not defined