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

Found 6955 packages in 0.02 seconds

LRQMM — by Sayyed Reza Alavian, 3 years ago

Fitting Linear Quantile Regression Mixed Models with Relationship Matrix

Fit a quantile regression mixed model involved Relationship Matrix using a sparse implementation of the Frisch-Newton interior-point algorithm as described in Portnoy and Koenker (1977, Statistical Science) < https://www.jstor.org/stable/2246216>.

glmmPen — by Hillary Heiling, 3 months ago

High Dimensional Penalized Generalized Linear Mixed Models (pGLMM)

Fits high dimensional penalized generalized linear mixed models using the Monte Carlo Expectation Conditional Minimization (MCECM) algorithm. The purpose of the package is to perform variable selection on both the fixed and random effects simultaneously for generalized linear mixed models. The package supports fitting of Binomial, Gaussian, and Poisson data with canonical links, and supports penalization using the MCP, SCAD, or LASSO penalties. The MCECM algorithm is described in Rashid et al. (2020) . The techniques used in the minimization portion of the procedure (the M-step) are derived from the procedures of the 'ncvreg' package (Breheny and Huang (2011) ) and 'grpreg' package (Breheny and Huang (2015) ), with appropriate modifications to account for the estimation and penalization of the random effects. The 'ncvreg' and 'grpreg' packages also describe the MCP, SCAD, and LASSO penalties.

pastaPlot — by Jan-Felix Palnau, 6 months ago

Spaghetti-Plot Fixed and Random Effects of Linear Mixed Models

Plot both fixed and random effects of linear mixed models, multilevel models in a single spaghetti plot. The package allows to visualize the effect of a predictor on a criterion between different levels of a grouping variable. Additionally, confidence intervals can be displayed for fixed effects. Calculation of predicted values of random effects allows only models with one random intercept and/or one random slope to be plotted. Confidence intervals and predicted values of fixed effects are computed using the 'ggpredict' function from the 'ggeffects' package. Lüdecke, D. (2018) .

mvglmmRank — by Andrew T. Karl, 2 years ago

Multivariate Generalized Linear Mixed Models for Ranking Sports Teams

Maximum likelihood estimates are obtained via an EM algorithm with either a first-order or a fully exponential Laplace approximation as documented by Broatch and Karl (2018) , Karl, Yang, and Lohr (2014) , and by Karl (2012) . Karl and Zimmerman use this package to illustrate how the home field effect estimator from a mixed model can be biased under nonrandom scheduling.

TapeR — by Christian Vonderach, a year ago

Flexible Tree Taper Curves Based on Semiparametric Mixed Models

Implementation of functions for fitting taper curves (a semiparametric linear mixed effects taper model) to diameter measurements along stems. Further functions are provided to estimate the uncertainty around the predicted curves, to calculate timber volume (also by sections) and marginal (e.g., upper) diameters. For cases where tree heights are not measured, methods for estimating additional variance in volume predictions resulting from uncertainties in tree height models (tariffs) are provided. The example data include the taper curve parameters for Norway spruce used in the 3rd German NFI fitted to 380 trees and a subset of section-wise diameter measurements of these trees. The functions implemented here are detailed in Kublin, E., Breidenbach, J., Kaendler, G. (2013) .

confintROB — by Fabio Mason, 6 months ago

Confidence Intervals for Robust and Classical Linear Mixed Model Estimators

The main function calculates confidence intervals (CI) for Mixed Models, utilizing both classical estimators from the lmer() function in the 'lme4' package and robust estimators from the rlmer() function in the 'robustlmm' package, as well as the varComprob() function in the 'robustvarComp' package. Three methods are available: the classical Wald method, the wild bootstrap, and the parametric bootstrap. Bootstrap methods offer flexibility in obtaining lower and upper bounds through percentile or BCa methods. More details are given in Mason, F., Cantoni, E., & Ghisletta, P. (2021) and Mason, F., Cantoni, E., & Ghisletta, P. (2024) .

seagull — by Jan Klosa, 4 years ago

Lasso, Group Lasso, and Sparse-Group Lasso for Mixed Models

Proximal gradient descent solver for the operators lasso, (fitted) group lasso, and (fitted) sparse-group lasso. The implementation involves backtracking line search and warm starts. Input data needs to be clustered/ grouped for each group lasso variant before calling these algorithms.

dalmatian — by Simon Bonner, 3 years ago

Automating the Fitting of Double Linear Mixed Models in 'JAGS' and 'nimble'

Automates fitting of double GLM in 'JAGS'. Includes automatic generation of 'JAGS' scripts, running 'JAGS' or 'nimble' via the 'rjags' and 'nimble' package, and summarizing the resulting output. For further information see Bonner, Kim, Westneat, Mutzel, Wright, and Schofield .

glmmfields — by Sean C. Anderson, a year ago

Generalized Linear Mixed Models with Robust Random Fields for Spatiotemporal Modeling

Implements Bayesian spatial and spatiotemporal models that optionally allow for extreme spatial deviations through time. 'glmmfields' uses a predictive process approach with random fields implemented through a multivariate-t distribution instead of the usual multivariate normal. Sampling is conducted with 'Stan'. References: Anderson and Ward (2019) .

ompr — by Dirk Schumacher, a year ago

Model and Solve Mixed Integer Linear Programs

Model mixed integer linear programs in an algebraic way directly in R. The model is solver-independent and thus offers the possibility to solve a model with different solvers. It currently only supports linear constraints and objective functions. See the 'ompr' website < https://dirkschumacher.github.io/ompr/> for more information, documentation and examples.