Graphical models: selecting causal and statistical models