Package: babebi
Type: Package
Title: Bayesian Estimation and Validation for Small-N Designs with
        Rater Bias
Version: 1.0.0
Authors@R: c(
    person(
      given = "Irene",
      family = "Gianeselli",
      email = "irene.gianeselli@unibz.it",
      role = c("aut", "cre"),
      comment = c(
        ORCID = "0000-0002-8689-3035",
        affiliation = "Free University of Bozen-Bolzano"
      )
    ),
    person(
      given = "Andrea",
      family = "Bosco",
      role = "aut",
      comment = c(
        ORCID = "0000-0002-9458-3993",
        affiliation = "University of Bari Aldo Moro"
      )
    ),
    person(
      given = "Demis",
      family = "Basso",
      role = "aut",
      comment = c(
        ORCID = "0000-0002-4595-3513",
        affiliation = "Free University of Bozen-Bolzano"
      )
    )
  )
Description: Analyses complete two-time, two-rater repeated-measures designs.
    The original workflow uses a normal approximation to the posterior of a
    change-score regression with plug-in residual variance, a Bayesian
    information criterion (BIC) approximation to a Bayes factor, and a
    simplified Monte Carlo simulation. The extended workflow provides
    bivariate Gaussian change-score models with four covariance structures,
    exact conjugate posterior distributions under model-specific reference
    or proper priors, and posterior and predictive contrasts. Proper priors
    enable marginal likelihoods, Bayes factors and prior sensitivity
    analyses. Agreement analysis distinguishes mean discrepancies from
    individual predictive agreement. The package includes comparative
    simulation studies, empirical plug-in scenarios, Monte Carlo standard
    errors and simulation-based calibration. A hierarchical cumulative
    probit model supports ordinal outcomes using Gibbs sampling and
    convergence diagnostics. The original methods remain available for
    reproduction of Gianeselli, Bosco and Basso (2026)
    <doi:10.1177/01466216261465754>. See Morris, White and Crowther (2019)
    <doi:10.1002/sim.8086> for simulation design and Albert and Chib (1993)
    <doi:10.1080/01621459.1993.10476321> for latent Gaussian augmentation.
License: GPL-3
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: stats, graphics
Suggests: testthat (>= 3.0.0), knitr, rmarkdown
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.1
NeedsCompilation: no
VignetteBuilder: knitr
Packaged: 2026-12-01 11:57:05 UTC; irene
Author: Irene Gianeselli [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-8689-3035>, affiliation: Free
    University of Bozen-Bolzano),
  Andrea Bosco [aut] (ORCID: <https://orcid.org/0000-0002-9458-3993>,
    affiliation: University of Bari Aldo Moro),
  Demis Basso [aut] (ORCID: <https://orcid.org/0000-0002-4595-3513>,
    affiliation: Free University of Bozen-Bolzano)
Maintainer: Irene Gianeselli <irene.gianeselli@unibz.it>
Repository: CRAN
Date/Publication: 2026-12-01 23:20:49 UTC
