IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i21p4101-d962342.html
   My bibliography  Save this article

cpd: An R Package for Complex Pearson Distributions

Author

Listed:
  • María José Olmo-Jiménez

    (Department of Statistics and Operations Research, University of Jaén, 23071 Jaén, Spain
    These authors contributed equally to this work.)

  • Silverio Vílchez-López

    (Department of Statistics and Operations Research, University of Jaén, 23071 Jaén, Spain
    These authors contributed equally to this work.)

  • José Rodríguez-Avi

    (Department of Statistics and Operations Research, University of Jaén, 23071 Jaén, Spain
    These authors contributed equally to this work.)

Abstract

The complex Pearson (CP) distributions are a family of probability models for count data generated by the Gaussian hypergeometric function with complex arguments. The complex triparametric Pearson (CTP) distribution and its biparametric versions, the complex biparametric Pearson (CBP) and the extended biparametric Waring (EBW) distributions, belong to this family. They all have explicit expressions of the probability mass function (pmf), probability generating function and moments, so they are easy to handle from a computational point of view. Moreover, the CTP and EBW distributions can model over- and underdispersed count data, whereas the CBP can only handle overdispersed data, but unlike other well-known overdispersed distributions, the overdispersion is not due to an excess of zeros but other low values of the variable. Finally, the EBW distribution allows the variance to be split into three uniquely identifiable components: randomness, liability and proneness. These properties make the CP distributions of interest in the modeling of a great variety of data. For this reason, and for trying to spread their use, we have implemented an R package called cpd that contains the pmf, distribution function, quantile function and random generation for these distributions. In addition, the package contains fitting functions according to the maximum likelihood. This package is available from the Comprehensive R Archive Network (CRAN). In this work, we describe all the functions included in the cpd package, and we illustrate their usage with several examples. Moreover, the release of a plugin in order to use the package from the interface R Commander tries to contribute to the spreading of these models among non-advanced users.

Suggested Citation

  • María José Olmo-Jiménez & Silverio Vílchez-López & José Rodríguez-Avi, 2022. "cpd: An R Package for Complex Pearson Distributions," Mathematics, MDPI, vol. 10(21), pages 1-15, November.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:21:p:4101-:d:962342
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/21/4101/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/21/4101/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. A. M. C. Vieira & J. P. Hinde & C. G. B. Demetrio, 2000. "Zero-inflated proportion data models applied to a biological control assay," Journal of Applied Statistics, Taylor & Francis Journals, vol. 27(3), pages 373-389.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Helai Huang & Hong Chin, 2010. "Modeling road traffic crashes with zero-inflation and site-specific random effects," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 19(3), pages 445-462, August.
    2. Gning, Lucien & Ndour, Cheikh & Tchuenche, J.M., 2022. "Modeling COVID-19 daily cases in Senegal using a generalized Waring regression model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 597(C).
    3. Daniel B. Hall & Jing Shen, 2010. "Robust Estimation for Zero‐Inflated Poisson Regression," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 37(2), pages 237-252, June.
    4. Afrânio M.C. Vieira & Roseli A. Leandro & Clarice G.B. Dem�trio & Geert Molenberghs, 2011. "Double generalized linear model for tissue culture proportion data: a Bayesian perspective," Journal of Applied Statistics, Taylor & Francis Journals, vol. 38(8), pages 1717-1731, September.
    5. Cai, Tianji & Xia, Yiwei & Zhou, Yisu, 2017. "Generalized Inflated Discrete Models: A Strategy to Work with Multimodal Discrete Distributions," SocArXiv 4r2j3, Center for Open Science.
    6. Tian, Guo-Liang & Ma, Huijuan & Zhou, Yong & Deng, Dianliang, 2015. "Generalized endpoint-inflated binomial model," Computational Statistics & Data Analysis, Elsevier, vol. 89(C), pages 97-114.
    7. Jansakul, N. & Hinde, J. P., 2002. "Score Tests for Zero-Inflated Poisson Models," Computational Statistics & Data Analysis, Elsevier, vol. 40(1), pages 75-96, July.
    8. H. He & W. Wang & J. Hu & R. Gallop & P. Crits-Christoph & Y. Xia, 2015. "Distribution-free inference of zero-inflated binomial data for longitudinal studies," Journal of Applied Statistics, Taylor & Francis Journals, vol. 42(10), pages 2203-2219, October.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:10:y:2022:i:21:p:4101-:d:962342. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.