Conley Spatial HAC Standard Errors
Conley spatial HAC standard errors are regression standard errors that remain valid when errors are correlated between observations closer than a chosen distance cut-off.
Conley 공간 HAC 표준오차는 정해진 거리 안에 있는 관측치끼리 오차가 상관되어 있어도 타당한 회귀 표준오차입니다.
My village-level regression has errors that are probably correlated between nearby villages; how do I get standard errors that account for that?
마을 단위 회귀에서 가까운 마을끼리 오차가 상관되어 있을 것 같은데, 이를 반영한 표준오차는 어떻게 구하나요?
Fit the regression by OLS and compute a sandwich covariance whose middle term adds products of residual-weighted covariates for every pair of observations within the cut-off, down-weighted by distance with a Bartlett kernel. Report the coefficients with these spatial HAC standard errors and check how they change at smaller and larger cut-offs.
When to use Conley Spatial HAC Standard Errors
- Observations have coordinates and nearby units likely share unobserved shocks.
- You want to keep OLS point estimates but correct their standard errors.
- A plausible distance beyond which correlation vanishes can be stated.
When to use something else
- Dependence follows administrative groups rather than distance; use cluster-robust standard errors.
- You want to model the spatial process itself; use a spatial error or CAR model.
Assumptions and requirements
- Error correlation decays to zero beyond the cut-off distance.
- The number of observations is large relative to the number of close pairs.
- The regression mean is correctly specified.
What the analysis reports
- Coefficients with Conley standard errors, z tests and intervals
- OLS, HC0 and HC1 standard errors for comparison
- Standard errors at half and double the cut-off
- Number of pairs within the cut-off
How to report it
The coefficient of [variable] was [value] with a Conley spatial HAC SE of [value] (Bartlett kernel, cut-off [value] km), z = [value], p = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 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 Conley Spatial HAC Standard Errors on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.