Multilevel Regression with Survey Sampling Weights
This method fits a two-level random-intercept regression to data from a complex survey in which clusters and individuals were selected with unequal probabilities. Weights enter at both levels of the pseudo-likelihood, individual weights are rescaled within clusters to limit bias in the variance components, and standard errors are sandwich estimates that treat clusters as primary sampling units.
이 방법은 군집과 개인이 서로 다른 확률로 뽑힌 복합표본 조사 자료에 2수준 무선절편 회귀를 적합합니다. 가중치를 의사가능도의 두 수준에 모두 넣고, 분산성분의 편향을 줄이도록 군집 안에서 개인 가중치를 다시 척도화하며, 군집을 일차 추출단위로 보는 샌드위치 표준오차를 냅니다.
How do I fit a multilevel model to survey data with sampling weights at the school and student level?
학교와 학생 수준에 표본 가중치가 있는 조사 자료에 다층모형을 어떻게 적합합니까?
The method returns coefficients with design-based (sandwich) and model-based standard errors, the level-1 and level-2 variance components and intraclass correlation, and the unweighted estimates for comparison.
When to use Multilevel Regression with Survey Sampling Weights
- Clusters and individuals were sampled with unequal probabilities (e.g. PISA, TIMSS, household surveys).
- Sampling is informative, so unweighted multilevel estimates may be biased.
- You need standard errors that respect the cluster sampling design.
When to use something else
- Sampling is simple random or weights are uninformative: use Hierarchical Linear Modeling (HLM)
- You do not need random effects: use Survey-Weighted Regression (Design-Based GLM)
- The outcome is binary or a count: use Generalized Linear Mixed Model (GLMM)
Assumptions and requirements
- Weights known at both levels
- Normal random intercept and residuals
- Enough clusters for sandwich standard errors
What the analysis reports
- Coefficients with sandwich and model-based SE
- Variance components and ICC
- Unweighted comparison
- Weight-scaling method
How to report it
A survey-weighted random-intercept model gave [value] = [value] (robust SE = [value], p = [value]), ICC = [value].
Related methods
- Survey-Weighted Regression (Design-Based GLM)
- Hierarchical Linear Modeling (HLM)
- Mixed-Effects Location-Scale Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Multilevel Regression with Survey Sampling Weights on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns, a cluster ID and a weight column
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.