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, thelm_slxerrtest of Koley and Bera [2024].