Regression Models for Bounded Continuous and Discrete Responses

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) ), the variance-inflated beta (Di Brisco, A. M., Migliorati, S., Ongaro, A. (2020) ), the beta (Ferrari, S.L.P., Cribari-Neto, F. (2004) ), and their augmented versions to handle the presence of zero/one values (Di Brisco, A. M., Migliorati, S. (2020) ) 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) ), 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) ). Besides, functions to compute residuals, posterior predictives, goodness of fit measures, convergence diagnostics, and graphical representations are provided.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("FlexReg")

1.4.2 by Roberto Ascari, 8 months ago


Browse source code at https://github.com/cran/FlexReg


Authors: Roberto Ascari [aut, cre] , Agnese M. Di Brisco [aut] , Sonia Migliorati [aut] , Andrea Ongaro [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Formula, bayesplot, ggplot2, loo, methods, Rcpp, RcppParallel, rstan, rstantools

Linking to BH, Rcpp, RcppEigen, RcppParallel, rstan, StanHeaders

System requirements: GNU make


See at CRAN