Influence Diagrams for Statistical Modelling