The power logit class of distributions is useful for modeling continuous data on the unit interval, such as fractions and proportions. It is very flexible and the parameters represent the median, dispersion and skewness of the distribution. Based on the power logit class, Queiroz and Ferrari (2023b, Statistical Modelling) proposed the power logit regression models. The dependent variable is assumed to have a distribution in the power logit class, with its median and dispersion linked to regressors through linear predictors with unknown coefficients. We present the R package PLreg which implements a suite of functions for working with power logit class of distributions and the associated regression models. This paper describes and illustrates the methods and algorithms implemented in the package, including tools for parameter estimation, diagnosis of fitted models, and various helper functions for working with power logit distributions, including density, cumulative distribution, quantile, and random number generating functions. Additional examples are presented to show the ability of the PLreg package to fit generalized Johnson SB, log-log, and inflated power logit regression models.
Supplementary materials are available in addition to this article. It can be downloaded at RJ-2023-093.zip
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Queiroz & Ferrari, "The R Journal: PLreg: An R Package for Modeling Bounded Continuous Data", The R Journal, 2024
BibTeX citation
@article{RJ-2023-093,
author = {Queiroz, Francisco F. and Ferrari, Silvia L.P.},
title = {The R Journal: PLreg: An R Package for Modeling Bounded Continuous Data},
journal = {The R Journal},
year = {2024},
note = {https://doi.org/10.32614/RJ-2023-093},
doi = {10.32614/RJ-2023-093},
volume = {15},
issue = {4},
issn = {2073-4859},
pages = {236-254}
}