Backup slides

Approximate Bayesian inference for structural equation models (CFE-CMStatistics 2026)

Haziq Jamil

Research Specialist
BAYESCOMP @ CEMSE-KAUST

Main slides

December 12, 2026

\[ \definecolor{kaustorg}{RGB}{241, 143, 0} \definecolor{kausttur}{RGB}{0, 166, 170} \definecolor{kaustmer}{RGB}{177, 15, 46} \definecolor{kaustgrn}{RGB}{173, 191, 4} \definecolor{kaustblu}{RGB}{82, 132, 196} \definecolor{kaustpur}{RGB}{156, 111, 174} \]

Backup: factor scores from the copula

Backup: effects of prior distributions (\(n=75\))

  • Loadings: \(\lambda \sim \operatorname{N}(0,10^2) \mapsto \lambda \sim \operatorname{N}(3,0.1^2)\)

  • Latent variances: \(\psi \sim \Gamma(1,1), \Gamma(2,1), \Gamma(1,0.5) \mapsto \psi \sim \Gamma(100,50)\)

Backup: which marginals to distrust? diagnostics()

diagnostics(fit, type = "param") |>
  arrange(desc(nmad)) |>
  select(names, vb_shift_sigma,
         nmad, alpha) |>
  head(4)
         names vb_shift_sigma   nmad   alpha
1 dem65~~dem65        -0.2410 0.0377 -3.2318
2       x2~~x2        -0.2919 0.0329 -3.2677
3       y4~~y4         0.0397 0.0143 -1.4484
4       y2~~y6        -0.0189 0.0116  0.7203

diagnostics(fit) gives the global checks. Here: converged, Hessian condition number 624, max VB shift 0.44 SD, max NMAD 0.038, and max scan-endpoint mass 0.003.

  • Per parameter, at no extra cost:

    • NMAD: the largest gap between the fitted skew-normal and the scanned ordinates, on the density scale, relative to the peak;
    • VB shift \(|\hat\delta_j|/\sqrt{\Omega_{jj}}\), in Laplace SDs;
    • the skew-normal shape \(\hat\alpha_j\) and the mass beyond the scan.
  • The top two by NMAD are \(\Psi_{2,2}\) and \(\Theta_{10,10}\): exactly the two hardest marginals against MCMC (98.9% and 98.5%), although neither crosses a warning threshold (NMAD 0.1, VB shift 1 SD).

  • Across S1–S4, rank correlations with the worst-case error are .64 (VB shift), .59 (endpoint mass) and .48 (NMAD), but with no general thresholds, and a second mode is invisible to local checks.

Backup: prior specification

Parameter Type
Prior
Scale of \(\boldsymbol\vartheta\)
Diffuse Informative
\(\nu_i\) Observed intercept \(\mathrm N(0,32^2)\) \(\mathrm N(0,32^2)\) \(\nu_i\)
\(\Lambda_{i,j}\) Loading \(\mathrm N(0,10^2)\) \(\mathrm N(1.25,0.25^2)\) \(\Lambda_{i,j}\)
\(B_{j,j'}\) Regression coefficient \(\mathrm N(0,10^2)\) \(\mathrm N(1.5,0.25^2)\) \(B_{j,j'}\)
\(\Theta_{i,i}^{1/2}\) Residual SD \(\Gamma(1,0.5)\) \(\Gamma(10,10)\) \(\log\Theta_{i,i}\)
\(\Psi_{j,j}^{1/2}\) Latent SD \(\Gamma(1,0.5)\) \(\Gamma(10,10)\) \(\log\Psi_{j,j}\)
\(\rho_{i,j}\) Correlation (of a covariance) \(\text{Beta}(1,1)\) \(\text{Beta}(5,5)\) \(\operatorname{artanh}\rho_{i,j}\)

Diffuse priors (blavaan defaults) are used throughout; the informative set is used only in the SBC check. Latent intercepts \(\boldsymbol\alpha\) are fixed at 0 here. Beta priors on correlations are rescaled to \((-1, 1)\). Priors are carried to the unconstrained \(\boldsymbol\vartheta\) scale by change of variables.

