Cluster- Specifi c Fixed Effects
ˆ V
clu;boot
[ ˆ ] =
1 B
− 1
b=1 B
∑
ˆ 
b
− ˆ ˆ
b
− ˆ ′ ,
where ˆ
 = B
−1
⌺
b=1 B
ˆ 
b
, and B = 400 should be more than adequate in most settings. It is important that the resampling be done over entire clusters rather than over individual
observations. Each bootstrap resample will have exactly G clusters, with some of the original clusters not appearing at all while others of the original clusters may be re-
peated in the resample two or more times. The terms “pairs” is used as y
g
, X
g
are resampled as a pair. The term “nonparametric” is also used for this bootstrap. Some
alternative bootstraps hold X
g
fi xed while resampling. For fi nite clusters, if ˆ
V
clu
[ ˆ ]
uses c ˆ
u
g
in Equation 11 then for comparability ˆ
V
clu;boot
[ ˆ ]
should be multiplied by the constant c defi ned in Equation 12. The pairs cluster bootstrap leads to a cluster- robust
variance matrix for OLS with rank K even if K G. An alternative resampling method that can be used is the leave- one- cluster- out
jackknife. Then, letting ˆ

g
denote the estimator of 
when the g
th
cluster is deleted, ˆ
V
clu; jack
[ ˆ ] =
G − 1
G
g =1 G
∑
ˆ 
g
− ˆ ˆ
g
− ˆ ′ ,
where ˆ
 = G
−1
⌺
g =1 G
ˆ 
g
. This older method can be viewed as an approximation to the bootstrap that does not work as well for nonlinear estimators. It is used less often than
the bootstrap and has the same rank as the CRVE. Unlike a percentile- t cluster bootstrap, presented later, the pairs cluster bootstrap
and cluster jackknife variance matrix estimates are no better asymptotically than the CRVE so it is best and quickest to use the CRVE if it is available. But the CRVE is not
always available, especially for estimators more complicated than OLS. In that case, one can instead use the pairs cluster bootstrap, though the end of Section VIC indicates
potential pitfalls if there are few clusters, or even the cluster jackknife.
In Stata, the pairs cluster bootstrap for OLS without fi xed effects can be imple- mented in several equivalent ways including: regress y x, vceboot, clusterid_clu
reps400 seed10101; xtreg y x, pa corrind vceboot, reps400 seed10101 ; and
bootstrap, clusterid_clu reps400 seed10101 : regress y x . The last variant can be
used for estimation commands and user- written programs that do not have a vceboot option. We recommend 400 bootstrap iterations for published results and for replica-
bility one should always set the seed. For the jackknife the commands are instead, respectively, regress y x, vcejack,
clusterid_clu; xtreg y x, pa corrind vcejack ; and jackknife, clusterid_clu:
regress y x . For Stata xt commands, options vceboot and vcejack are generally
interpreted as meaning cluster bootstrap and cluster jackknife; always so from Stata 12.1 on.