neighbayes.diagnostics.lmtests.bayesian_lm_wx_sem_test

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

LM test for omitted \(WX\) at a SEM fit (H₀: θ = 0 | SEM).

Whether the SEM should be the SDEM; the score of the \(WX\) block, orthogonal to \((\beta, \lambda, \sigma^2)\).

Returns:

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

Return type:

BayesianLMTestResult