Skip to content

bayesics

3.0.0

Bayesian Analyses for One- and Two-Sample Inference and Regression Methods

0packages depend
2.7Kdownloads / year
74.2%test coverage
13/13checks pass

Overview

About
Maintained by Daniel K. SewellFirst published 2026-02-064 releasesCRAN page ↗GitHub ↗

Perform fundamental analyses using Bayesian parametric and non-parametric inference (regression, anova, 1 and 2 sample inference, non-parametric tests, etc.). (Practically) no Markov chain Monte Carlo (MCMC) is used; all exact finite sample inference is completed via closed form solutions or else through posterior sampling automated to ensure precision in interval estimate bounds. Diagnostic plots for model assessment, and key inferential quantities (point and interval estimates, probability of direction, region of practical equivalence, and Bayes factors) and model visualizations are provided. Bayes factors are computed either by the Savage Dickey ratio given in Dickey (1971) doi:10.1214/aoms/1177693507 or by Chib's method as given in doi:10.1080/01621459.1995.10476635. Interpretations are from Kass and Raftery (1995) doi:10.1080/01621459.1995.10476572. ROPE bounds are based on discussions in Kruschke (2018) doi:10.1177/2515245918771304. Methods for determining the number of posterior samples required are described in Doss et al. (2014) doi:10.1214/14-EJS957. Bayesian model averaging is done in part by Feldkircher and Zeugner (2015) doi:10.18637/jss.v068.i04. Methods for contingency table analysis is described in Gunel et al. (1974) doi:10.1093/biomet/61.3.545. Variational Bayes (VB) methods are described in Salimans and Knowles (2013) doi:10.1214/13-BA858. Mediation analysis uses the framework described in Imai et al. (2010) doi:10.1037/a0020761. The loss-likelihood bootstrap used in the non-parametric regression modeling is described in Lyddon et al. (2019) doi:10.1093/biomet/asz006. Non-parametric survival methods are described in Qing et al. (2023) doi:10.1002/pst.2256. Methods used for the Bayesian Wilcoxon signed-rank analysis is given in Chechile (2018) doi:10.1080/03610926.2017.1388402 and for the Bayesian Wilcoxon rank sum analysis in Chechile (2020) doi:10.1080/03610926.2018.1549247. Correlation analysis methods are carried out by Barch and Chechile (2023) doi:10.32614/CRAN.package.DFBA, and described in Lindley and Phillips (1976) doi:10.1080/00031305.1976.10479154 and Chechile and Barch (2021) doi:10.1016/j.jmp.2021.102638. See also Chechile (2020, ISBN: 9780262044585).

Install

Health

CRAN checks
13OK
Slowest check: 12.0 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.53
74.2%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
12%
Documented parameters
93%
Return-value docs
89%
References docs
37%

Downloads

2.7K
CRAN downloads in the past year
Rank #7,426 · ~7/day · ~228/mo
Daily download trend is not available in this view yet.
38630 days
1.4K90 days
2.7K1 year
Compare downloads with other packages →
Also on60 r2u62 autocran

Repository

Repository
1Stars
0Forks
4Open issues
0Open PRs
0Releases
3Contributors
Last activity 2026-07-13

Stars over time

2026-07-07 · 02026-07-16 · 1

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/dksewell/bayesics on 2026-07-19.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (5)
datasetsrstanarmknitrsplinestestthat
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 22,445 (87%)Rd 3,423 (13%)
Code characteristics
Object systems
S340
Cyclomatic complexity
7.0 median / 86 max
Test cases
49 / 0.53 per code line

Test coverage

Line coverage

74%

Expression

71.0%

Tests / Examples

74.2% / 3% ex

Functions

69 29 exported

Complexity

13.9 avg / 86 max

Call network

69 nodes / 19 edges

Loading call graph…

Lowest coverage

69 functions
FunctionCycloCoverage
plot.mediate_b80%
plot_bands.aov_b60%
plot_dx.aov_b40%
plot_dx.mediate_b100%
print.aov_b20%
print.b_procedure160%

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 3.0.0Latest
    2026-07-14 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.1
    2026-03-11 · diff ↗
  • 2.1.0
    2026-02-21 · diff ↗
  • 2.0.2
    2026-02-06
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-06
Total releases
4 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
131 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →