neighbayes.diagnostics.lmtests.bayesian_lm_sdm_joint_test

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

Joint LM test for the SDM at an OLS fit (H₀: ρ = 0 and θ = 0).

The joint score of \((\rho, \theta)\); at a degenerate posterior on the OLS estimate it is the lm_spdurbin test of Koley and Bera [2024].

Returns:

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

Return type:

BayesianLMTestResult