All functions

VBB

V-structure bias, binary exposure and binary outcome.

plot_simulate_y_structure()

Plot Y structure bias across range of parameters

plot_simulate_y_structure_optim()

Plot the minimum Y-structure required to explain some association

simulate_y_structure()

Y-structure collider