IDEAS home Printed from https://ideas.repec.org/a/sae/medema/v45y2025i2p205-213.html
   My bibliography  Save this article

A Fast Nonparametric Sampling Method for Time to Event in Individual-Level Simulation Models

Author

Listed:
  • David U. Garibay-Treviño

    (School of Epidemiology and Public Health, Faculty of Medicine, University of Ottawa, ON, Canada)

  • Hawre Jalal

    (School of Epidemiology and Public Health, Faculty of Medicine, University of Ottawa, ON, Canada)

  • Fernando Alarid-Escudero

    (Department of Health Policy, Stanford University School of Medicine, Stanford, CA, USA
    Center for Health Policy, Freeman Spogli Institute, Stanford University, Stanford, CA, USA)

Abstract

Purpose. Individual-level simulation models often require sampling times to events; however, efficient parametric distributions for many processes may often not exist. For example, time to death from life tables cannot be accurately sampled from existing parametric distributions. We propose an efficient nonparametric method to sample times to events that does not require any parametric assumption on the hazards. Methods. We developed a nonparametric sampling (NPS) approach that simultaneously draws multiple time-to-event samples from a categorical distribution. This approach can be applied to univariate and multivariate processes. We discretize the entire period into equal-length time intervals and then derived the interval-specific probabilities. The times to events can then be used directly in individual-level simulation models. We compared the accuracy of our approach in sampling time-to-events from common parametric distributions, including exponential, gamma, and Gompertz. In addition, we evaluated the method’s performance in sampling age to death from US life tables and sampling times to events from parametric baseline hazards with time-dependent covariates. Results. The NPS method estimated similar expected times to events from 1 million draws for the 3 parametric distributions, 100,000 draws for the homogenous cohort, 200,000 draws from the heterogeneous cohort, and 1 million draws for the parametric distributions with time-varying covariates, all in less than 1 second. Conclusion. Our method produces accurate and computationally efficient samples for time to events from hazards without requiring parametric assumptions. Highlights The nonparametric sampling method is generic and can sample times to an event from any discrete (or discretizable) hazard without requiring any parametric assumption. The method is showcased with 5 commonly used distributions in discrete-event simulation models. The method produced very similar expected times to events, as well as their probability distribution, compared with analytical results. We provide a multivariate categorical sampling function for R and Python programming languages to sample times to events from processes with different hazards simultaneously.

Suggested Citation

  • David U. Garibay-Treviño & Hawre Jalal & Fernando Alarid-Escudero, 2025. "A Fast Nonparametric Sampling Method for Time to Event in Individual-Level Simulation Models," Medical Decision Making, , vol. 45(2), pages 205-213, February.
  • Handle: RePEc:sae:medema:v:45:y:2025:i:2:p:205-213
    DOI: 10.1177/0272989X241308768
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/0272989X241308768
    Download Restriction: no

    File URL: https://libkey.io/10.1177/0272989X241308768?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
    ---><---

    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:sae:medema:v:45:y:2025:i:2:p:205-213. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: SAGE Publications (email available below). General contact details of provider: .

    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.