Backup: contrast with INLA and with VI

vs. INLA

  • INLA’s joint Laplace is on the latent field (Rue et al., 2009); ours is on the parameters (\(\boldsymbol\eta\) is integrated out).
  • INLA’s VB correction acts on a latent field with thousands of entries and needs a low-rank form (van Niekerk & Rue, 2024). Here the shift is a full \(m\)-vector.
  • INLA matches low-order derivatives at 4–5 points (or uses a two-piece Gaussian), since evaluations are costly; here they are cheap, so a dense grid is fitted.
  • Lemma 2 may be useful in other profiled Laplace schemes; the Proposition links profiling to INLA’s VB correction.

vs. variational inference

  • Mean-field VI assumes posterior independence, which SEM posteriors violate. For CFA it recovers the modes but underestimates SDs (Dang & Maestrini, 2022).
  • ADVI (Kucukelbir et al., 2017) applies as is, but is experimental and sensitive to its settings.
  • Here VB only re-centres; Laplace curvature and skew-normal profiling carry the uncertainty, and the copula the dependence.

Backup: two routes to the same location correction

Proposition (Equivalence of location corrections)

Let \(\small\bar\vartheta_j\) be the mean of the profile density \(\small p_j(t) \propto e^{h_j(t)}\) on the \(\small\vartheta_j\) scale. Under the regularity conditions for Laplace’s method, as \(\small n\to\infty\) with \(\small m\) fixed: \(\small\bar\vartheta_j = \vartheta_j^* + \hat\delta_j + O(n^{-2})\).

Sketch. With \(\sigma^2 = \Omega_{jj}\), \(\mathbf A = \tfrac{d}{dt}\nabla^2\ell(\boldsymbol\vartheta^* + t\mathbf v_j)\big|_{t=0} = -\mathbf H'\) (third derivatives along the scan) and \(\mathbf C = \boldsymbol\Omega - \mathbf v_j\mathbf v_j^\top\), Lemma 2 gives \(\gamma_j' = \tfrac12\operatorname{tr}(\mathbf A\mathbf C)\). Here \(\sigma\), \(\gamma_j'\) and \(s_j\) are \(O(n^{-1/2})\).

Profile: \(h_j(t) = c - \tfrac12 t^2 + \gamma_j' t + \tfrac16 s_j t^3 + \cdots\), with \(s_j = \mathbf v_j^\top\mathbf A\mathbf v_j\): \[ \begin{aligned} \bar\vartheta_j - \vartheta_j^* &= \sigma\big(\gamma_j' + \tfrac12 s_j\big) + O(n^{-2}) \\ &= \tfrac{\sigma}{2}\operatorname{tr}(\mathbf A\boldsymbol\Omega) + O(n^{-2}). \end{aligned} \]

