Package: babebi 0.1.0

Irene Gianeselli
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>.
Authors:
babebi_0.1.0.tar.gz
babebi_0.1.0.tar.gz(r-4.7-any)babebi_0.1.0.tar.gz(r-4.6-any)
babebi_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
babebi/json (API)
| # Install 'babebi' in R: |
| install.packages('babebi', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:aa79b08b62. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 150 | ||
| source / vignettes | OK | 156 | ||
| linux-release-x86_64 | OK | 110 | ||
| wasm-release | OK | 89 |
Exports:babebifit_modelmontecarlo_from_data
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Run the babebi workflow on user-supplied data | babebi |
| Fit the babebi model to observed data | fit_model |
| Run Monte Carlo calibration from user-supplied data | montecarlo_from_data |
| Plot a babebi fit object | plot.babebi_fit |
| Print a babebi fit object | print.babebi_fit |
| Print a babebi validation object | print.babebi_validation |
| Print a summary of a babebi fit object | print.summary.babebi_fit |
| Summarise a babebi fit object | summary.babebi_fit |