neighbayes.diagnostics.lmtests.bayesian_robust_lm_wx_test

neighbayes.diagnostics.lmtests.bayesian_robust_lm_wx_test(model)[source]

Robust LM-WX at a SAR fit (H₀: θ = 0, robust to a local λ).

The \(WX\) score of bayesian_lm_wx_test() net of the error direction, so that clustered disturbances the SAR leaves out do not pass for omitted spillovers.

Returns:

Per-draw LM samples, summary statistics and df = k_wx.

Return type:

BayesianLMTestResult