Package: bayesics 3.1.2

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

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).

Authors:Daniel K. Sewell [aut, cre, cph], Alan Arakkal [aut]

bayesics_3.1.2.tar.gz
bayesics_3.1.2.zip(r-4.7-any)bayesics_3.1.2.zip(r-4.6-any)bayesics_3.1.2.zip(r-4.5-any)
bayesics_3.1.2.tgz(r-4.6-any)bayesics_3.1.2.tgz(r-4.5-any)
bayesics_3.1.2.tar.gz(r-4.7-any)bayesics_3.1.2.tar.gz(r-4.6-any)
bayesics_3.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bayesics/json (API)

# Install 'bayesics' in R:
install.packages('bayesics', repos = c('https://dksewell.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dksewell/bayesics/issues

On CRAN:

Conda:

4.19 score 1 stars 6 scripts 524 downloads 29 exports 52 dependencies

Last updated from:679d65dcdb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK363
source / vignettesOK270
linux-releaseOK331
macos-releaseOK350
macos-oldrelOK288
windows-develOK314
windows-releaseOK341
windows-oldrelOK312
wasm-releaseOK129

Exports:aov_bbayes_factorsbayes_pvaluebma_inferencecase_control_bcor_test_bcredintDICfind_beta_parmsfind_invgamma_parmsfrac_bayes_factorsget_posterior_drawsglm_bheteroscedasticity_testindependence_blm_bmediate_bnegbinomnp_glm_bplot_bandsplot_dxpoisson_test_bprop_test_bsign_test_bSurvsurvfit_bt_test_bWAICwilcoxon_test_b

Dependencies:BMScliclustercodetoolscpp11DFBAdigestdplyrextraDistrfarverfuturefuture.applygenericsggplot2globalsgluegtablehmsisobandjanitorlabelinglatticelifecyclelistenvlubridatemagrittrMatrixmvtnormparallellypatchworkpillarpkgconfigpurrrR6RColorBrewerRcppRcppArmadillorlangS7scalessnakecasestringistringrsurvivaltibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Analysis of Variance Using Bayesian Methodsaov_b
'b_procedure' Objectsb_procedure-class
Bayes Factorsbayes_factors bayes_factors.glm_b bayes_factors.lm_b bayes_factors.survfit_b
Bayesian P-values for Regression Modelsbayes_pvalue bayes_pvalue.aov_b bayes_pvalue.lm_b
Bayesian Model Averagingbma_inference
Case-Control Analysiscase_control_b
Test of Independence for 2-way Contingency Tableschisq_test_b independence_b
Coefficient Extraction for 'bayesics' Objectscoef coef.aov_b coef.lm_b
Test for Association/Correlation Between Paired Samplescor_test_b cor_test_b.default cor_test_b.formula
Credible Intervals for Model Parameterscredint credint.aov_b credint.lm_b
Find Parameters for Beta Priorfind_beta_parms
Find Parameters for Inverse Gamma Priorfind_invgamma_parms
Fractional Bayes Factorsfrac_bayes_factors
Get Posterior Samplesget_posterior_draws get_posterior_draws.aov_b get_posterior_draws.lm_b
Bayesian Generalized Linear Modelsglm_b
Test for Heteroscedasticity in AOV Modelsheteroscedasticity_test var_test_b
Compute DIC or WAICDIC DIC.aov_b DIC.lm_b IC WAIC WAIC.aov_b WAIC.lm_b
Bayesian Linear Modelslm_b
'lm_b' Objectslm_b-class
Extract Log-LikelihoodlogLik.lm_b
Mediation using Bayesian Methodsmediate_b
Negative-Binomial Familynegbinom
Non-parametric Linear Modelsnp_glm_b
Plots 'bayesics' Objects.plot plot.b_procedure plot.lm_b plot.mediate_b plot.survfit_b
Plot Credible and Prediction Bandsplot_bands plot_bands.aov_b plot_bands.lm_b
Diagnostic Plots for Bayesian Regression Objectsplot_dx plot_dx.aov_b plot_dx.lm_b plot_dx.mediate_b
Poisson Procedurespoisson_test_b
Predict Method for 'bayesics' Model Fitspredict.aov_b predict.lm_b
Print 'bayesics' Objects.print print.aov_b print.b_procedure print.lm_b print.mediate_b print.survfit_b
Binomial Proceduresprop_test_b
Paired Sign Testsign_test_b
Summarizing 'bayesics' Fitssummary summary.aov_b summary.b_procedure summary.lm_b summary.mediate_b summary.survfit_b
Create a Survival ObjectSurv
Create Survival Curvessurvfit_b
t-testt_test_b
Calculate Posterior Variance-Covariance Matrix for a Bayesian Fitted Model Objectvcov vcov.lm_b
Bayesian Wilcoxon Rank Sum (aka Mann-Whitney U) and Signed Rank Analyseswilcoxon_test_b