How to build a statistical model