mbest
0.6.1Moment-Based Estimation for Hierarchical Models
Overview
Fast moment-based hierarchical model fitting. Implements methods from the papers "Fast Moment-Based Estimation for Hierarchical Models," by Perry (2017) and "Fitting a Deeply Nested Hierarchical Model to a Large Book Review Dataset Using a Moment-Based Estimator," by Zhang, Schmaus, and Perry (2018).
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: mbest/tests/testthat/test-mhglm.multilevel.R (.Names: 6) '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 8includes a package overview page
- Examples that run
- 100%4 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 67%
- Documented parameters
- 57%
- Return-value docs
- 50%
- Help pages citing references
- 38%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 168
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/patperry/r-mbest on 2026-10-11.
Dependencies
Installing mbest adds 12 packages (4 with compiled code, 18 MB of source tarballs). Heaviest: BH 14 MB, Rcpp 1.8 MB, rbibutils 1.1 MB.
Code & Tests
People & History
Previously maintained by Patrick O. Perry (0.1 to 0.6).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2025-04-24
- 0.6.1Latest
- RR 4.5.0 released · 2025-04-11
- archivedRemoved from CRAN2025-03-10issues were not corrected despite reminders
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.62018-05-25 · diff ↗ ·
added 6 exports
mhglm_sim, VarCorr.mhglm_ml, fixef.mhglm_ml, mhglm_ml, ranef.mhglm_ml, sigma.mhglm_ml - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.52016-03-08 · diff ↗ ·
removed 7 exports
fixef, model.matrix.mhglm, predict.mhglm, ranef, sigma, terms.mhglm, VarCorr
Package metadata
- First published
- 2014-06-05
- Total releases
- 6 / 12 yrs
- License
- Apache License (== 2.0) | file LICENSE
- Minimum R
- ≥ 3.3.0
- Download size
- 150 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("mbest")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/rssb.12165.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.