Central Limit Theorem in action

I had my #lafecon213 students run Monte Carlo simulations in class yesterday using a program we wrote in Stata. After we’d done the general one, I told them to change something about it and see how it affected the sampling distribution of the coefficient estimates. One student decided to run 100,000 repetitions of the simulation, not realizing what a time suck it would be. It took most of the rest of my lecture (surprisingly long, now that I think about it; perhaps I should complain to IT? I just tried it, pretty sure he did 1,000,000 repetitions), but when he finally had a histogram, I put it up on the big screens in my awesome smart classroom, broke into a huge grin and exclaimed, “isn’t it pretty?!”

If they didn’t think I was crazy before, they definitely do now. It took at least three minutes for them to stop laughing at me.

You have to admit it’s really pretty, no?

Monte Carlo reps output