Skip to content

Methods · Regression · Generalized linear models · Generalized Linear Model with a User-Chosen Link Function

GLM with Newey-West HAC SEs

Sandwich standard errors robust to heteroskedasticity and autocorrelation in data order.

Newey-West HAC SE GLM — 자료 순서에서 이분산과 자기상관에 강건한 샌드위치 표준오차입니다.

Runs Generalized Linear Model with a User-Chosen Link Function with: vce set to “hac”.

기본 방법(Generalized Linear Model with a User-Chosen Link Function)에 다음 설정을 고정해 실행합니다: vce = hac.

My GLM is fitted to monthly time series; how do I allow for autocorrelated errors in the standard errors?

월별 시계열에 GLM을 적합했는데, 표준오차에 오차의 자기상관을 반영하려면?

Newey-West standard errors use the lag length you give to remain valid under heteroskedasticity and autocorrelation in the data order. Behind it is Generalized Linear Model with a User-Chosen Link Function with vce = hac already set; you supply hac_lags, and checks and report are the same as for Generalized Linear Model with a User-Chosen Link Function.

When to use GLM with Newey-West HAC SEs

When to use something else

What you still provide

Assumptions and requirements

The same as for Generalized Linear Model with a User-Chosen Link Function:

What the analysis reports

The output of Generalized Linear Model with a User-Chosen Link Function, with the preset shown in the settings:

How this is validated

검증 근거

This variant runs the same engine as Generalized Linear Model with a User-Chosen Link Function 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.

이 설정 묶음은 Generalized Linear Model with a User-Chosen Link Function와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.

Other variants of Generalized Linear Model with a User-Chosen Link Function

Run this variant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
Same as Generalized Linear Model with a User-Chosen Link Function: 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations, as recorded for Generalized Linear Model with a User-Chosen Link Function (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.

Preset ID Q21148-V06 · Variant of Q21148 · Reviewed 2026-10-25