neighbayes.diagnostics.lmtests.bayesian_lm_slx_error_joint_test

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

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

The joint score of \((\lambda, \theta)\), whose information is block diagonal at the OLS null, so that at a degenerate posterior it is LM-Error + LM-WX, the lm_slxerr test of Koley and Bera [2024].

Returns:

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

Return type:

BayesianLMTestResult