Statistical Models and Artificial Neural Networks: A Comparison