Package: FlexReg
Title: Regression Models for Bounded and Binomial Responses
Version: 1.2
Author: Agnese M. Di Brisco [aut, cre], Roberto Ascari [aut, cre], Sonia Migliorati [aut], Andrea Ongaro [aut]
Maintainer: Roberto Ascari <roberto.ascari@unimib.it>
Description: Functions to fit regression models for bounded (e.g., proportions and rates) and binomial responses. In case of bounded responses, 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>). In case of binomial responses, available models are the flexible beta-binomial (Ascari, R., Migliorati, S. (2021) <doi:10.1002/sim.9005>), the beta-binomial, and the binomial. 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.
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
Biarch: true
Depends: R (>= 3.5.0)
Imports: methods, Rcpp (>= 0.12.0), rstan (>= 2.18.1), rstantools (>=
        2.0.0), loo, bayesplot, ggplot2, Formula, utils, grDevices,
        faraway
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        rstan (>= 2.18.1), StanHeaders (>= 2.18.0)
SystemRequirements: GNU make
RoxygenNote: 7.1.2
Suggests: testthat
NeedsCompilation: yes
Packaged: 2022-09-16 08:27:09 UTC; roberto.ascari
Repository: CRAN
Date/Publication: 2022-09-16 09:46:07 UTC
Built: R 4.1.3; x86_64-w64-mingw32; 2023-04-17 20:30:52 UTC; windows
Archs: i386, x64
