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

Found 2460 packages in 0.45 seconds

gamlss — by Mikis Stasinopoulos, 8 months ago

Generalized Additive Models for Location Scale and Shape

Functions for fitting the Generalized Additive Models for Location Scale and Shape introduced by Rigby and Stasinopoulos (2005), . The models use a distributional regression approach where all the parameters of the conditional distribution of the response variable are modelled using explanatory variables.

emBayes — by Yuwen Liu, 2 months ago

Robust Bayesian Variable Selection via Expectation-Maximization

Variable selection methods have been extensively developed for analyzing highdimensional omics data within both the frequentist and Bayesian frameworks. This package provides implementations of the spike-and-slab quantile (group) LASSO which have been developed along the line of Bayesian hierarchical models but deeply rooted in frequentist regularization methods by utilizing Expectation–Maximization (EM) algorithm. The spike-and-slab quantile LASSO can handle data irregularity in terms of skewness and outliers in response variables, compared to its non-robust alternative, the spike-and-slab LASSO, which has also been implemented in the package. In addition, procedures for fitting the spike-and-slab quantile group LASSO and its non-robust counterpart have been implemented in the form of quantile/least-square varying coefficient mixed effect models for high-dimensional longitudinal data. The core module of this package is developed in 'C++'.

ebTobit — by Alton Barbehenn, 7 months ago

Empirical Bayesian Tobit Matrix Estimation

Estimation tools for multidimensional Gaussian means using empirical Bayesian g-modeling. Methods are able to handle fully observed data as well as left-, right-, and interval-censored observations (Tobit likelihood); descriptions of these methods can be found in Barbehenn and Zhao (2023) . Additional, lower-level functionality based on Kiefer and Wolfowitz (1956) and Jiang and Zhang (2009) is provided that can be used to accelerate many empirical Bayes and nonparametric maximum likelihood problems.

BMRMM — by Yutong Wu, 7 months ago

An Implementation of the Bayesian Markov (Renewal) Mixed Models

The Bayesian Markov renewal mixed models take sequentially observed categorical data with continuous duration times, being either state duration or inter-state duration. These models comprehensively analyze the stochastic dynamics of both state transitions and duration times under the influence of multiple exogenous factors and random individual effect. The default setting flexibly models the transition probabilities using Dirichlet mixtures and the duration times using gamma mixtures. It also provides the flexibility of modeling the categorical sequences using Bayesian Markov mixed models alone, either ignoring the duration times altogether or dividing duration time into multiples of an additional category in the sequence by a user-specific unit. The package allows extensive inference of the state transition probabilities and the duration times as well as relevant plots and graphs. It also includes a synthetic data set to demonstrate the desired format of input data set and the utility of various functions. Methods for Bayesian Markov renewal mixed models are as described in: Abhra Sarkar et al., (2018) and Yutong Wu et al., (2022) .

BayesfMRI — by Amanda Mejia, a year ago

Spatial Bayesian Methods for Task Functional MRI Studies

Performs a spatial Bayesian general linear model (GLM) for task functional magnetic resonance imaging (fMRI) data on the cortical surface. Additional models include group analysis and inference to detect thresholded areas of activation. Includes direct support for the 'CIFTI' neuroimaging file format. For more information see A. F. Mejia, Y. R. Yue, D. Bolin, F. Lindgren, M. A. Lindquist (2020) and D. Spencer, Y. R. Yue, D. Bolin, S. Ryan, A. F. Mejia (2022) .

rTG — by Jernej Jevsenak, 4 months ago

Methods to Analyse Seasonal Radial Tree Growth Data

Methods for comparing different regression algorithms for describing the temporal dynamics of secondary tree growth (xylem and phloem). Users can compare the accuracy of the most common fitting methods usually used to analyse xylem and phloem data, i.e., Gompertz function, Double Gompertz function, General Additive Models (GAMs); and an algorithm newly introduced to the field, i.e., Bayesian Regularised Neural Networks (brnn). The core function of the package is XPSgrowth(), while the results can be interpreted using implemented generic S3 methods, such as plot() and summary().

bnClustOmics — by Polina Suter, 2 years ago

Bayesian Network-Based Clustering of Multi-Omics Data

Unsupervised Bayesian network-based clustering of multi-omics data. Both binary and continuous data types are allowed as inputs. The package serves a dual purpose: it clusters (patient) samples and learns the multi-omics networks that characterize discovered clusters. Prior network knowledge (e.g., public interaction databases) can be included via blacklisting and penalization matrices. For clustering, the EM algorithm is employed. For structure search at the M-step, the Bayesian approach is used. The output includes membership assignments of samples, cluster-specific MAP networks, and posterior probabilities of all edges in the discovered networks. In addition to likelihood, AIC and BIC scores are returned. They can be used for choosing the number of clusters. References: P. Suter et al. (2021) , J. Kuipers and P. Suter and G. Moffa (2022) , J. Kuipers et al. (2018) .

apollo — by Stephane Hess, 2 months ago

Tools for Choice Model Estimation and Application

Choice models are a widely used technique across numerous scientific disciplines. The Apollo package is a very flexible tool for the estimation and application of choice models in R. Users are able to write their own model functions or use a mix of already available ones. Random heterogeneity, both continuous and discrete and at the level of individuals and choices, can be incorporated for all models. There is support for both standalone models and hybrid model structures. Both classical and Bayesian estimation is available, and multiple discrete continuous models are covered in addition to discrete choice. Multi-threading processing is supported for estimation and a large number of pre and post-estimation routines, including for computing posterior (individual-level) distributions are available. For examples, a manual, and a support forum, visit < http://www.ApolloChoiceModelling.com>. For more information on choice models see Train, K. (2009) and Hess, S. & Daly, A.J. (2014) for an overview of the field.

hbsae — by Harm Jan Boonstra, 3 years ago

Hierarchical Bayesian Small Area Estimation

Functions to compute small area estimates based on a basic area or unit-level model. The model is fit using restricted maximum likelihood, or in a hierarchical Bayesian way. In the latter case numerical integration is used to average over the posterior density for the between-area variance. The output includes the model fit, small area estimates and corresponding mean squared errors, as well as some model selection measures. Additional functions provide means to compute aggregate estimates and mean squared errors, to minimally adjust the small area estimates to benchmarks at a higher aggregation level, and to graphically compare different sets of small area estimates.

stgam — by Lex Comber, 4 months ago

Spatially and Temporally Varying Coefficient Models Using Generalized Additive Models

A framework for specifying spatially, temporally and spatially-and-temporally varying coefficient models using Generalized Additive Models with Gaussian Process smooths. The smooths are parameterised with location and / or time attributes. Importantly the framework supports the investigation of the presence and nature of any space-time dependencies in the data, allows the user to evaluate different model forms (specifications) and to pick the most probable model or to combine multiple varying coefficient models using Bayesian Model Averaging. For more details see: Brunsdon et al (2023) , Comber et al (2023) and Comber et al (2024) .