In STATA clustered standard errors are obtained by adding the option cluster(variable_name)
to your regression, where variable_name specifies the variable that defines the group / cluster in your data. The summary output will return clustered standard errors. Here is the syntax:
regress x y, cluster(variable_name)
Below you will find a tutorial that demonstrates how to Continue reading Clustered Standard Errors in STATA