Notebook’s tools for causality
Visualization helpers for causal models in Jupyter notebooks. These functions render
pyagrum.CausalModel instances and causal inference results as graphical outputs.
return a HTML representing the causal model |
|
Shows a pydot svg representation of the causal DAG |
|
return a HTML representing of the three values defining a causal impact : formula, value, explanation |
|
display a HTML representing of the three values defining a causal impact : formula, value, explanation |
|
return an HTML representation of a causal impact drawn on its causal model: the histogram of P(on | do(doing), knowing) on the impacted variable, the values of the interventions and of the observations, and the colors of the variables used by the formula of the do-calculus (see |
|
show a causal impact drawn on its causal model: the histogram of P(on | do(doing), knowing) on the impacted variable, the values of the interventions and of the observations, and the colors of the variables used by the formula of the do-calculus (see |