neighbayes.diagnostics.lmtests.bayesian_lm_lag_sdem_test

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

LM test for a spatial lag at an SDEM fit (H₀: ρ = 0 | SDEM).

Whether the SDEM should be the general nesting model; the lag score, orthogonal to \((\beta, \theta, \lambda, \sigma^2)\).

Returns:

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

Return type:

BayesianLMTestResult