Bounded responses, either continuous or discrete, are common in many fields, such as ecology, economics, and biomedical sciences. Standard regression models often fail to capture features like bimodality, heavy tails, overdispersion, or excess zeros, which frequently arise in these contexts. The FlexReg package, which provides a unified Bayesian framework for regression modeling of bounded outcomes, addresses all these challenges through flexible distributional assumptions and robust estimation based on Hamiltonian Monte Carlo implemented via the Stan language. The package implements beta-type and binomial-type models, along with their flexible and variance-inflated extensions, and allows for handling values on the boundary of the response support, when needed. Beyond model fitting, FlexReg includes tools for convergence diagnostics, posterior summaries, residual analysis, and predictive checking. By integrating and enriching recent methodological advances within a user-friendly Bayesian framework, this work delivers a computational infrastructure that facilitates the application of flexible regression methods for bounded data.

Ascari, R., Di Brisco, A., Migliorati, S., Ongaro, A. (2026). FlexReg: an R package for fitting a general class of mixture regression models with bounded responses in a Bayesian framework. COMPUTATIONAL STATISTICS, 41(2) [10.1007/s00180-026-01720-y].

FlexReg: an R package for fitting a general class of mixture regression models with bounded responses in a Bayesian framework

Ascari, R
;
Migliorati S.;Ongaro A
2026

Abstract

Bounded responses, either continuous or discrete, are common in many fields, such as ecology, economics, and biomedical sciences. Standard regression models often fail to capture features like bimodality, heavy tails, overdispersion, or excess zeros, which frequently arise in these contexts. The FlexReg package, which provides a unified Bayesian framework for regression modeling of bounded outcomes, addresses all these challenges through flexible distributional assumptions and robust estimation based on Hamiltonian Monte Carlo implemented via the Stan language. The package implements beta-type and binomial-type models, along with their flexible and variance-inflated extensions, and allows for handling values on the boundary of the response support, when needed. Beyond model fitting, FlexReg includes tools for convergence diagnostics, posterior summaries, residual analysis, and predictive checking. By integrating and enriching recent methodological advances within a user-friendly Bayesian framework, this work delivers a computational infrastructure that facilitates the application of flexible regression methods for bounded data.
Articolo in rivista - Articolo scientifico
Augmentation; Beta; Binomial; Hamiltonian Monte Carlo; Stan;
English
7-feb-2026
2026
41
2
42
open
Ascari, R., Di Brisco, A., Migliorati, S., Ongaro, A. (2026). FlexReg: an R package for fitting a general class of mixture regression models with bounded responses in a Bayesian framework. COMPUTATIONAL STATISTICS, 41(2) [10.1007/s00180-026-01720-y].
File in questo prodotto:
File Dimensione Formato  
Ascari et al-2026-Computational Statistics-VoR.pdf

accesso aperto

Descrizione: Articolo
Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 5.41 MB
Formato Adobe PDF
5.41 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/589021
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
Social impact