Monthly Archives: December 2016

Clustered Standard Errors in R

The easiest way to compute clustered standard errors in R is the modified summary(). I added an additional parameter, called cluster, to the conventional  summary() function. This parameter allows to specify a variable that defines the group / cluster in your data. The … Continue reading

Posted in Computing and Others, Econometrics | Tagged , , , | 20 Comments

Example data – Clustered Standard Errors

The following R script creates an example dataset to illustrate the application of clustered standard errors. You can download the dataset here. The script creates a dataset with a specific number of student test results. Individual students are identified via … Continue reading

Posted in Computing and Others, Econometrics | Tagged , , , | 2 Comments