Skip to main content
Book cover

Epidemics pp 137–157Cite as

Trajectory Matching

  • Chapter
  • First Online:

Part of the book series: Use R! ((USE R))

Abstract

When we fit mechanistic models to data, we have to consider carefully the relationship between the nature of the data versus the nature of the model state variables. For example, when we work with continuous-time S(E)IR models it is important to keep in mind that incidence is not prevalence; so if our data is incidence we will need to do something more than trying to match simulated prevalence with observed incidence. We therefore start with a toy example using simulated data.

This chapter uses the following R-package: deSolve.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    If in a hurry we can ignore the constant and minimize \(\frac{n} {2} \log (RSS)\) because it is the relative likelihood that matters.

  2. 2.

    Bolker (2008) is an excellent broad discussion on estimation for ecologically realistic models using a variety of methods.

  3. 3.

    If the models are non-nested, formal tests are not available but information theoretical rankings of models using AIC, BIC, AIC-weights, etc. are useful.

References

  • Aitkin, M. A., Francis, B., & Hinde, J. (2005). Statistical modelling in GLIM 4 (Vol. 32). New York, NY: Oxford University Press.

    MATH  Google Scholar 

  • Bolker, B. M. (2008). Ecological models and data in R. Princeton: Princeton University Press.

    MATH  Google Scholar 

  • Gillespie, D. T. (1977). Exact stochastic simulation of coupled chemical reactions. The Journal of Physical Chemistry, 81(25), 2340–2361.

    Article  Google Scholar 

  • Gillespie, D. T. (2001). Approximate accelerated stochastic simulation of chemically reacting systems. The Journal of Chemical Physics, 115(4), 1716–1733.

    Article  Google Scholar 

  • Grais, R. F., Conlan, A. J. K., Ferrari, M. J., Djibo, A., Le Menach, A., Bjørnstad, O. N., et al. (2008). Time is of the essence: Exploring a measles outbreak response vaccination in niamey, niger. Journal of the Royal Society Interface, 5(18), 67–74.

    Article  Google Scholar 

  • King, A. A., Ionides, E. L., Pascual, M., & Bouma, M. J. (2008). Inapparent infections and cholera dynamics. Nature, 454(7206), 877–880.

    Article  Google Scholar 

  • McCullagh, P., & Nelder, J. A. (1989). Generalized linear models: Vol. 37. Monographs on statistics and applied probability (2nd ed.). London: Chapman and Hall.

    Book  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Bjørnstad, O.N. (2018). Trajectory Matching. In: Epidemics. Use R!. Springer, Cham. https://doi.org/10.1007/978-3-319-97487-3_8

Download citation

Publish with us

Policies and ethics