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

Advertisements

Author: ekfletch

I am an independent researcher on issues of gender, labor, violence, education, and children.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s