babebi: Bayesian Estimation and Validation for Small-N Designs with
Rater Bias
Approximate Bayesian inference and Monte Carlo validation for
small-N repeated-measures designs with two time points and two raters.
The package is intended for applications in which sample size is limited
and the observed outcome may be affected by rater-specific bias.
User-supplied data are standardised into a common long-format structure.
Pre-post effects are analysed using difference scores in a linear model
with a rater indicator as covariate. Posterior summaries for the
regression coefficients are obtained from a large-sample normal
approximation centred at the least-squares estimate with plug-in
covariance under a flat improper prior. Evidence for a non-zero
pre-post effect, adjusted for rater differences, is summarised using a
BIC-based approximation to the Bayes factor for comparison between
models with and without the pre-post effect. Monte Carlo validation uses
design quantities estimated from the observed data, including sample
size, mean pre-post change, and second-rater additive discrepancy, and
summarises inferential performance in terms of bias, root mean squared
error, credible interval coverage, posterior tail probabilities, and
mean Bayes factor values. For background on the BIC approximation and
Bayes factors, see Schwarz (1978)
<doi:10.1214/aos/1176344136> and Kass and Raftery (1995)
<doi:10.1080/01621459.1995.10476572>.
| Version: |
0.1.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
stats, graphics |
| Suggests: |
testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: |
2026-04-23 |
| DOI: |
10.32614/CRAN.package.babebi (may not be active yet) |
| Author: |
Irene Gianeselli
[aut, cre] (affiliation: Free University of Bozen-Bolzano),
Andrea Bosco
[aut] (affiliation: University of Bari Aldo Moro),
Demis Basso [aut]
(affiliation: Free University of Bozen-Bolzano) |
| Maintainer: |
Irene Gianeselli <irene.gianeselli at unibz.it> |
| License: |
GPL-3 |
| NeedsCompilation: |
no |
| CRAN checks: |
babebi results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=babebi
to link to this page.