5. Simulation module#
We provide functions for simulating structural causal models starting from a causal graph. This is useful for testing causal discovery algorithms, which assume an underlying graph exists and then data is generated faithful to that graph.
5.1. pywhy_graphs.simulate
: Causal graphical model simulations#
Simulate a linear VAR process of a "stationary" causal graph. |
|
|
Simulate data from an already set VAR process. |
Simulate a VAR(max_lag) process starting from a summary graph. |