{"id":21254792,"url":"https://github.com/mlelarge/fitting_model_epidemiology","last_synced_at":"2025-06-24T04:06:39.011Z","repository":{"id":37089348,"uuid":"253354964","full_name":"mlelarge/fitting_model_epidemiology","owner":"mlelarge","description":"Code to estimate models in epidemiology","archived":false,"fork":false,"pushed_at":"2023-02-28T13:41:14.000Z","size":27510,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T19:21:50.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlelarge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-05T23:48:20.000Z","updated_at":"2022-02-17T16:21:54.000Z","dependencies_parsed_at":"2023-01-25T09:15:37.376Z","dependency_job_id":null,"html_url":"https://github.com/mlelarge/fitting_model_epidemiology","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mlelarge/fitting_model_epidemiology","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlelarge%2Ffitting_model_epidemiology","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlelarge%2Ffitting_model_epidemiology/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlelarge%2Ffitting_model_epidemiology/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlelarge%2Ffitting_model_epidemiology/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlelarge","download_url":"https://codeload.github.com/mlelarge/fitting_model_epidemiology/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlelarge%2Ffitting_model_epidemiology/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261601480,"owners_count":23183093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T03:58:26.781Z","updated_at":"2025-06-24T04:06:38.991Z","avatar_url":"https://github.com/mlelarge.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The impact of contact tracing: simulation study\n\nI am puzzled by the fact that the current debate around a possible tracking app is focusing on the privacy issue instead of its relevance for containing the virus. If we are ready to give our geolocation data to avoid a traffic jam, I think we would do the same to save lives...\n\nThere are quite a few limitations to the current proposals for contact tracing as it is very well explained by Ross Anderson in [Contact Tracing in the Real World](https://www.lightbluetouchpaper.org/2020/04/12/contact-tracing-in-the-real-world/). But technology will probably play a crucial role if it is shown to be efficient and if public trust it.\n\nHere I try to explain the impact of contact tracing on a simple model through simulations and compare it to a testing startegy.\n\nHere is an LinkedIn article version of the study [Impact_tracing_simulation](https://www.linkedin.com/pulse/impact-contact-tracing-simulation-study-marc-lelarge/)\n\nCode is available here: [Impact_tracing_simulation](https://github.com/mlelarge/fitting_model_epidemiology/blob/master/Impact_tracing_simulation.ipynb)\n\n# Estimating models in epidemiology with optimization\n\nThis repo describes a method to find parameters for a SIR like model from a partial view of the trajectory (i.e. with hidden variables).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"https://github.com/mlelarge/fitting_model_epidemiology/blob/master/images/fit_synth.png\"\u003e\n\u003c/p\u003e\n\n\nFor example, if we have only access to the number of individuals in hospital (dashed green curve above) and the number of deceased individuals (dashed red curve above) as a function of time, we can still estimate the number of infectious individuals as shown in the picture above. The estimated number of infectious individuals is given in blue and the true number of infectious individuals (as given by our synthetic model) is given in dashed blue.\n\nThe problem and the method is described in the [Synthetic_data](https://github.com/mlelarge/fitting_model_epidemiology/blob/master/Synthetic_data.ipynb) notebook and its application to real data is done in the [Real data](https://github.com/mlelarge/fitting_model_epidemiology/blob/master/Real_data.ipynb)\n\nHere is an html version of [Synthettic data](https://rawcdn.githack.com/mlelarge/fitting_model_epidemiology/370951067f45c183f23a929d7e02bce91e608da0/Synthetic_data.html)\n\nAuthor: [Marc Lelarge](https://www.di.ens.fr/~lelarge/)\n\n# Disclaimer\n\nI am an applied mathematician, not an epidemiologist. The main purpose of this repository is to test ideas but they need to be validated by an expert. There are still problems with the model but I think it can be fixed with your help!\n\nPlease use the code in this repository with care.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlelarge%2Ffitting_model_epidemiology","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlelarge%2Ffitting_model_epidemiology","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlelarge%2Ffitting_model_epidemiology/lists"}