Functions to fit regression models for bounded responses, such as rates and proportions. 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>), and the beta one (Ferrari, S.L.P., and Cribari-Neto, F. (2004) <doi:10.1080/0266476042000214501>). Inference is dealt with a Bayesian approach based on the Hamiltonian Monte Carlo (HMC) algorithm (Gelman, A.; Carlin, J. B.; Stern, H. S. and 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.
Version: | 1.0 |
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 |
LinkingTo: | BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0) |
Suggests: | testthat |
Published: | 2020-11-05 |
Author: | Agnese M. Di Brisco [aut, cre], Roberto Ascari [aut, cre], Sonia Migliorati [aut], Andrea Ongaro [aut] |
Maintainer: | Roberto Ascari <roberto.ascari at unimib.it> |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
NeedsCompilation: | yes |
SystemRequirements: | GNU make |
CRAN checks: | FlexReg results |
Reference manual: | FlexReg.pdf |
Package source: | FlexReg_1.0.tar.gz |
Windows binaries: | r-devel: FlexReg_1.0.zip, r-release: FlexReg_1.0.zip, r-oldrel: FlexReg_1.0.zip |
macOS binaries: | r-release: FlexReg_1.0.tgz, r-oldrel: not available |
Please use the canonical form https://CRAN.R-project.org/package=FlexReg to link to this page.