{
  "_id": "6a1048acacfb0bcc41c9f420",
  "Package": "bayesics",
  "Title": "Bayesian Analyses for One- and Two-Sample Inference and\nRegression Methods",
  "Version": "2.1.1",
  "Authors@R": "c(person(\"Daniel K.\", \"Sewell\", , \"daniel-sewell@uiowa.edu\",\nrole = c(\"aut\", \"cre\",\"cph\"),\ncomment = c(ORCID = \"0000-0002-9238-4026\") ),\nperson(\"Alan\", \"Arakkal\", , \"alan-arakkal@uiowa.edu\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-7001-493X\") ))",
  "Maintainer": "Daniel K. Sewell <daniel-sewell@uiowa.edu>",
  "Description": "Perform fundamental analyses using Bayesian parametric and\nnon-parametric inference (regression, anova, 1 and 2 sample\ninference, non-parametric tests, etc.).  (Practically) no\nMarkov chain Monte Carlo (MCMC) is used; all exact finite\nsample inference is completed via closed form solutions or else\nthrough posterior sampling automated to ensure precision in\ninterval estimate bounds. Diagnostic plots for model\nassessment, and key inferential quantities (point and interval\nestimates, probability of direction, region of practical\nequivalence, and Bayes factors) and model visualizations are\nprovided. Bayes factors are computed either by the Savage\nDickey ratio given in Dickey (1971)\n<doi:10.1214/aoms/1177693507> or by Chib's method as given in\nxxx. Interpretations are from Kass and Raftery (1995)\n<doi:10.1080/01621459.1995.10476572>.  ROPE bounds are based on\ndiscussions in Kruschke (2018) <doi:10.1177/2515245918771304>.\nMethods for determining the number of posterior samples\nrequired are described in Doss et al. (2014)\n<doi:10.1214/14-EJS957>. Bayesian model averaging is done in\npart by Feldkircher and Zeugner (2015)\n<doi:10.18637/jss.v068.i04>. Methods for contingency table\nanalysis is described in Gunel et al. (1974)\n<doi:10.1093/biomet/61.3.545>. Variational Bayes (VB) methods\nare described in Salimans and Knowles (2013)\n<doi:10.1214/13-BA858>. Mediation analysis uses the framework\ndescribed in Imai et al. (2010) <doi:10.1037/a0020761>. The\nloss-likelihood bootstrap used in the non-parametric regression\nmodeling is described in Lyddon et al. (2019)\n<doi:10.1093/biomet/asz006>. Non-parametric survival methods\nare described in Qing et al. (2023) <doi:10.1002/pst.2256>.\nMethods used for the Bayesian Wilcoxon signed-rank analysis is\ngiven in Chechile (2018) <doi:10.1080/03610926.2017.1388402>\nand for the Bayesian Wilcoxon rank sum analysis in Chechile\n(2020) <doi:10.1080/03610926.2018.1549247>.  Correlation\nanalysis methods are carried out by Barch and Chechile (2023)\n<doi:10.32614/CRAN.package.DFBA>, and described in Lindley and\nPhillips (1976) <doi:10.1080/00031305.1976.10479154> and\nChechile and Barch (2021) <doi:10.1016/j.jmp.2021.102638>.  See\nalso Chechile (2020, ISBN: 9780262044585).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/dksewell/bayesics",
  "BugReports": "https://github.com/dksewell/bayesics/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://dksewell.r-universe.dev",
  "Date/Publication": "2026-03-11 13:00:30 UTC",
  "RemoteUrl": "https://github.com/dksewell/bayesics",
  "RemoteRef": "HEAD",
  "RemoteSha": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 08:52:55 UTC",
    "User": "root"
  },
  "Author": "Daniel K. Sewell [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-9238-4026>),\nAlan Arakkal [aut] (ORCID: <https://orcid.org/0000-0002-7001-493X>)",
  "MD5sum": "2c281352759c2dc28d0e8d45937a3ffe",
  "_user": "dksewell",
  "_type": "src",
  "_file": "bayesics_2.1.1.tar.gz",
  "_fileid": "53dd2c48c405440ba1c181fde57a807743c54c463ae690be2232da71646072b8",
  "_filesize": 496918,
  "_sha256": "53dd2c48c405440ba1c181fde57a807743c54c463ae690be2232da71646072b8",
  "_created": "2026-05-10T08:52:55.000Z",
  "_published": "2026-05-22T12:14:36.100Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77377134102,
      "time": 376,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902493518"
    },
    {
      "job": 77377134138,
      "time": 376,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902493354"
    },
    {
      "job": 77377133810,
      "time": 276,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902616355"
    },
    {
      "job": 77377134191,
      "time": 321,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902572351"
    },
    {
      "job": 77377133583,
      "time": 253,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902457832"
    },
    {
      "job": 77377133452,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160208518"
    },
    {
      "job": 77377133824,
      "time": 427,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902498277"
    },
    {
      "job": 77377134148,
      "time": 453,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902501149"
    },
    {
      "job": 77377134091,
      "time": 421,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902498292"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dksewell/bayesics",
  "_commit": {
    "id": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
    "author": "dksewell <dksewell@uiowa.edu>",
    "committer": "dksewell <dksewell@uiowa.edu>",
    "message": "Added drop=FALSE into design matrix for new default hyperparameters in lm_b cojugate prior\n",
    "time": 1773234030
  },
  "_maintainer": {
    "name": "Daniel K. Sewell",
    "email": "daniel-sewell@uiowa.edu",
    "login": "dksewell",
    "uuid": 17008494,
    "orcid": "0000-0002-9238-4026"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "extraDistr",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "BMS",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "DFBA",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "datasets",
      "role": "Suggests"
    },
    {
      "package": "rstanarm",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "splines",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "dksewell",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 5
    },
    {
      "week": "2025-45",
      "n": 8
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-47",
      "n": 9
    },
    {
      "week": "2025-48",
      "n": 11
    },
    {
      "week": "2025-49",
      "n": 13
    },
    {
      "week": "2025-50",
      "n": 16
    },
    {
      "week": "2025-51",
      "n": 12
    },
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 19
    },
    {
      "week": "2026-03",
      "n": 26
    },
    {
      "week": "2026-04",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 6
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "a1arakkal",
      "count": 28,
      "uuid": 56091586
    }
  ],
  "_userbio": {
    "uuid": 17008494,
    "type": "user",
    "name": "DKS"
  },
  "_downloads": {
    "count": 530,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bayesics"
  },
  "_devurl": "https://github.com/dksewell/bayesics",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bayesics.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dksewell/bayesics",
  "_realowner": "dksewell",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.2",
      "date": "2026-02-06"
    },
    {
      "version": "2.1.0",
      "date": "2026-02-20"
    },
    {
      "version": "2.1.1",
      "date": "2026-03-11"
    }
  ],
  "_exports": [
    "aov_b",
    "bayes_factors",
    "binom_test_b",
    "bma_inference",
    "case_control_b",
    "cor_test_b",
    "credint",
    "DIC",
    "find_beta_parms",
    "find_invgamma_parms",
    "frac_bayes_factors",
    "get_posterior_draws",
    "glm_b",
    "heteroscedasticity_test",
    "independence_b",
    "lm_b",
    "mediate_b",
    "negbinom",
    "np_glm_b",
    "poisson_test_b",
    "prop_test_b",
    "sign_test_b",
    "Surv",
    "survfit_b",
    "t_test_b",
    "WAIC",
    "wilcoxon_test_b"
  ],
  "_help": [
    {
      "page": "aov_b",
      "title": "Analysis of Variance using Bayesian methods",
      "topics": [
        "aov_b"
      ]
    },
    {
      "page": "bayes_factors",
      "title": "Bayes factors for lm_b, glm_b, and survfit_b",
      "topics": [
        "bayes_factors",
        "bayes_factors.glm_b",
        "bayes_factors.lm_b",
        "bayes_factors.survfit_b"
      ]
    },
    {
      "page": "bma_inference",
      "title": "Bayesian model averaging",
      "topics": [
        "bma_inference"
      ]
    },
    {
      "page": "case_control_b",
      "title": "Case-Control Analysis",
      "topics": [
        "case_control_b"
      ]
    },
    {
      "page": "chisq_test_b",
      "title": "Test of independence for 2-way contingency tables",
      "topics": [
        "chisq_test_b",
        "independence_b"
      ]
    },
    {
      "page": "coef",
      "title": "Coefficient extraction for bayesics objects",
      "topics": [
        "coef",
        "coef.aov_b",
        "coef.glm_b",
        "coef.lm_b",
        "coef.lm_b_bma",
        "coef.np_glm_b"
      ]
    },
    {
      "page": "cor_test_b",
      "title": "Test for Association/Correlation Between Paired Samples via Kendall's tau",
      "topics": [
        "cor_test_b",
        "cor_test_b.default",
        "cor_test_b.formula"
      ]
    },
    {
      "page": "credint",
      "title": "Credible Intervals for Model Parameters",
      "topics": [
        "credint",
        "credint.aov_b",
        "credint.glm_b",
        "credint.lm_b",
        "credint.lm_b_bma",
        "credint.np_glm_b"
      ]
    },
    {
      "page": "find_beta_parms",
      "title": "Find parameters for Beta prior based on prior mean and one quantile",
      "topics": [
        "find_beta_parms"
      ]
    },
    {
      "page": "find_invgamma_parms",
      "title": "Find parameters for Inverse gamma prior based on prior mean and one quantile",
      "topics": [
        "find_invgamma_parms"
      ]
    },
    {
      "page": "frac_bayes_factors",
      "title": "Fractional Bayes factors",
      "topics": [
        "frac_bayes_factors"
      ]
    },
    {
      "page": "get_posterior_draws",
      "title": "Get posterior samples from lm_b object",
      "topics": [
        "get_posterior_draws"
      ]
    },
    {
      "page": "glm_b",
      "title": "Bayesian Generalized Linear Models",
      "topics": [
        "glm_b"
      ]
    },
    {
      "page": "heteroscedasticity_test",
      "title": "Test for heteroscedasticity in AOV models",
      "topics": [
        "heteroscedasticity_test",
        "var_test_b"
      ]
    },
    {
      "page": "IC",
      "title": "Compute AIC, BIC, DIC, or WAIC for aov_b or lm_b objects.  (Lower is better.)",
      "topics": [
        "AIC",
        "AIC.aov_b",
        "AIC.glm_b",
        "AIC.lm_b",
        "BIC",
        "BIC.aov_b",
        "BIC.glm_b",
        "BIC.lm_b",
        "DIC",
        "DIC.aov_b",
        "DIC.glm_b",
        "DIC.lm_b",
        "IC",
        "WAIC",
        "WAIC.aov_b",
        "WAIC.glm_b",
        "WAIC.lm_b"
      ]
    },
    {
      "page": "lm_b",
      "title": "Bayesian Linear Models",
      "topics": [
        "lm_b"
      ]
    },
    {
      "page": "mediate_b",
      "title": "Mediation using Bayesian methods",
      "topics": [
        "mediate_b"
      ]
    },
    {
      "page": "negbinom",
      "title": "Negative-binomial family",
      "topics": [
        "negbinom"
      ]
    },
    {
      "page": "np_glm_b",
      "title": "Non-parametric linear models",
      "topics": [
        "np_glm_b"
      ]
    },
    {
      "page": "plot",
      "title": "Plots bayesics objects.",
      "topics": [
        "plot",
        "plot.aov_b",
        "plot.glm_b",
        "plot.lm_b",
        "plot.lm_b_bma",
        "plot.mediate_b",
        "plot.np_glm_b",
        "plot.survfit_b"
      ]
    },
    {
      "page": "poisson_test_b",
      "title": "Poisson tests",
      "topics": [
        "poisson_test_b"
      ]
    },
    {
      "page": "predict.aov_b",
      "title": "Predict method for aov_b model fits",
      "topics": [
        "predict.aov_b"
      ]
    },
    {
      "page": "predict.glm_b",
      "title": "Predict method for glm_b model fits",
      "topics": [
        "predict.glm_b"
      ]
    },
    {
      "page": "predict.lm_b",
      "title": "Predict method for lm_b model fits",
      "topics": [
        "predict.lm_b"
      ]
    },
    {
      "page": "predict.lm_b_bma",
      "title": "Predict method for bma model fits",
      "topics": [
        "predict.lm_b_bma"
      ]
    },
    {
      "page": "predict.np_glm_b",
      "title": "Predict method for lm_b model fits",
      "topics": [
        "predict.np_glm_b"
      ]
    },
    {
      "page": "print",
      "title": "Print bayesics objects.",
      "topics": [
        "print",
        "print.aov_b",
        "print.glm_b",
        "print.lm_b",
        "print.lm_b_bma",
        "print.mediate_b",
        "print.np_glm_b",
        "print.survfit_b"
      ]
    },
    {
      "page": "prop_test_b",
      "title": "Bayesian test of Equal or Given Proportions",
      "topics": [
        "binom_test_b",
        "prop_test_b"
      ]
    },
    {
      "page": "sign_test_b",
      "title": "Paired sign test",
      "topics": [
        "sign_test_b"
      ]
    },
    {
      "page": "summary",
      "title": "Summary functions for bayesics objects",
      "topics": [
        "summary",
        "summary.aov_b",
        "summary.glm_b",
        "summary.lm_b",
        "summary.lm_b_bma",
        "summary.mediate_b",
        "summary.np_glm_b"
      ]
    },
    {
      "page": "Surv",
      "title": "Create a Survival Object",
      "topics": [
        "Surv"
      ]
    },
    {
      "page": "survfit_b",
      "title": "Create survival curves",
      "topics": [
        "survfit_b"
      ]
    },
    {
      "page": "t_test_b",
      "title": "t-test",
      "topics": [
        "t_test_b"
      ]
    },
    {
      "page": "vcov",
      "title": "Calculate Posterior Variance-Covariance Matrix for a Bayesian Fitted Model Object",
      "topics": [
        "vcov",
        "vcov.aov_b",
        "vcov.glm_b",
        "vcov.lm_b",
        "vcov.np_glm_b"
      ]
    },
    {
      "page": "wilcoxon_test_b",
      "title": "Bayesian Wilcoxon Rank Sum (aka Mann-Whitney U) and Signed Rank Analyses",
      "topics": [
        "wilcoxon_test_b"
      ]
    }
  ],
  "_readme": "https://github.com/dksewell/bayesics/raw/HEAD/README.md",
  "_rundeps": [
    "BMS",
    "cli",
    "cluster",
    "codetools",
    "cpp11",
    "DFBA",
    "digest",
    "dplyr",
    "extraDistr",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "janitor",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "parallelly",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "snakecase",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.929418925714293,
  "_indexed": true,
  "_nocasepkg": "bayesics",
  "_universes": [
    "dksewell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-05-10T08:55:37.000Z",
      "distro": "noble",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "6c1a0661ec33821acd30b28dbdbd7c71cbdcb801c9405f70e5cfe6aa159faa1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-05-10T08:55:59.000Z",
      "distro": "noble",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "dbf64f81eb063923e725b8044e2aa5121a7226fa58fb733f7133aca9d0e0a529",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-05-10T09:19:05.000Z",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "59a43b4b70807a827ef8924af57d137c3a06fa8ac5e7472343815e1d88640444",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-05-10T09:10:16.000Z",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "f3885536dcb87eb5a71ea3994b4eb46a3fcd167098221b340e8445cfbbdbee78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-10T08:54:41.000Z",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "898c18f870e742797009d4c0dbe7e156c811b909486762ea67f565fd640239ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-10T08:56:13.000Z",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "81d8f8c57ef337d335ece32e3776ff084a2682eb50202acab125a144c65e887f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-10T08:55:50.000Z",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "b70189f0fb359591d5adf407b0e832e1343601447475b4d1ba42dbcd90b0b48c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.1",
      "date": "2026-05-22T12:14:14.000Z",
      "commit": "c2ddda91e5f0e4bc21f91d95363ab23d85f3f014",
      "fileid": "4f60620af36d0a26d5a6a74a7a636286cc87bdd7ee7acfd8474ecbbc4302f269",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dksewell/actions/runs/25624439933"
    }
  ]
}