Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 2940 packages in 0.02 seconds

mederrRank — by Sergio Venturini, 3 years ago

Bayesian Methods for Identifying the Most Harmful Medication Errors

Two distinct but related statistical approaches to the problem of identifying the combinations of medication error characteristics that are more likely to result in harm are implemented in this package: 1) a Bayesian hierarchical model with optimal Bayesian ranking on the log odds of harm, and 2) an empirical Bayes model that estimates the ratio of the observed count of harm to the count that would be expected if error characteristics and harm were independent. In addition, for the Bayesian hierarchical model, the package provides functions to assess the sensitivity of results to different specifications of the random effects distributions.

BayesXsrc — by Nikolaus Umlauf, 3 months ago

Distribution of the 'BayesX' C++ Sources

'BayesX' performs Bayesian inference in structured additive regression (STAR) models. The R package BayesXsrc provides the 'BayesX' command line tool for easy installation. A convenient R interface is provided in package R2BayesX.

RSE — by Youhua Chen, 8 years ago

Number of Newly Discovered Rare Species Estimation

A Bayesian-weighted estimator and two unweighted estimators are developed to estimate the number of newly found rare species in additional ecological samples. Among these methods, the Bayesian-weighted estimator and an unweighted (Chao-derived) estimator are of high accuracy and recommended for practical applications. Technical details of the proposed estimators have been well described in the following paper: Shen TJ, Chen YH (2018) A Bayesian weighted approach to predicting the number of newly discovered rare species. Conservation Biology, In press.

bayesplot — by Jonah Gabry, 6 months ago

Plotting for Bayesian Models

Plotting functions for posterior analysis, MCMC diagnostics, prior and posterior predictive checks, and other visualizations to support the applied Bayesian workflow advocated in Gabry, Simpson, Vehtari, Betancourt, and Gelman (2019) . The package is designed not only to provide convenient functionality for users, but also a common set of functions that can be easily used by developers working on a variety of R packages for Bayesian modeling, particularly (but not exclusively) packages interfacing with 'Stan'.

gammi — by Nathaniel E. Helwig, a year ago

Generalized Additive Mixed Model Interface

An interface for fitting generalized additive models (GAMs) and generalized additive mixed models (GAMMs) using the 'lme4' package as the computational engine, as described in Helwig (2024) . Supports default and formula methods for model specification, additive and tensor product splines for capturing nonlinear effects, and automatic determination of spline type based on the class of each predictor. Includes an S3 plot method for visualizing the (nonlinear) model terms, an S3 predict method for forming predictions from a fit model, and an S3 summary method for conducting significance testing using the Bayesian interpretation of a smoothing spline.

bcf — by Jared S. Murray, 2 years ago

Causal Inference using Bayesian Causal Forests

Causal inference for a binary treatment and continuous outcome using Bayesian Causal Forests. See Hahn, Murray and Carvalho (2020) for additional information. This implementation relies on code originally accompanying Pratola et. al. (2013) .

modelSelection — by David Rossell, 13 days ago

High-Dimensional Model Selection

Model selection and averaging for regression, generalized linear models, generalized additive models, graphical models and mixtures, focusing on Bayesian model selection and information criteria (Bayesian information criterion etc.). See Rossell (2025) (see the URL field below for its URL) for a hands-on book describing the methods, examples and suggested citations if you use the package.

cmce — by Matthew T. Pratola, 8 years ago

Computer Model Calibration for Deterministic and Stochastic Simulators

Implements the Bayesian calibration model described in Pratola and Chkrebtii (2018) for stochastic and deterministic simulators. Additive and multiplicative discrepancy models are currently supported. See < http://www.matthewpratola.com/software> for more information and examples.

cIRT — by James Joseph Balamuta, 8 months ago

Choice Item Response Theory

Jointly model the accuracy of cognitive responses and item choices within a Bayesian hierarchical framework as described by Culpepper and Balamuta (2015) . In addition, the package contains the datasets used within the analysis of the paper.

MLModelSelection — by Kuo-Jung Lee, 6 years ago

Model Selection in Multivariate Longitudinal Data Analysis

An efficient Gibbs sampling algorithm is developed for Bayesian multivariate longitudinal data analysis with the focus on selection of important elements in the generalized autoregressive matrix. It provides posterior samples and estimates of parameters. In addition, estimates of several information criteria such as Akaike information criterion (AIC), Bayesian information criterion (BIC), deviance information criterion (DIC) and prediction accuracy such as the marginal predictive likelihood (MPL) and the mean squared prediction error (MSPE) are provided for model selection.