Skip to content

Methods · Robust & resampling methods · Clustered data bootstrap

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

When to use something else

Assumptions and requirements

What the analysis reports

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

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.

Method ID Q13025 · Reviewed 2026-10-25