neighbayes.diagnostics.lmtests.bayesian_robust_lm_wx_sem_test

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

Robust LM-WX at an OLS or SEM fit (H₀: θ = 0, robust to a local ρ).

The \(WX\) score net of the lag direction. At the OLS fit it is the Robust LM-WX of Koley and Bera [2024], which with LM-Lag sums to the joint LM-SDM.

Returns:

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

Return type:

BayesianLMTestResult