IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0311311.html
   My bibliography  Save this article

The nhppp package for simulating non-homogeneous Poisson point processes in R

Author

Listed:
  • Thomas A Trikalinos
  • Yuliia Sereda

Abstract

We introduce the nhppp package for simulating events from one dimensional non-homogeneous Poisson point processes (NHPPPs) in R fast and with a small memory footprint. We developed it to facilitate the sampling of event times in discrete event and statistical simulations. The package’s functions are based on three algorithms that provably sample from a target NHPPP: the time-transformation of a homogeneous Poisson process (of intensity one) via the inverse of the integrated intensity function; the generation of a Poisson number of order statistics from a fixed density function; and the thinning of a majorizing NHPPP via an acceptance-rejection scheme. We present a study of numerical accuracy and time performance of the algorithms. We illustrate use with simple reproducible examples.

Suggested Citation

  • Thomas A Trikalinos & Yuliia Sereda, 2024. "The nhppp package for simulating non-homogeneous Poisson point processes in R," PLOS ONE, Public Library of Science, vol. 19(11), pages 1-27, November.
  • Handle: RePEc:plo:pone00:0311311
    DOI: 10.1371/journal.pone.0311311
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0311311
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0311311&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0311311?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. R. D. Wright & T. E. Ramsay, Jr., 1979. "On the Effectiveness of Common Random Numbers," Management Science, INFORMS, vol. 25(7), pages 649-656, July.
    2. Song‐Hee Kim & Ward Whitt, 2014. "Choosing arrival process models for service systems: Tests of a nonhomogeneous Poisson process," Naval Research Logistics (NRL), John Wiley & Sons, vol. 61(1), pages 66-90, February.
    3. Zhengyi Zhou & David S. Matteson & Dawn B. Woodard & Shane G. Henderson & Athanasios C. Micheas, 2015. "A Spatio-Temporal Point Process Model for Ambulance Demand," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 110(509), pages 6-15, March.
    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. Athanasios C. Micheas & Jiaxun Chen, 2018. "sppmix: Poisson point process modeling using normal mixture models," Computational Statistics, Springer, vol. 33(4), pages 1767-1798, December.
    2. Dag Kolsrud, 2008. "Stochastic Ceteris Paribus Simulations," Computational Economics, Springer;Society for Computational Economics, vol. 31(1), pages 21-43, February.
    3. Ward Whitt & Jingtong Zhao, 2017. "Many‐server loss models with non‐poisson time‐varying arrivals," Naval Research Logistics (NRL), John Wiley & Sons, vol. 64(3), pages 177-202, April.
    4. Song-Hee Kim & Ward Whitt, 2014. "Are Call Center and Hospital Arrivals Well Modeled by Nonhomogeneous Poisson Processes?," Manufacturing & Service Operations Management, INFORMS, vol. 16(3), pages 464-480, July.
    5. Farzad Zaerpour & Marco Bijvank & Huiyin Ouyang & Zhankun Sun, 2022. "Scheduling of Physicians with Time‐Varying Productivity Levels in Emergency Departments," Production and Operations Management, Production and Operations Management Society, vol. 31(2), pages 645-667, February.
    6. Uddin, Md Nazir & Gaskins, Jeremy T., 2023. "Shared Bayesian variable shrinkage in multinomial logistic regression," Computational Statistics & Data Analysis, Elsevier, vol. 177(C).
    7. Kaan Kuzu & Refik Soyer & Murat T. Tarimcilar, 2023. "A semiparametric Bayesian model for queueing arrival processes: An application to call centers," Production and Operations Management, Production and Operations Management Society, vol. 32(10), pages 3266-3285, October.
    8. Safizadeh, M. Hossein, 2002. "Minimizing the bias and variance of the gradient estimate in RSM simulation studies," European Journal of Operational Research, Elsevier, vol. 136(1), pages 121-135, January.
    9. Mostafa Rezaei & Armann Ingolfsson, 2024. "Forecasting to support EMS tactical planning: what is important and what is not," Health Care Management Science, Springer, vol. 27(4), pages 604-630, December.
    10. Potter, Andrew & Yang, Biao & Lalwani, Chandra, 2007. "A simulation study of despatch bay performance in the steel processing industry," European Journal of Operational Research, Elsevier, vol. 179(2), pages 567-578, June.
    11. Heaton, Matthew J. & Dahl, Benjamin K. & Dayley, Caleb & Warr, Richard L. & White, Philip, 2024. "Integrating machine learning and Bayesian nonparametrics for flexible modeling of point pattern data," Computational Statistics & Data Analysis, Elsevier, vol. 191(C).
    12. Joshi, Shirish & Tew, Jeffrey D., 1995. "Validation and statistical analysis procedures under the common random number correlation-induction strategy for multipopulation simulation experiments," European Journal of Operational Research, Elsevier, vol. 85(1), pages 205-220, August.
    13. Chen, Jiaxun & Micheas, Athanasios C. & Holan, Scott H., 2022. "Hierarchical Bayesian modeling of spatio-temporal area-interaction processes," Computational Statistics & Data Analysis, Elsevier, vol. 167(C).
    14. G. Bet, 2020. "An alternative approach to heavy-traffic limits for finite-pool queues," Queueing Systems: Theory and Applications, Springer, vol. 95(1), pages 121-144, June.
    15. Abreu, Paulo & Santos, Daniel & Barbosa-Povoa, Ana, 2023. "Data-driven forecasting for operational planning of emergency medical services," Socio-Economic Planning Sciences, Elsevier, vol. 86(C).
    16. Benjamin M. Taylor, 2017. "Spatial modelling of emergency service response times," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 180(2), pages 433-453, February.
    17. Hyunjin Lee & Taesik Lee, 2021. "Demand modelling for emergency medical service system with multiple casualties cases: k-inflated mixture regression model," Flexible Services and Manufacturing Journal, Springer, vol. 33(4), pages 1090-1115, December.
    18. A. C. Micheas, 2025. "Random mixture Cox point processes," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 77(2), pages 289-330, April.
    19. Heemskerk, M. & Mandjes, M. & Mathijsen, B., 2022. "Staffing for many-server systems facing non-standard arrival processes," European Journal of Operational Research, Elsevier, vol. 296(3), pages 900-913.
    20. James Dong & Ward Whitt, 2015. "Using a birth‐and‐death process to estimate the steady‐state distribution of a periodic queue," Naval Research Logistics (NRL), John Wiley & Sons, vol. 62(8), pages 664-685, December.

    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:plo:pone00:0311311. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.