Cluster (Two-Stage Hierarchical) Bootstrap
The cluster bootstrap respects nesting by resampling whole clusters with replacement rather than single observations. In the two-stage version, units are then also resampled with replacement inside each selected cluster. The pooled mean or median is recomputed on every resample, and its spread is compared with that of an ordinary bootstrap that ignores the clusters, giving a design effect.
군집 붓스트랩은 개별 관측치가 아니라 군집 전체를 복원추출하여 자료의 내포 구조를 지킵니다. 2단계 방식에서는 선택된 각 군집 안에서 단위도 다시 복원추출합니다. 재표본마다 전체 평균이나 중앙값을 다시 계산하고, 그 퍼짐을 군집을 무시한 일반 붓스트랩과 비교해 설계효과를 구합니다.
How much wider is the uncertainty of my overall mean or median once I account for observations being nested in clusters?
관측치가 군집에 속해 있음을 고려하면 전체 평균이나 중앙값의 불확실성은 얼마나 커집니까?
The method returns the estimate, the cluster bootstrap standard error, bias and percentile interval, the i.i.d. bootstrap standard error, the design effect, the ANOVA intraclass correlation and the number and mean size of clusters.
When to use Cluster (Two-Stage Hierarchical) Bootstrap
- Observations are nested in schools, clinics, subjects or sites.
- You need an interval for a pooled mean or median without fitting a model.
- You want to show how much clustering inflates the uncertainty.
When to use something else
- You want regression coefficients with clustered errors: use Wild Cluster Bootstrap Inference
- You need fixed effects and variance components: use Bootstrap for Linear Mixed Models (Parametric, Cluster and Residual)
Assumptions and requirements
- Clusters independent of each other
- Enough clusters (about 20 or more)
What the analysis reports
- Cluster bootstrap SE and percentile interval
- i.i.d. bootstrap SE and design effect
- ANOVA ICC
How to report it
A cluster bootstrap over [value] clusters gave a mean of [value] with SE [value]; the design effect was [value].
Related methods
- Wild Cluster Bootstrap Inference
- Bootstrap for Linear Mixed Models (Parametric, Cluster and Residual)
- Intraclass Correlation (ICC)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Cluster (Two-Stage Hierarchical) Bootstrap on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a cluster ID
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.