neighbayes.diagnostics.lmtests.bayesian_glm_robust_lm_lag_test

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

Robust LM test for the spillover at the GLM null.

\(s^2 / I_s\) with \(s = e^\top WX\beta\): the score test of the reduced-form SAR, \(\eta = S(\rho)X\beta\), and the Bera–Yoon robust lag test of the latent SAR, \(s\) being uncorrelated with the error score.

Returns:

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

Return type:

BayesianLMTestResult