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

Found 9454 packages in 0.02 seconds

mermboost — by Lars Knieper, 4 months ago

Gradient Boosting for Generalized Additive Mixed Models

Provides a novel framework to estimate mixed models via gradient boosting. The implemented functions are based on the 'mboost' and 'lme4' packages, and the family range is therefore determined by 'lme4'. A correction mechanism for cluster-constant covariates is implemented, as well as estimation of the covariance of random effects. These methods are described in the accompanying publication; see for details.

plmmr — by Patrick J. Breheny, 6 months ago

Penalized Linear Mixed Models for Correlated Data

Fits penalized linear mixed models that correct for unobserved confounding factors. 'plmmr' infers and corrects for the presence of unobserved confounding effects such as population stratification and environmental heterogeneity. It then fits a linear model via penalized maximum likelihood. Originally designed for the multivariate analysis of single nucleotide polymorphisms (SNPs) measured in a genome-wide association study (GWAS), 'plmmr' eliminates the need for subpopulation-specific analyses and post-analysis p-value adjustments. Functions for the appropriate processing of 'PLINK' files are also supplied. For examples, see the package homepage < https://pbreheny.github.io/plmmr/>.

quid — by Lukas Klima, 5 years ago

Bayesian Mixed Models for Qualitative Individual Differences

Test whether equality and order constraints hold for all individuals simultaneously by comparing Bayesian mixed models through Bayes factors. A tutorial style vignette and a quickstart guide are available, via vignette("manual", "quid"), and vignette("quickstart", "quid") respectively. See Haaf and Rouder (2017) ; Haaf, Klaassen and Rouder (2019) ; and Rouder & Haaf (2021) .

bayesintervals — by Ekin Ă–ren, 10 days ago

Reducible Imprecision and Bayesian Intervals for Mixed Models

Calculates and visualizes Bayesian credible, prediction and tolerance intervals, and posterior predictive distributions, for linear mixed models from Markov chain Monte Carlo (MCMC) samples of the model parameters. Users define the model through fixed effects, variance components and optional covariates, and results can be back-transformed from the log scale. Tolerance intervals are derived from the posterior predictive distribution following Krishnamoorthy and Mathew (2009) , including the construction of one-dimensional two-sided intervals from the bivariate posterior of the lower and upper quantiles. Reducible imprecision measures the share of the tolerance-interval half-width that exceeds the prediction-interval half-width, that is, the epistemic uncertainty that more data could reduce. The package includes an interactive 'shiny' application, started with start_app_view(), which has its own name: 'BSI' (Bayesian Statistical Intervals). The development repository on 'GitHub' is called 'BayesianSI.Calculator'.

mixedBayes — by Kun Fan, 4 months ago

Bayesian Longitudinal Regularized Quantile Mixed Model

With high-dimensional omics features, repeated measure ANOVA leads to longitudinal gene-environment interaction studies that have intra-cluster correlations, outlying observations and structured sparsity arising from the ANOVA design. In this package, we have developed robust sparse Bayesian mixed effect models tailored for the above studies (Fan et al. (2025) ). An efficient Gibbs sampler has been developed to facilitate fast computation. The Markov chain Monte Carlo algorithms of the proposed and alternative methods are efficiently implemented in 'C++'. The development of this software package and the associated statistical methods have been partially supported by an Innovative Research Award from Johnson Cancer Research Center, Kansas State University.

merDeriv — by Ting Wang, 5 months ago

Case-Wise and Cluster-Wise Derivatives for Mixed Effects Models

Compute case-wise and cluster-wise derivative for mixed effects models with respect to fixed effects parameter, random effect (co)variances, and residual variance. This material is partially based on work supported by the National Science Foundation under Grant Number 1460719.

mumm — by Sofie Poedenphant, 8 years ago

Multiplicative Mixed Models using the Template Model Builder

Fit multiplicative mixed models using maximum likelihood estimation via the Template Model Builder (TMB), Kristensen K, Nielsen A, Berg CW, Skaug H, Bell BM (2016) . One version of the multiplicative mixed model is applied in Piepho (1999) . The package provides functions for calculating confidence intervals for the model parameters and for performing likelihood ratio tests.

GLMMselect — by Shuangshuang Xu, 3 years ago

Bayesian Model Selection for Generalized Linear Mixed Models

A Bayesian model selection approach for generalized linear mixed models. Currently, 'GLMMselect' can be used for Poisson GLMM and Bernoulli GLMM. 'GLMMselect' can select fixed effects and random effects simultaneously. Covariance structures for the random effects are a product of a unknown scalar and a known semi-positive definite matrix. 'GLMMselect' can be widely used in areas such as longitudinal studies, genome-wide association studies, and spatial statistics. 'GLMMselect' is based on Xu, Ferreira, Porter, and Franck (202X), Bayesian Model Selection Method for Generalized Linear Mixed Models, Biometrics, under review.

nlmixr2 — by Matthew Fidler, 4 months ago

Nonlinear Mixed Effects Models in Population PK/PD

Fit and compare nonlinear mixed-effects models in differential equations with flexible dosing information commonly seen in pharmacokinetics and pharmacodynamics (Almquist, Leander, and Jirstrand 2015 ). Differential equation solving is by compiled C code provided in the 'rxode2' package (Wang, Hallow, and James 2015 ).

WeMix — by Paul Bailey, 3 years ago

Weighted Mixed-Effects Models Using Multilevel Pseudo Maximum Likelihood Estimation

Run mixed-effects models that include weights at every level. The WeMix package fits a weighted mixed model, also known as a multilevel, mixed, or hierarchical linear model (HLM). The weights could be inverse selection probabilities, such as those developed for an education survey where schools are sampled probabilistically, and then students inside of those schools are sampled probabilistically. Although mixed-effects models are already available in R, WeMix is unique in implementing methods for mixed models using weights at multiple levels. Both linear and logit models are supported. Models may have up to three levels. Random effects are estimated using the PIRLS algorithm from 'lme4pureR' (Walker and Bates (2013) < https://github.com/lme4/lme4pureR>).