neighbayes.diagnostics.lmtests.bayesian_robust_lm_error_sdem_test

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

Robust LM-error at an SLX fit (H₀: λ = 0, robust to a local ρ).

Whether the SLX should be the SDEM rather than the SDM: the error score, orthogonal to the fitted \((\beta, \theta, \sigma^2)\) and net of the lag direction.

Returns:

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

Return type:

BayesianLMTestResult