I expect the standard errors of two-way clustering and one-way clustering are different, however, the resutls are the same, why? Then should I use one-way cluster or two-way cluster?
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte ind long(dvPrior dv) float(IV1 firmID) double IV2 7 254 267 83 1 68 7 254 267 83 1 68 7 254 267 83 1 68 7 254 267 83 1 68 7 254 267 83 1 68 3 0 0 85.6 2 68.8 3 0 0 85.6 2 68.8 3 0 0 85.6 2 68.8 3 0 0 85.6 2 68.8 3 0 0 85.6 2 68.8 8 392 78 82.8 3 65 8 392 78 82.8 3 65 8 392 78 82.8 3 65 8 392 78 82.8 3 65 8 392 78 82.8 3 65 8 121 0 81.2 4 70 8 121 0 81.2 4 70 8 121 0 81.2 4 70 8 121 0 81.2 4 70 8 121 0 81.2 4 70 8 123 1668 84 5 72.1 8 123 1668 84 5 72.1 8 123 1668 84 5 72.1 8 123 1668 84 5 72.1 8 123 1668 84 5 72.1 8 48 0 82.4 6 72.4 8 48 0 82.4 6 72.4 8 48 0 82.4 6 72.4 8 48 0 82.4 6 72.4 8 48 0 82.4 6 72.4 8 7 20 81.8 7 67.7 8 7 20 81.8 7 67.7 8 7 20 81.8 7 67.7 8 7 20 81.8 7 67.7 8 7 20 81.8 7 67.7 8 30 68 84.2 8 69.4 8 30 68 84.2 8 69.4 8 30 68 84.2 8 69.4 8 30 68 84.2 8 69.4 8 30 68 84.2 8 69.4 10 0 0 83.8 9 70 10 0 0 83.8 9 70 10 0 0 83.8 9 70 10 0 0 83.8 9 70 10 0 0 83.8 9 70 8 26 43 82 10 75.2 8 26 43 82 10 75.2 8 26 43 82 10 75.2 8 26 43 82 10 75.2 8 26 43 82 10 75.2 end reghdfe dv dvPrior IV1 IV2, vce(cluster ind ) reghdfe dv dvPrior IV1 IV2, vce(cluster ind firmID)
Comment