neighbayes.diagnostics.lmtests.bayesian_glm_robust_lm_error_test

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

Robust LM test for the error term at the GLM null.

\((I_s q - V_q s)^2 / ((I_s + V_q) I_s V_q)\): the error score purged of the spillover that one \(\rho\) would carry with it, so that it detects error dependence the latent SAR does not explain.

Returns:

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

Return type:

BayesianLMTestResult