Monthly Archives: January 2012

IV regression and two-way cluster-robust standard errors

As a follow-up to an earlier post, I was pleasantly surprised to discover that the code to handle two-way cluster-robust standard errors in R that I blogged about earlier worked out of the box with the IV regression routine available … Continue reading

Posted in Uncategorized | Tagged , , , | 8 Comments

Jumbling words

Here’s a function (written in R) to jumble a sentence by rearranging letters other than the first and last of each word. The idea comes from a birthday card I received from my aunt in Australia. Some sample output > … Continue reading

Posted in Uncategorized | Leave a comment