HAC standard errors for robust regression
Newey-West type sandwich standard errors for MM or S coefficients that allow heteroscedastic and autocorrelated errors.
강건회귀 HAC 표준오차 — 강건회귀 계수에 대해 이분산과 자기상관을 허용하는 Newey-West 형 샌드위치 표준오차를 구합니다.
Runs High-Breakdown Robust Regression (MM and LTS) with: vcov set to “hac”.
기본 방법(High-Breakdown Robust Regression (MM and LTS))에 다음 설정을 고정해 실행합니다: vcov = hac.
My robust regression uses time-series data; how do I get standard errors that allow for autocorrelated errors?
시계열 자료로 강건회귀를 할 때 오차의 자기상관을 허용하는 표준오차는 어떻게 구하나요?
A Newey-West sandwich with a Bartlett kernel is built from the psi-weighted score of the robust fit, so the standard errors remain valid under heteroscedasticity and serial correlation; rows are taken in time order. Behind it is High-Breakdown Robust Regression (MM and LTS) with vcov = hac already set; checks and report are the same as for High-Breakdown Robust Regression (MM and LTS).
When to use HAC standard errors for robust regression
- Rows are ordered in time and residuals are autocorrelated.
- You want robustness to outliers and to error dependence at once.
When to use something else
- Rows are not in time order; the lag structure then has no meaning and a heteroscedasticity-robust sandwich (lag 0) is the right choice.
- You want to try other settings side by side; open High-Breakdown Robust Regression (MM and LTS) and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
Assumptions and requirements
The same as for High-Breakdown Robust Regression (MM and LTS):
- A linear model holds for the majority of the data.
- Fewer than half of the observations are contaminated.
- Errors of the clean majority are roughly symmetric.
What the analysis reports
The output of High-Breakdown Robust Regression (MM and LTS), with the preset shown in the settings:
- Robust coefficients with asymptotic standard errors and OLS coefficients for comparison
- Robust residual scale and tuning constants
- Counts of vertical outliers, good and bad leverage points (MCD distances)
- Final robustness weights and listed outlying rows
How this is validated
검증 근거
This variant runs the same engine as High-Breakdown Robust Regression (MM and LTS) with the settings above fixed, so the evidence is that method’s: compared with independent computations. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 High-Breakdown Robust Regression (MM and LTS)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of High-Breakdown Robust Regression (MM and LTS)
- Robust Regression (S-Estimator)
- Robust Regression (Least Trimmed Squares)
- MM regression with Yohai optimal rho
- MM regression with an LTS start
- MM regression with bias test
- Robust regression with final weighted least squares
- Robust R-square
- M-S robust regression for factor predictors
- Robust regression with compositional covariates
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as High-Breakdown Robust Regression (MM and LTS): 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, as recorded for High-Breakdown Robust Regression (MM and LTS) (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.