babebi requires two occasions and two raters, with one
recorded outcome in each of the four cells for every subject. The
independent sampling unit is the subject; raters are fixed roles, not a
random sample of a rater population. Set the ordering of occasions and
raters explicitly. Missing cells, more than two raters, clustered
subjects and causal intervention effects without an adequate design are
outside this framework.
Write \(D_{ij}=Y_{i,post,j}-Y_{i,pre,j}\), \(\beta=E(D_{i1})\) and \(\gamma=E(D_{i2}-D_{i1})\). The reference-rater effect is \(\beta\), the second-rater effect is \(\beta+\gamma\), and the equally weighted mean change is \(\beta+\gamma/2\). Choose the target before analysis. None of these identifies latent true change, a gold-standard rater, or a causal treatment effect without additional assumptions.
| Research question or data condition | Workflow | Why and limitations |
|---|---|---|
| Reproduce the original published workflow or a previous analysis | babebi() or fit_model() |
Uses independent, equal-variance Gaussian changes and a plug-in normal posterior approximation. BIC evidence is asymptotic. |
| Numeric changes with independent subjects and a common variance; independence of the two changes is substantively defensible | fit_bivariate(model = "M0") |
Exact conjugate posterior; under the reference prior the coefficient distribution is Student t. |
| Different variances, negligible residual correlation | fit_bivariate(model = "M1") |
Separate variance parameters. General contrasts can require numerical convolution. |
| Dependent changes, common variance | fit_bivariate(model = "M2") |
Correlation estimated in the sum/difference basis. |
| Dependent changes and potentially different variances | fit_bivariate(model = "M3") |
Unrestricted covariance; reference posterior requires at least three subjects and positive-definite scatter. Proper priors can support some singular designs. |
| Ordered categories with no defensible interval scale | fit_ordinal() |
Hierarchical cumulative probit with common thresholds and correlated subject occasion effects; requires proper priors and MCMC diagnostics. |
| Agreement on individual continuous changes | agreement_bivariate() |
Predictive discrepancy, limits of agreement, practical margins; mean equivalence alone is insufficient. |
| Comparison of statistical performance | validate_bivariate() /
validate_ordinal() |
Fixed-generative-parameter simulations; report Monte Carlo uncertainty and failures. |
| Algorithmic calibration under a proper prior | sbc_bivariate() |
Prior-predictive rank check; not a test of real-world model fit. |
Do not select independence simply because a small-sample correlation test is non-significant. A proper prior regularises an uncertain covariance but may strongly influence a small-sample posterior. Choose plausible covariance structures and examine sensitivity to priors and to distributional misspecification. No sample-size cutoff alone guarantees reliable estimation. Gaussian change scores may be unsuitable for bounded, heavily skewed or sparse ordinal outcomes.
For continuous models,
posterior_bivariate(fit, prior = "reference") gives a
model-specific improper prior posterior when proper. It cannot provide
ordinary marginal likelihoods or Bayes factors. Use
bivariate_prior() with scientifically justified
hyperparameters for evidence and regularisation.
bayesfactor_bivariate() addresses hypotheses about a
contrast; compare_bivariate() compares covariance models.
The point-null BF uses the conditional prior on nuisance parameters
induced by the encompassing prior. The BIC-based basic BF is a separate
approximation, not the same quantity evaluated under the reference
prior.
For an agreement question, specify an acceptable discrepancy in outcome units and, if relevant, a minimum proportion of individuals expected to agree. For ordinal outcomes, report latent probit contrasts separately from changes in marginal category probabilities; these are not numeric-score contrasts or individual transitions. The common-threshold assumption does not establish longitudinal measurement invariance.
The basic vignette reproduces the original modelling assumptions. The advanced vignette uses the same estimands, adds dependence, variance uncertainty, agreement and simulation comparisons, and illustrates the ordinal extension.
The authors thank Professor Massimiliano Pastore (University of Padova, Italy) for his methodological guidance on simulation-based approaches at the Advanced Summer School on Bayesian statistical methods organised by the Italian Association of Psychology (Bertinoro, Italy, 2025).
Irene Gianeselli was supported by project PROBEN_0000004, The Four Challenges for the Promotion of Psychophysical Well-Being: an Intervention Model to Counter Smartphone Addiction (4Ch4WB, Four Challenges for Well-Being) (CUP I53C24001340001), funded by the Italian Ministry of University and Research under Ministerial Decree No. 1159 of 23 July 2023 (PROBEN Call).
Gianeselli, I., Bosco, A., & Basso, D. (2026). babebi: An R package for Bayesian estimation and validation in small-N two-rater pre–post designs. Applied Psychological Measurement. https://doi.org/10.1177/01466216261465754