Answers are grounded in this paper and cite their sources.
This package implements a flexible approach for modeling dwell time distributions in compartmental models, enhancing epidemiology projections.
Compartmental models are widely used for dynamical systems where states are discrete such as in infectious diseases epidemiology with the so-called SIR or Susceptible-Infectious-Recovered framework. For mathematical simplicity, rates of transition between compartments are generally assumed to be independent of the dwell time (a.k.a. secondary time scale in survival analysis): they are either constant or dependent on the epidemiological time (a.k.a. primary time scale in survival analysis) only, either directly (e.g. environmental or behavioral forcings in epidemiological models) or indirectly through dependence on other variables of the system (e.g. the force of infection in epidemiological models). In some domains of application, this memoryless assumption leads to distributions of dwelling times that are incompatible with those observed on data is this can lead to serious problems since the model prediction are highly sensitive on the exact shape of these distributions. Here we propose a deterministic, continuous-variable, discrete-time compartmental modelling approach that allows full flexibility on the dwell time distributions. The accompanying denim package provides a user-friendly interface to implement our proposed method through a dedicated language for model definition. The package is open-source and available on CRAN. With more detailed data on the clinical process of infections becoming available, the denim package will be extremely useful for building more realistic epidemiological models providing more accurate projections.
No takes yet. Share an insight, caveat, or question.
Ong et al. (2025) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: