A cluster bootstrap resamples entire observed groups, retaining all observations and their dependence within each selected group. The sampling unit is the group: draw group labels with replacement from the observed groups, concatenate their observations, and recompute the desired statistic. This is a form of bootstrapping suited to independent groups whose internal observations need not be independent. The Stata manual implements it with cluster(); idcluster() distinguishes two resampled copies of the same original group when the fitted procedure needs group identifiers.[ref]
For an original example, three sensors each supply two perfectly shared readings: , , and . The overall sample mean is . A cluster draw produces readings and sample mean ; the two copies of remain distinct resampling slots. Conditional on these data, the empirical variance of a group mean drawn uniformly from is . Averaging three independent draws therefore gives bootstrap variance
Resampling six individual rows instead gives
The row procedure halves the conditional variance by pretending that two identical within-sensor readings are independent information. These fractions use the empirical drawing law directly, not a Bessel-corrected estimate of an unknown population variance.
With unequal group sizes, drawing the same number of groups can produce a different number of rows in each replicate. A pooled row mean and a mean of group means are different statistics: unequal-cluster weighting in a cluster bootstrap must follow the intended estimand. Many rows from a few sensors do not replace having many independent sensors; arbitrary dependence between sensors, a dominant group, or too few groups can defeat the intended inference.
Unequal-cluster weighting in a cluster bootstrap must preserve the statistic's intended population target while resampling the independent groups. For group , let be its observed size, its observation sum, and . Two distinct estimates are
The first weights groups by their numbers of observations; the second gives each group equal weight. If group size is related to group response, the corresponding population targets need not agree. For identically distributed independent groups with suitable finite moments, they correspond to and , respectively.
For each cluster bootstrap replicate, draw group slots with replacement and recompute the selected statistic, including its denominator. The Stata manual explicitly notes that unequal group sizes cause replicate row counts to vary; keeping a fixed original row denominator would therefore compute a different statistic.[ref]
For an original two-group example, take and . The original pooled sample mean is , while the equally weighted group-mean estimate is . The four ordered two-group draws have equal probability. Their pooled sample means are , whereas their equally weighted group-mean estimates are .
Consequently the conditional bootstrap expectation of the pooled estimate is , not . This bootstrap ratio bias with unequal cluster sizes is visible with only two observed groups: averaging a random ratio does not generally give the ratio of the averages. It is not a reason to substitute the equally weighted estimate, which changes the estimand, or a claim that every large-group bootstrap is invalid.
Resampling groups in proportion to and then retaining all their rows introduces an additional size preference; that design needs its own justification. Replicated group copies also need distinct identifiers when the fitted model uses those identifiers. The correct resampling unit, the target mean, and the statistic recomputed in each draw must all be specified.
Bootstrap ratio bias with unequal cluster sizes arises because the pooled mean in a cluster bootstrap is a ratio with a random denominator. Let the empirical distribution over the observed groups assign mass to each pair of group size and response sum. One bootstrap replicate draws such pairs and computes . Its conditional expectation need not equal , even though the numerator and denominator averages are individually unbiased for their empirical means.
A second-order Taylor expansion of explains the leading effect. Write and for the empirical variance of one group size and empirical covariance of one group size with its response sum, using denominator . The conditional bootstrap bias is approximately
The second derivatives are and ; the variances/covariance of the averages bring in . This delta method approximation requires a denominator sufficiently concentrated away from zero and control of the remainder. It is not an exact identity for a few highly unequal groups.
For an original three-group example, take . Then , , , and . The second-order bias estimate is . Enumerating all ordered bootstrap draws instead gives mean about , hence exact conditional bias about . The approximation identifies the direction and mechanism but misses a visible remainder at this small group count.
Equal group sizes remove the random denominator and this particular ratio bias. If every group has the same response mean, , every replicate ratio is exactly regardless of size. Neither case justifies replacing a row-weighted estimand with an equally weighted group mean in general; see unequal-cluster weighting in a cluster bootstrap. The primary Stata specification samples entire clusters and allows replicate row counts to vary.[ref]

Articles by others on the same topic (0)

There are currently no matching articles.