VB: with \(\boldsymbol\epsilon\sim\operatorname{N}_m(\mathbf 0,\boldsymbol\Omega)\), project \(\operatorname{E}_{\boldsymbol\epsilon}\nabla\ell(\boldsymbol\vartheta^* + \hat{\boldsymbol\delta} + \boldsymbol\epsilon) = \mathbf 0\) onto \(\mathbf v_j\): \[ \begin{aligned} \hat\delta_j &= \tfrac{\sigma}{2}\operatorname{E}(\boldsymbol\epsilon^\top\mathbf A\boldsymbol\epsilon) + O(n^{-2}) \\ &= \tfrac{\sigma}{2}\operatorname{tr}(\mathbf A\boldsymbol\Omega) + O(n^{-2}). \end{aligned} \]

  • Both equal the mode-to-mean term of Lindley (1980): scans stay at the mode, and the VB centre predicts the SN mean (a free check).
  • The simplified Laplace of Rue et al. (2009) sets the SN mean to \(\gamma_j'\), so it misses \(\sigma s_j/2 = O(n^{-1})\).

Backup: stress test design

One-at-a-time perturbations. S1–S4 target conditions that Laplace’s method needs, and S5 the dimension: S1 \(n\) from 40 to 1200; S2 std. loadings of \(\eta_1\) from 0.8 to 0.3; S3 \(\operatorname{Cor}(\eta_1,\eta_3)^2\) from 0.2 to 0.98; S4 \(\Psi_{2,2}/\operatorname{Var}(\eta_2)\) from 0.50 to 0.01 (baseline 0.045); S5 \(m\) from 42 to 156. There are 18 conditions \(\times\) 100 replications, each also fitted by blavaan.

Backup: stress test, identification drives the error

Condition CR95 (%)
Diagnostics
vs. MCMC (medians; 95th pct. in brackets)
NMAD VB shift maxj ΔMean,j minj JS (%) Ref. Worst (share)
S1  n = 1200 95.2 0.023 0.24 0.07 (0.25) 99.3 100 Ψ2,2 (42%)
S1  n = 75 92.4 0.041 0.51 0.23 (0.32) 95.5 70 Θ10,10 (71%)
S1  n = 40 92.3 0.049 0.59 0.32 (0.74) 92.9 47 Λ4,1 (21%)
S2  std. loadings 0.5 92.0 0.076 0.62 0.69 (1.37) 76.6 48 Ψ1,1 (75%)
S2  std. loadings 0.3 87.9 0.102 0.61 1.63 (3.73) 43.5 36 Ψ1,1 (81%)
S3  R² = 0.95 93.2 0.046 0.59 0.30 (0.66) 87.0 78 Ψ1,1 (49%)
S3  R² = 0.98 93.5 0.048 0.70 0.35 (0.71) 82.8 80 Ψ1,1 (50%)
S4  Ψ2,2/Var(η2) = 0.01 92.5 0.043 0.55 0.23 (0.32) 94.9 76 Θ10,10 (67%)
S5  m = 156, n = 75 94.0 0.049 0.64 0.19 (0.28) 95.3 47 Var(ητ=8) (23%)
  • Benign (S1, S4, S5): the median worst-case error is at most 0.32 SD (95th percentile up to 0.74, at \(n = 40\)), and CR95 is within 3 points of nominal. Fits take 1.5, 5.6 and 9 s at \(m = 42\), 80 and 156, against 15 s, 1 min and 8 min per MCMC chain.
  • Weak identification breaks it: at std. loadings 0.3 the median worst-case error is 1.63 SD (JS 44%), and 64 of 100 HMC references are unusable too. Collinearity is milder (0.30–0.35 SD).
  • Boundary: the lower tail is missed: \(\Pr(\Psi_{2,2} < 5\%\text{ of truth})\) is 0.02%, against 6.6% under MCMC. Across S1–S4, the VB shift and NMAD rank-correlate .64 and .48 with the worst-case error.

Backup: stress test, S1–S3

Condition CR95 (%)
Diagnostics
vs. MCMC (medians; 95th pct. in brackets)
NMAD VB shift maxj ΔMean,j minj JS (%) Ref. Worst (share)
S1  n = 1200 95.2 0.023 0.24 0.07 (0.25) 99.3 100 Ψ2,2 (42%)
S1  n = 600 94.5 0.029 0.31 0.12 (0.26) 97.8 100 Ψ2,2 (66%)
S1  n = 300 94.1 0.031 0.40 0.20 (0.28) 96.7 99 Ψ2,2 (72%)
S1  n = 150 94.1 0.037 0.43 0.21 (0.33) 96.2 90 Ψ2,2 (53%)
S1  n = 75 92.4 0.041 0.51 0.23 (0.32) 95.5 70 Θ10,10 (71%)
S1  n = 40 92.3 0.049 0.59 0.32 (0.74) 92.9 47 Λ4,1 (21%)
S2  std. loadings 0.5 92.0 0.076 0.62 0.69 (1.37) 76.6 48 Ψ1,1 (75%)
S2  std. loadings 0.3 87.9 0.102 0.61 1.63 (3.73) 43.5 36 Ψ1,1 (81%)
S3  R² = 0.80 93.3 0.043 0.46 0.21 (0.27) 95.8 85 Ψ2,2 (56%)
S3  R² = 0.95 93.2 0.046 0.59 0.30 (0.66) 87.0 78 Ψ1,1 (49%)
S3  R² = 0.98 93.5 0.048 0.70 0.35 (0.71) 82.8 80 Ψ1,1 (50%)

Medians over 100 replications (95th percentile in brackets); vs-MCMC columns use usable references only (Ref., out of 100).

Backup: stress test, S4–S5

Condition CR95 (%)
Diagnostics
vs. MCMC (medians; 95th pct. in brackets)
NMAD VB shift maxj ΔMean,j minj JS (%) Ref. Worst (share)
S4  Ψ2,2/Var(η2) = 0.50 92.5 0.039 0.48 0.24 (0.64) 95.0 65 Θ10,10 (49%)
S4  Ψ2,2/Var(η2) = 0.15 93.6 0.036 0.47 0.24 (0.33) 95.4 72 Θ10,10 (72%)
S4  Ψ2,2/Var(η2) = 0.01 92.5 0.043 0.55 0.23 (0.32) 94.9 76 Θ10,10 (67%)
S5  m = 80, n = 75 93.9 0.048 0.59 0.20 (0.33) 95.6 55 Θ10,10 (49%)
S5  m = 80, n = 300 94.0 0.042 0.43 0.19 (0.25) 96.7 94 Ψ2,2 (39%)
S5  m = 156, n = 75 94.0 0.049 0.64 0.19 (0.28) 95.3 47 Var(ητ=8) (23%)
S5  m = 156, n = 300 94.5 0.045 0.52 0.20 (0.26) 96.6 91 Ψ2,2 (38%)

Backup: simulation-based calibration

  • Draw \(\boldsymbol\vartheta^\circ \sim \pi(\boldsymbol\vartheta)\), simulate \(\mathbf y \sim \pi(\mathbf y \mid \boldsymbol\vartheta^\circ)\), refit, and compute \(u_j = F_{\mathrm{SN}}^{(j)}(\vartheta_j^\circ \mid \mathbf y)\), which is \(\mathrm{U}(0,1)\) under exact inference (Talts et al., 2020). Informative priors: no detectable miscalibration.
  • Diffuse (default) priors: 7% of fits fail (almost all non-PD Hessians), and 29 of 42 curves leave the band. This prior predictive yields many weakly identified data sets (the S2/S3 regime). MCMC also miscalibrates there (Merkle et al., 2021).

Refit-free leave-one-out cross-validation

Model comparison by predictive criterion

Tool Good for Catch
Bayes factor (Kass & Raftery, 1995) Weighing evidence between models, priors included Priors on extra parameters set the Occam penalty
PPP, BRMSEA, BCFI (Garnier-Villarreal & Jorgensen, 2020) Checking whether one model fits One model at a time; frequentist cut-offs
DIC (Spiegelhalter et al., 2002) A quick predictive ranking Plug-in; favours flexible models (Fujimoto & Falk, 2024)
LOO (Vehtari et al., 2017) Predicting new subjects, with per-subject scores \(n\) refits
  • Predict each subject from a fit without it, and sum the log scores: \[ \underbrace{\operatorname{elpd}_{\text{loo}}}_{\text{score}} = \sum_{s=1}^n \log \underbrace{\int \pi(\mathbf y_s \mid \boldsymbol\vartheta)\, \pi(\boldsymbol\vartheta \mid \mathbf y_{-s})\, d\boldsymbol\vartheta}_{\text{LOO predictive density, } \pi(\mathbf y_s \mid \mathbf y_{-s})} \qquad \text{(higher is better)} \]
  • Notice that \(\boldsymbol\eta\) is integrated out, so \(\mathbf y_s\) is a new unit (Merkle et al., 2019).

Leave-one-out without refits

  • Subjects are independent given \(\boldsymbol\vartheta\), so deleting \(\mathbf y_s\) divides out its likelihood \[ \pi(\boldsymbol\vartheta \mid \mathbf y_{-s}) \propto \pi(\boldsymbol\vartheta \mid \mathbf y) \,/\, \pi(\mathbf y_s \mid \boldsymbol\vartheta). \]
  • The normalising constant is the conditional predictive ordinate (CPO; Gelfand et al., 1992), from one fit: \[ \pi(\mathbf y_s \mid \mathbf y_{-s}) = \Big\{ \operatorname{E}_{\boldsymbol\vartheta \mid \mathbf y}\big[\, 1/\pi(\mathbf y_s \mid \boldsymbol\vartheta) \,\big] \Big\}^{-1}. \]

  • Problem: averaged over draws, this is a harmonic mean. The weight is largest where the posterior is thin (dashed), so its variance can be infinite (Wolpert & Schmidler, 2012).
  • PSIS smooths the largest weights, but it needs draws, and subjects with \(\hat k > 0.7\) still need refits (Vehtari et al., 2017; Vehtari et al., 2024).

Laplace approximation of the CPO

Theorem (Laplace approximation of the CPO) = No refits, no draws

Under \(\small\operatorname{N}_m(\tilde{\boldsymbol\vartheta}, \mathbf H^{-1})\), expand \(\small\ell_s(\boldsymbol\vartheta) := \log\pi(\mathbf y_s \mid \boldsymbol\vartheta)\) about \(\small\tilde{\boldsymbol\vartheta}\), with score \(\small\mathbf g_s := \nabla\ell_s(\tilde{\boldsymbol\vartheta})\) and information \(\small\boldsymbol{\mathcal I}_s := -\nabla^2\ell_s(\tilde{\boldsymbol\vartheta})\). The Gaussian integral is then exact: \[ \small \begin{aligned} {\color{gray}\tiny\mathrm{[1st]}} \ \log\hat\pi^{(1)}(\mathbf y_s \mid \mathbf y_{-s}) &= \ell_s(\tilde{\boldsymbol\vartheta}) - \tfrac12\, \mathbf g_s^\top \mathbf H^{-1} \mathbf g_s, \ {\color{gray}\scriptsize\leftarrow \text{optimistic by } \tfrac12 p_{\text{eff}} \text{ in total}} \\ {\color{gray}\tiny\mathrm{[2nd]}} \ \log\hat\pi^{(2)}(\mathbf y_s \mid \mathbf y_{-s}) &= \underbrace{\ell_s(\tilde{\boldsymbol\vartheta})}_{\text{fit}} - \underbrace{\tfrac12\, \mathbf g_s^\top (\mathbf H - \boldsymbol{\mathcal I}_s)^{-1} \mathbf g_s}_{\text{sensitivity}} + \underbrace{\tfrac12 \log\big| \mathbf H^{-1}(\mathbf H - \boldsymbol{\mathcal I}_s) \big|}_{\text{volume}}. \end{aligned} \] [2nd] exists \(\iff (\small\mathbf H - \boldsymbol{\mathcal I}_s) \succ \mathbf 0\), i.e., \(\small k_s := \lambda_{\max}(\mathbf H^{-1}\boldsymbol{\mathcal I}_s) < 1\).

  • \((\mathbf H - \boldsymbol{\mathcal I}_s)\) is the leave-\(s\)-out precision, and \(\tilde{\boldsymbol\vartheta} - (\mathbf H - \boldsymbol{\mathcal I}_s)^{-1}\mathbf g_s\) is one Newton step to the deleted mode (Alhyari et al., 2026). Note: \(\tilde{\boldsymbol\vartheta}\) need not be the mode—we use the VB centre.
  • \(k_s < 1\): no direction in which \(s\) carries all the precision. Under the Gaussian, this is exactly when the harmonic-mean expectation \(\operatorname{E}_{\boldsymbol\vartheta \mid \mathbf y}\big[1/\pi(\mathbf y_s \mid \boldsymbol\vartheta)\big]\) is finite.

Model comparison in practice

fit_bollen   <- asem(mod_bollen,   PoliticalDemocracy, meanstructure = TRUE)  # Bollen (1989)
fit_nodirect <- asem(mod_nodirect, PoliticalDemocracy, meanstructure = TRUE)  # drop dem65~ind60
fit_nocov    <- asem(mod_nocov,    PoliticalDemocracy, meanstructure = TRUE)  # drop residual covs
compare(fit_bollen, fit_nodirect, fit_nocov, loo = TRUE)
Bayesian Model Comparison (INLAvaan)
Models ordered by ELPD (Taylor LOO, second-order)
elpd_diff/se_diff are paired differences vs the best model

        Model npar Marg.Loglik  logBF      DIC     pD      ELPD     SE  p_loo elpd_diff se_diff
   fit_bollen   42   -1697.938 -1.156 3179.035 41.050 -1590.199 20.256 40.457     0.000   0.000
 fit_nodirect   41   -1696.782  0.000 3181.335 39.133 -1591.882 19.746 39.144    -1.683   2.316
    fit_nocov   36   -1703.182 -6.401 3201.623 35.436 -1600.126 20.195 33.065    -9.927   6.609

INLAvaan HMC + PSIS
ELPD (bollen) −1590.2 −1591.6
Δ (nodirect) −1.7 −1.9
Δ (nocov) −9.9 −9.3
Time per model 1.2 s + 0.07 s 30 s + PSIS

HMC: 30,000 draws on three cores.

First or second order? A free check

  • Given the Gaussian summary, the only error is the Taylor truncation: per subject \(O(n^{-1})\) at first order and \(O(n^{-2})\) at second (\(m\) fixed). Summed over the \(n\) subjects, that is \(O(1)\) against \(O(n^{-1})\), so only the second order converges.
  • The two orders differ by \(\tfrac12\operatorname{tr}(\boldsymbol\Omega\boldsymbol{\mathcal I}_s) + O(n^{-2})\) per subject, and in total \[ \sum_{s=1}^n \Big[ \log\hat\pi^{(1)}(\mathbf y_s \mid \mathbf y_{-s}) - \log\hat\pi^{(2)}(\mathbf y_s \mid \mathbf y_{-s}) \Big] = \tfrac12 \underbrace{\operatorname{tr}(\boldsymbol\Omega\boldsymbol{\mathcal I})}_{p_{\text{eff}}} + O(n^{-1}), \qquad \boldsymbol{\mathcal I} = \textstyle\sum_s \boldsymbol{\mathcal I}_s, \] the effective number of parameters of DIC and WAIC (Spiegelhalter et al., 2002; Watanabe, 2010), with \(p_{\text{eff}} \leq m\).
  • So the first order is optimistic by \(\tfrac12 p_{\text{eff}}\), which favours bigger models: compare models at second order. loo() prints the summed gap against \(\tfrac12 p_{\text{eff}}\) as a free check on the truncation.
  • Under the Gaussian, first-order WAIC is the same score: \(\operatorname{lppd}_s = \ell_s + \tfrac12 \mathbf g_s^\top\boldsymbol\Omega\mathbf g_s\) and \(p_{\text{WAIC},s} = \operatorname{Var}(\ell_s) = \mathbf g_s^\top\boldsymbol\Omega\mathbf g_s\).
  • Cost: \(\ell_s\) and \(\mathbf g_s\) are closed form, and all \(n\) matrices \(\boldsymbol{\mathcal I}_s\) come from central differences of the analytic scores, \(2m\) score evaluations in total. On Political Democracy, 0.06 s after the fit.

References

Alhyari, M., Jamil, H., Montcho, H., & Rue, H. (2026). Deterministic leave-one-cluster-out cross-validation for multilevel Bayesian structural equation models (2609.00670 [stat.ME]). arXiv. https://doi.org/10.48550/arXiv.2609.00670 (Pre-published)
Dang, K.-D., & Maestrini, L. (2022). Fitting structural equation models via variational approximations. Structural Equation Modeling: A Multidisciplinary Journal, 29(6), 839–853. https://doi.org/10.1080/10705511.2022.2053857
Fujimoto, K. A., & Falk, C. F. (2024). The accuracy of Bayesian model fit indices in selecting among multidimensional item response theory models. Educational and Psychological Measurement, 84(2), 217–244. https://doi.org/10.1177/00131644231165520
Garnier-Villarreal, M., & Jorgensen, T. D. (2020). Adapting fit indices for Bayesian structural equation modeling: Comparison to maximum likelihood. Psychological Methods, 25(1), 46–70. https://doi.org/10.1037/met0000224
Gelfand, A. E., Dey, D. K., & Chang, H. (1992). Model determination using predictive distributions with implementation via sampling-based methods. In J. M. Bernardo, J. O. Berger, A. P. Dawid, & A. F. M. Smith (Eds.), Bayesian statistics 4 (pp. 147–167). Oxford University Press. https://doi.org/10.1093/oso/9780198522669.003.0009
Kass, R. E., & Raftery, A. E. (1995). Bayes factors. Journal of the American Statistical Association, 90(430), 773–795. https://doi.org/10.1080/01621459.1995.10476572
Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A., & Blei, D. M. (2017). Automatic differentiation variational inference. Journal of Machine Learning Research, 18(14), 1–45. http://jmlr.org/papers/v18/16-107.html
Lindley, D. V. (1980). Approximate Bayesian methods. Trabajos de Estadística y de Investigación Operativa, 31(1), 223–245. https://doi.org/10.1007/BF02888353
Merkle, E. C., Fitzsimmons, E., Uanhoro, J., & Goodrich, B. (2021). Efficient Bayesian structural equation modeling in Stan. Journal of Statistical Software, 100(6), 1–22. https://doi.org/10.18637/jss.v100.i06
Merkle, E. C., Furr, D., & Rabe-Hesketh, S. (2019). Bayesian comparison of latent variable models: Conditional versus marginal likelihoods. Psychometrika, 84(3), 802–829. https://doi.org/10.1007/s11336-019-09679-0
Rue, H., Martino, S., & Chopin, N. (2009). Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 71(2), 319–392. https://doi.org/10.1111/j.1467-9868.2008.00700.x
Spiegelhalter, D. J., Best, N. G., Carlin, B. P., & van der Linde, A. (2002). Bayesian measures of model complexity and fit. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 64(4), 583–639. https://doi.org/10.1111/1467-9868.00353
Talts, S., Betancourt, M., Simpson, D. P., Vehtari, A., & Gelman, A. (2020). Validating Bayesian inference algorithms with simulation-based calibration. https://doi.org/10.48550/arXiv.1804.06788
van Niekerk, J., & Rue, H. (2024). Low-rank variational Bayes correction to the Laplace method. Journal of Machine Learning Research, 25(62), 1–25. https://jmlr.org/papers/v25/21-1405.html
Vehtari, A., Gelman, A., & Gabry, J. (2017). Practical Bayesian model evaluation using leave-one-out cross-validation and WAIC. Statistics and Computing, 27(5), 1413–1432. https://doi.org/10.1007/s11222-016-9696-4
Vehtari, A., Simpson, D., Gelman, A., Yao, Y., & Gabry, J. (2024). Pareto smoothed importance sampling. Journal of Machine Learning Research, 25(72), 1–58. https://jmlr.org/papers/v25/19-556.html
Watanabe, S. (2010). Asymptotic equivalence of Bayes cross validation and widely applicable information criterion in singular learning theory. Journal of Machine Learning Research, 11(116), 3571–3594. https://www.jmlr.org/papers/v11/watanabe10a.html
Wolpert, R. L., & Schmidler, S. C. (2012). \(\alpha\)-stable limit laws for harmonic mean estimators of marginal likelihoods. Statistica Sinica, 22(3), 1233–1251. https://doi.org/10.5705/ss.2010.221