Skip to content

FlexReg

Regression Models for Bounded Continuous and Discrete Responses

v1.4.2 · Feb 4, 2026 · GPL (>= 2)

Description

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.

Downloads

283

Last 30 days

14192nd

837

Last 90 days

4.8K

Last year

Trend: +40.1% (30d vs prior 30d)

CRAN Check Status

11 OK
Show all 11 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 10 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 9 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 148.2Mb
  sub-directories of 1Mb or more:
    libs  147.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 153.3Mb
  sub-directories of 1Mb or more:
    libs  152.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 10.0Mb
  sub-directories of 1Mb or more:
    libs   9.2Mb
ERROR 8 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/FlexReg.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 148.2Mb
  sub-directories of 1Mb or more:
    libs  147.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 153.3Mb
  sub-directories of 1Mb or more:
    libs  152.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 10.0Mb
  sub-directories of 1Mb or more:
    libs   9.2Mb
NOTE 9 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 148.2Mb
  sub-directories of 1Mb or more:
    libs  147.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 153.3Mb
  sub-directories of 1Mb or more:
    libs  152.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 10.0Mb
  sub-directories of 1Mb or more:
    libs   9.2Mb

Dependency Network

Dependencies Reverse dependencies Formula bayesplot ggplot2 loo Rcpp RcppParallel rstan rstantools (>= 2.4.0) FlexReg

Version History

9 tracked
new 1.4.2 Mar 10, 2026
updated 1.4.2 ← 1.4.1 diff Feb 3, 2026
updated 1.4.1 ← 1.4 diff Sep 10, 2025
updated 1.4 ← 1.3.1 diff Sep 8, 2025
updated 1.3.1 ← 1.3.0 diff Apr 13, 2025
updated 1.3.0 ← 1.2 diff Sep 28, 2023
updated 1.2 ← 1.1 diff Sep 15, 2022
updated 1.1 ← 1.0 diff Jan 16, 2022
new 1.0 Nov 4, 2020