TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Covid-19 timeline prediction with Gaussian curve

3 pointsby eatthatpieabout 5 years ago

3 comments

eatthatpieabout 5 years ago
Hi there! A few days ago I launched the COVID-19 timeline application: <a href="https:&#x2F;&#x2F;covid-gauss.site" rel="nofollow">https:&#x2F;&#x2F;covid-gauss.site</a>. I was curious about the actual timeline structure and a little annoyed by people in the media saying that the whole thing would last for months without any grounds for this kind of thesis.<p>I am not a scientist. This is a simple approximation to the Gaussian curve (so one of the possible mathematical models) and for now - nothing more. But for many countries such as Italy, Spain, Germany, the US, etc, the curve seems to be more accurate as the days go by.<p>I know the app is not perfect, updates will come. I surely need to make the model more stable.<p>Two days ago I heard in the media that in Germany couple hundred people died and more than 4000 got infected. That&#x27;s bad. But if you look at the curve, you will see that for the day that was the exact estimate, 20000 more infections will come (resulting in 140000 total cases) and the whole party will end in 4 weeks. And that&#x27;s a slightly different perspective.<p>Estimates are made for each country separately.<p>What do you think?<p><a href="https:&#x2F;&#x2F;covid-gauss.site&#x2F;" rel="nofollow">https:&#x2F;&#x2F;covid-gauss.site&#x2F;</a><p>~ etp.<p>PS. The code is open sourced and can be found here: <a href="https:&#x2F;&#x2F;github.com&#x2F;eatthatpie&#x2F;covid-gauss" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eatthatpie&#x2F;covid-gauss</a>. Please keep in mind that some parts of the code are still a bit messy. ;)
gus_massaabout 5 years ago
People complain, but a Gaussian is good enough for a rough approximation. The real curve is something like the derivative of a logistic, convoluted with something like a 15 day interval[1], and some noise, a lot of noise. Take a look at the SIR models and similar <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Compartmental_models_in_epidemiology" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Compartmental_models_in_epidem...</a> , that are betters models. They are close enough to a Gaussian, but the Gaussian has a faster decay, so a Gaussian approximation underestimate the length of the tail.<p>I don&#x27;t want to be mean, but the curve for Argentina is fucking inaccurate. [Hi from Argentina!] <a href="https:&#x2F;&#x2F;covid-gauss.site&#x2F;country&#x2F;argentina" rel="nofollow">https:&#x2F;&#x2F;covid-gauss.site&#x2F;country&#x2F;argentina</a> The expected peak is in the middle of May, the epidemy is not reducing here :(. Moreover, we made a huge mistake that effectively broke the quarantine last week, so I expect the peak to be earlier and higher.<p>Perhaps your fit is good enough for post-peak countries, but not for pre-peak countries.<p>[1] The important part is not how many people is diagnosed, but how many people is in the hospital. So it is necessary to model that the bad cases will need something like 2 weeks &#x2F; 1 month of hospitalization.
评论 #22830509 未加载
newsbinatorabout 5 years ago
This is really cool! I wonder how it fares with semi-reliable data, like where I live, in Belarus:<p><a href="https:&#x2F;&#x2F;covid-gauss.site&#x2F;country&#x2F;belarus" rel="nofollow">https:&#x2F;&#x2F;covid-gauss.site&#x2F;country&#x2F;belarus</a><p>Last I heard we were only testing people who had traveled and first-order contacts of those people, so the true numbers (and conversely the asymptomatic cases) could be much higher. That was over a month ago and perhaps we&#x27;re testing more people now, given community spread.<p>Still, can we assume the Gaussian curve is even in the right ball park? It&#x27;d be great to visualize an end date for all this.
评论 #22830535 未加载