Learning Regression Analysis by Simulation