Cluster bootstrap
A cluster bootstrap estimates uncertainty by resampling whole clusters, such as prompts with all their answers, and recomputing each time.
AI assisted in drafting. This local editorial draft is pending review.
A cluster bootstrap estimates uncertainty by repeatedly resampling whole clusters, such as prompts with all their answers, and recomputing the statistic each time. It is the right interval for brand-level AI visibility figures.
In practice
Repeated runs of one prompt are correlated, and prompts differ a lot from each other, so treating every answer as independent understates uncertainty. The cluster bootstrap keeps each prompt's answers together: it draws prompts with replacement, at least 1,000 times, recomputes the brand-level rate each time and takes the 2.5th and 97.5th percentiles as the 95% interval. For shares, numerator and denominator are resampled together.
When every answer is zero, or every answer is a mention, there is nothing to resample. In that degenerate case the effective sample size, the raw sample divided by the design effect, is used with a Wilson interval instead, and the result is labeled accordingly.
Other names
Block bootstrap, prompt-level bootstrap. In Chinese, 聚类 bootstrap or 整群自助法.
Related terms
Prompt cluster · Wilson interval · Confidence interval
Read: sampling and statistics for GEO