neighbayes.diagnostics.lmtests.bayesian_robust_lm_lag_sdm_test

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

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

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

Returns:

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

Return type:

BayesianLMTestResult