IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v035i11.html

Introducing COZIGAM: An R Package for Unconstrained and Constrained Zero-Inflated Generalized Additive Model Analysis

Author

Listed:
  • Liu, Hai
  • Chan, Kung-Sik

Abstract

Zero-inflation problem is very common in ecological studies as well as other areas. Nonparametric regression with zero-inflated data may be studied via the zero-inflated generalized additive model (ZIGAM), which assumes that the zero-inflated responses come from a probabilistic mixture of zero and a regular component whose distribution belongs to the 1-parameter exponential family. With the further assumption that the probability of non-zero-inflation is some monotonic function of the mean of the regular component, we propose the constrained zero-inflated generalized additive model (COZIGAM) for analyzingzero-inflated data. When the hypothesized constraint obtains, the new approach provides a unified framework for modeling zero-inflated data, which is more parsimonious and efficient than the unconstrained ZIGAM. We have developed an R package COZIGAM which contains functions that implement an iterative algorithm for fitting ZIGAMs and COZIGAMs to zero-inflated data basedon the penalized likelihood approach. Other functions included in the packageare useful for model prediction and model selection. We demonstrate the use ofthe COZIGAM package via some simulation studies and a real application.

Suggested Citation

  • Liu, Hai & Chan, Kung-Sik, 2010. "Introducing COZIGAM: An R Package for Unconstrained and Constrained Zero-Inflated Generalized Additive Model Analysis," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 35(i11).
  • Handle: RePEc:jss:jstsof:v:035:i11
    DOI: http://hdl.handle.net/10.18637/jss.v035.i11
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v035i11/v35i11.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v035i11/COZIGAM_2.0-3.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v035i11/v35i11.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v035.i11?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Zeileis, Achim & Kleiber, Christian & Jackman, Simon, 2008. "Regression Models for Count Data in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i08).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Yee, Thomas W., 2014. "Reduced-rank vector generalized linear models with two linear predictors," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 889-902.
    2. Taotian Tu & Keqiang Xu & Lei Xu & Yuan Gao & Ying Zhou & Yaming He & Yang Liu & Qiyong Liu & Hengqing Ji & Wenge Tang, 2021. "Association between meteorological factors and the prevalence dynamics of Japanese encephalitis," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-11, March.
    3. Muñoz-Mas, R. & Martínez-Capel, F. & Alcaraz-Hernández, J.D. & Mouton, A.M., 2015. "Can multilayer perceptron ensembles model the ecological niche of freshwater fish species?," Ecological Modelling, Elsevier, vol. 309, pages 72-81.

    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. Totterman, Stephen, 2021. "Vehicle-based recreation and compliance for three beaches in northern New South Wales," OSF Preprints ja8h6, Center for Open Science.
    2. Christian Kleiber & Achim Zeileis, 2016. "Visualizing Count Data Regressions Using Rootograms," The American Statistician, Taylor & Francis Journals, vol. 70(3), pages 296-303, July.
    3. Sewando, Ponsian T. & Mdoe, N. Y. S. & Mutabazi, K. D. S, 2011. "Farmers’ preferential choice decisions to alternative cassava value chain strands in Morogoro rural district, Tanzania," MPRA Paper 29797, University Library of Munich, Germany.
    4. Lawrence N Kazembe, 2013. "A Bayesian Two Part Model Applied to Analyze Risk Factors of Adult Mortality with Application to Data from Namibia," PLOS ONE, Public Library of Science, vol. 8(9), pages 1-10, September.
    5. Ina Falfán & Luis Zambrano, 2023. "Lacustrine Urban Blue Spaces: Low Availability and Inequitable Distribution in the Most Populated Cities in Mexico," Land, MDPI, vol. 12(1), pages 1-18, January.
    6. Guarino, Ernestino de Souza Gomes & Barbosa, Ana Márcia & Waechter, Jorge Luiz, 2012. "Occurrence and abundance models of threatened plant species: Applications to mitigate the impact of hydroelectric power dams," Ecological Modelling, Elsevier, vol. 230(C), pages 22-33.
    7. Evgenii V. Gilenko & Elena A. Mironova, 2017. "Modern claim frequency and claim severity models: An application to the Russian motor own damage insurance market," Cogent Economics & Finance, Taylor & Francis Journals, vol. 5(1), pages 1311097-131, January.
    8. Andre Jungmittag, 2019. "Service trade restrictiveness and internationalisation of retail trade," International Economics and Economic Policy, Springer, vol. 16(2), pages 293-333, April.
    9. Bonnini, S. & Borghesi, M. & Giacalone, M., 2024. "Semi-parametric approach for modelling overdispersed count data with application to Industry 4.0," Socio-Economic Planning Sciences, Elsevier, vol. 95(C).
    10. Erni, Birgit & Bonnevie, Bo T. & Oschadleus, Hans-Dieter & Altwegg, Res & Underhill, Les G., 2013. "moult: An R Package to Analyze Moult in Birds," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 52(i08).
    11. Zeileis, Achim & Koenker, Roger, 2008. "Econometrics in R: Past, Present, and Future," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i01).
    12. Christian Balcells, 2022. "Determinants of firm boundaries and organizational performance: an empirical investigation of the Chilean truck market," Journal of Evolutionary Economics, Springer, vol. 32(2), pages 423-461, April.
    13. Lindsay P Campbell & Daniel C Reuman & Joel Lutomiah & A Townsend Peterson & Kenneth J Linthicum & Seth C Britch & Assaf Anyamba & Rosemary Sang, 2019. "Predicting Abundances of Aedes mcintoshi, a primary Rift Valley fever virus mosquito vector," PLOS ONE, Public Library of Science, vol. 14(12), pages 1-19, December.
    14. Ulu, Sevincgul & Uslay, Can & Yeniyurt, Sengun (Shen), 2025. "Is this review Helpful? How product gender, verification, and valence shape perceived helpfulness," Journal of Retailing and Consumer Services, Elsevier, vol. 87(C).
    15. Moritz Berger & Gerhard Tutz, 2021. "Transition models for count data: a flexible alternative to fixed distribution models," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 30(4), pages 1259-1283, October.
    16. Long, Xueying & Bui, Quang & Oktavian, Grady & Schmidt, Daniel F. & Bergmeir, Christoph & Godahewa, Rakshitha & Lee, Seong Per & Zhao, Kaifeng & Condylis, Paul, 2025. "Scalable probabilistic forecasting in retail with gradient boosted trees: A practitioner’s approach," International Journal of Production Economics, Elsevier, vol. 279(C).
    17. Malhado, Ana C.M. & Santos, Janisson & Correia, Ricardo A. & Campos-Silva, João V. & Teles, Davi & Costa, Marcos H. & Jepson, Paul & Ladle, Richard J., 2020. "Monitoring and mapping non-governmental conservation action in Amazonia," Land Use Policy, Elsevier, vol. 94(C).
    18. Robert Spencer & Mario Bonfrisco & Yvan I. Russell, 2025. "Appropriation behaviour predicted by environmental uncertainty, but not social uncertainty, in a common-pool resource game," Journal of Evolutionary Economics, Springer, vol. 35(3), pages 587-607, July.
    19. Filipe Sengo Furtado & Thomas Reutterer & Nadine Schröder, 2022. "The carrot and the stick in online reviews: determinants of un-/helpfulness voting choices," Journal of Business Economics, Springer, vol. 92(4), pages 565-590, May.
    20. Despina Michelaki & Michail Tsagris & Christos Adam, 2025. "An Overview of Economics and Econometrics Related R Packages," Stats, MDPI, vol. 8(4), pages 1-13, September.

    More about this item

    Statistics

    Access and download statistics

    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:jss:jstsof:v:035:i11. 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: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    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.