Package: lmebayes 0.1.0

lmebayes: Bayesian Linear Mixed-Effects Models via Two-Block Gibbs Sampling

Provides Bayesian linear and generalized linear mixed-effects model fitting with near-independent posterior samples. The main functions mirror lme4's lmer() and glmer() interfaces (X/beta for fixed effects, Z/b for random effects, D for the random-effects covariance) while adding prior family specifications for Gaussian, Poisson, binomial, and Gamma models with log-concave likelihoods. Sampling uses efficient two-block Gibbs sampling procedures with parallel chains and theoretically driven stopping rules. Gibbs sampling engines are provided by the 'glmbayesCore' package.

Authors:Kjell Nygren [aut, cre], The R Core Team [ctb, cph], The R Foundation [cph], Ross Ihaka [ctb, cph], Robert Gentleman [ctb, cph], Simon Davies [ctb], Morten Welinder [ctb, cph], Martin Maechler [ctb]

lmebayes_0.1.0.tar.gz
lmebayes_0.1.0.zip(r-4.7)lmebayes_0.1.0.zip(r-4.6)lmebayes_0.1.0.zip(r-4.5)
lmebayes_0.1.0.tgz(r-4.6-x86_64)lmebayes_0.1.0.tgz(r-4.6-arm64)lmebayes_0.1.0.tgz(r-4.5-x86_64)lmebayes_0.1.0.tgz(r-4.5-arm64)
lmebayes_0.1.0.tar.gz(r-4.7-arm64)lmebayes_0.1.0.tar.gz(r-4.7-x86_64)lmebayes_0.1.0.tar.gz(r-4.6-arm64)lmebayes_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
lmebayes/json (API)
NEWS

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

Bug tracker:https://github.com/knygren/lmebayes/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • AMI - Amitriptyline overdose data
  • BikeSharing - Bike Sharing Dataset
  • Boston_centered - Boston housing data with mean-centered predictors
  • carinsca - Canadian Automobile Insurance Claims for 1957-1958
  • Cleveland - Cleveland Heart Disease Dataset

On CRAN:

Conda:

cpp

3.68 score 24 exports 22 dependencies

Last updated from:a000d5fc7e. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK218
linux-devel-x86_64OK213
source / vignettesOK268
linux-release-arm64OK238
linux-release-x86_64OK217
macos-release-arm64OK102
macos-release-x86_64OK255
macos-oldrel-arm64OK112
macos-oldrel-x86_64OK339
windows-develOK185
windows-releaseOK177
windows-oldrelOK180
wasm-releaseFAIL171

Exports:dGammadIndependent_Normal_Gammadirectional_taildNormaldNormal_GammaEnvelopeOptEnvelopeSortglmbglmbBlockglmbfamfuncglmerbhas_opencllmblmbBlocklmerbmodel_setuppfamily_listPrior_SetupPrior_Setup_lmebayesPrior_SetupBlockrgamma_ctrglmerbrlmerbrNormal_reg.wfit

Dependencies:bootcodaglmbayesglmbayesCorejsonlitelatticelme4MASSMatrixminqanlmenloptrnmathopenclopencltoolsrbibutilsRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasrlang

Readme and manuals

Help Manual

Help pageTopics
lmebayes: Bayesian Linear Mixed-Effects Models via Two-Block Gibbs Samplinglmebayes-package lmebayes
Amitriptyline overdose dataAMI
Bike Sharing Dataset (Processed)BikeSharing
Boston housing data with mean-centered predictorsBoston_centered
Canadian Automobile Insurance Claims for 1957-1958carinsca
Cleveland Heart Disease DatasetCleveland
Directional Tail Diagnosticdirectional_tail
Fitting Bayesian Generalized Linear Modelsglmb
Fitting Blocked Bayesian Generalized Linear ModelsglmbBlock print.bglmb
Fit a Bayesian generalized linear mixed-effects model (GLMM) to data, via two-Block Gibbs samplingglmerb print.glmerb
OpenCL compile-time status for 'lmebayes'has_opencl
Fitting Bayesian Linear Modelslmb
Fitting Blocked Bayesian Linear ModelslmbBlock print.blmb
Fit a Bayesian linear mixed-effects model (LMM) to data, via two-Block Gibbs samplinglmerb print.lmerb
Bayesian mixed model setup (single-factor 'lmer'/'glmer' gate)model_setup
Prior Family Objects for Bayesian ModelsdGamma dIndependent_Normal_Gamma dNormal dNormal_Gamma pfamily
Build pfamily objects from a Prior_Setup_lmebayes objectpfamily_list.lmebayes_prior_setup
Setup Prior ObjectsPrior_Setup
Prior setup for the two-block Gibbs lmebayes samplerprint.lmebayes_prior_setup Prior_Setup_lmebayes
Prior setup for row-block 'lmb' / 'glmbBlock'Prior_SetupBlock
The Bayesian Generalized Linear Mixed-Effects Model Distributionrglmerb
The Bayesian Linear Mixed-Effects Model Distributionrlmerb
Summarize bglmb fitsprint.summary.bglmb summary.bglmb
Summarize blmb fitsprint.summary.blmb summary.blmb
Summarize Bayesian linear mixed model fitsprint.summary.lmerb summary.glmerb summary.lmerb