neighbayes.diagnostics.lmtests.bayesian_lm_wx_test

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

LM test for omitted \(WX\) at an OLS or SAR fit (H₀: θ = 0).

Whether the OLS should be the SLX, or the SAR the SDM; the score of the \(WX\) block, orthogonal to what the null estimates ([Koley and Bera, 2024]).

Returns:

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

Return type:

BayesianLMTestResult