Survey-Weighted Regression Tree (Design-Consistent Splits, Permutation Stopping)
Grows a regression tree from survey data with design weights. Each split maximises the weighted between-children sum of squares, the choice of variable and the decision to split come from a permutation test within strata with a Bonferroni adjustment, and every leaf reports a design-based mean with a stratified standard error.
설계 가중치가 있는 표본조사 자료로 회귀나무를 만듭니다. 분할은 가중 자식 마디 간 제곱합을 가장 크게 하는 곳에서 하고, 변수 선택과 분할 여부는 층 안에서 순열한 순열검정과 Bonferroni 보정으로 정하며, 각 끝마디는 층화 표준오차가 붙은 설계 기반 평균을 보고합니다.
Which combinations of age, income and household size separate groups with different health spending in a weighted national survey?
가중치가 있는 전국 조사에서 연령, 소득, 가구원 수의 어떤 조합이 건강 지출이 다른 집단을 가릅니까?
The splits with their permutation p-values, the leaves with weighted means and confidence intervals, and the weighted R-squared of the tree.
When to use Survey-Weighted Regression Tree (Design-Consistent Splits, Permutation Stopping)
- Survey data with unequal weights and possibly strata
- You want interpretable subgroups that differ in a numeric outcome
- Splits should stop when they are not statistically supported
When to use something else
- Data come from a simple random sample with no weights: use Conditional Inference Tree
- You need a regression model with coefficients: use Survey-Weighted Regression (Design-Based GLM)
Assumptions and requirements
- Single-stage stratified design (clusters are not resampled)
- Numeric split variables
- Leaves are summarised by their weighted mean
What the analysis reports
- Splits with thresholds and adjusted permutation p-values
- Leaf means with standard errors and CIs
- Weighted R-squared
- Variables used
How to report it
A survey-weighted tree split [value] units into [value] leaves using [value]; the weighted R-squared was [value].
Related methods
How this method is validated
이 방법의 검증 근거
- R cross-check. 7 reported values agree with R (rpart::rpart, survey::svyby) within a tolerance of 1e-6; the largest observed difference is 4e-15.
R 교차 검증. R(rpart::rpart, survey::svyby) 대조: 보고 값 7개가 허용오차 1e-6 안에서 일치합니다(관측된 최대 차이 4e-15).
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (119 values) agree with R (psych::describe, stats::cor.test, stats::quantile, stats::shapiro.test) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, stats::cor.test, stats::quantile, stats::shapiro.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 119개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 2 reference tests compare the results with scikit-learn and direct computations (formulas, enumeration or simulation).
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Survey-Weighted Regression Tree (Design-Consistent Splits, Permutation Stopping) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns 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
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.