Regression Models for Bounded Continuous and Discrete Responses
Overview
Functions to fit regression models for bounded continuous and discrete responses. In case of bounded continuous responses (e.g., proportions and rates), available models are the flexible beta (Migliorati, S., Di Brisco, A. M., Ongaro, A. (2018) doi:10.1214/17-BA1079), the variance-inflated beta (Di Brisco, A. M., Migliorati, S., Ongaro, A. (2020) doi:10.1177/1471082X18821213), the beta (Ferrari, S.L.P., Cribari-Neto, F. (2004) doi:10.1080/0266476042000214501), and their augmented versions to handle the presence of zero/one values (Di Brisco, A. M., Migliorati, S. (2020) doi:10.1002/sim.8406) are implemented. In case of bounded discrete responses (e.g., bounded counts, such as the number of successes in n trials), available models are the flexible beta-binomial (Ascari, R., Migliorati, S. (2021) doi:10.1002/sim.9005), the beta-binomial, and the binomial are implemented. Inference is dealt with a Bayesian approach based on the Hamiltonian Monte Carlo (HMC) algorithm (Gelman, A., Carlin, J. B., Stern, H. S., Rubin, D. B. (2014) doi:10.1201/b16018). Besides, functions to compute residuals, posterior predictives, goodness of fit measures, convergence diagnostics, and graphical representations are provided.
Install
Health
- OK11 OK2026-08-05
- NOTE10 OK, 1 NOTE2026-08-01
- OK11 OK2026-07-29
- ERROR10 OK, 1 ERROR2026-07-27
- OK10 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE9 OK, 3 NOTE2026-04-22
- ERROR8 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE9 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 54 (26 internal)includes a package overview page
- Examples that run
- 24%5 run in a plain check · 16 never run
- Exported functions with examples
- 93%
- Documented parameters
- 85%
- Return-value docs
- 79%
- Help pages citing references
- 37%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.4.2Latest
- 1.4.12025-09-11 · diff ↗
- 1.42025-09-09 · diff ↗ ·
added 11 exports
model_frame, pBeta, pBetaBin, pFB, pFBB, pVIB, qBeta, qBetaBin, qFB, qFBB, qVIB - 1.3.12025-04-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.3.02023-09-29 · diff ↗ ·
removed 10 exports
dBeta_mu, mu.chain.nd, phi.chain.nd, q.chain.nd, q0.chain.nd, q01.chain.nd, q1.chain.nd, rBeta_mu, theta.chain.nd, var.funadded 2 exports
dBeta, rBeta - RR 4.3.0 released · 2023-04-21
- 1.2
- RR 4.2.0 released · 2022-04-22
- 1.1
- RR 4.1.0 released · 2021-05-18
- 1.02020-11-05
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-11-05
- Total releases
- 8 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 36 KB / 6 files
- Download size
- 173 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("FlexReg")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s00180-026-01720-y.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.