Robust ANCOVA (Trimmed-Means Comparison at Covariate Points)
Robust ANCOVA compares two groups' trimmed means of an outcome at several covariate values using running-interval neighbourhoods and Yuen tests, without assuming parallel regression slopes or normal errors.
로버스트 공분산분석은 공변량의 여러 지점에서 이웃 관측의 결과를 모아 두 집단의 절사평균을 Yuen 검정으로 비교하는 방법으로, 회귀 기울기가 평행하다거나 오차가 정규라고 가정하지 않습니다.
My two groups have different covariate slopes and outliers, so how can I compare them at different levels of the covariate?
두 집단의 공변량 기울기가 다르고 이상치도 있는데, 공변량 수준별로 집단 차이를 비교하려면 어떻게 하나요?
Robust ANCOVA picks several design points on the covariate and, at each point, collects the outcomes of observations whose covariate lies within a span of the point in each group, then compares the two groups' trimmed means with Yuen's test. Because each point is tested separately, slopes may differ between groups, and critical values from the Studentized maximum modulus distribution keep the family-wise error rate at the chosen level across points.
When to use Robust ANCOVA (Trimmed-Means Comparison at Covariate Points)
- Group regression lines may not be parallel, so a single adjusted mean difference is misleading
- The outcome has outliers or heavy tails that distort means
- You want to know at which covariate values the groups differ
When to use something else
- Slopes are parallel and residuals are well behaved: use classical ANCOVA
- You have more than two groups or several covariates: use a robust regression with interaction terms
Assumptions and requirements
- Observations are independent and the two groups are independent samples
- Both groups have enough observations near each design point (12 or more by default)
- A single continuous covariate defines the neighbourhoods
What the analysis reports
- Design points with neighbourhood sizes in each group
- Trimmed means, their difference, Yuen standard error, t and Welch-type df at each point
- Family-wise confidence intervals and adjusted p-values from the Studentized maximum modulus distribution
- Line plot of the trimmed-mean difference across covariate points
How to report it
A robust ANCOVA on 20% trimmed means at [k] covariate points found significant group differences at [j] points; at [covariate] = [value], the difference was [value], 95% family-wise CI [[value], [value]].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy.
독립 계산. SciPy 대조 참조 시험 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 Robust ANCOVA (Trimmed-Means Comparison at Covariate Points) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a grouping variable and predictor (feature) columns
- 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.