neighbayes.diagnostics.lmtests.bayesian_lm_error_sdm_test

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

LM test for a spatial error process at an SDM fit (H₀: λ = 0 | SDM).

Whether the SDM should be the general nesting model; the error score, orthogonal to \((\beta, \theta, \rho, \sigma^2)\).

Returns:

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

Return type:

BayesianLMTestResult