Git Product home page Git Product logo

Comments (6)

md2perpe avatar md2perpe commented on August 16, 2024 2

I came here for the same idea. Plotting the quotient change/total or perhaps exp(change/total) would show the spread rate. This value could be plotted against time, either absolute or since "day 0".

Mathematics:
Assuming an exponential growth u(t) = C a^t, the derivative is u'(t) = (ln a) u(t), so u'(t)/u(t) = ln a.

from covidtrends.

exclipy avatar exclipy commented on August 16, 2024 1

The line is already showing a derivative so I'm not sure I could interpret what the second derivative would mean.

But on a similar vein, NYT has basically this graph divided by the x axis. See the last two chart at https://www.nytimes.com/interactive/2020/03/27/upshot/coronavirus-new-york-comparison.html

from covidtrends.

aatishb avatar aatishb commented on August 16, 2024 1

The last graph on the NYT article shared by @exclipy is super interesting. Might be worth looking into adding a view like that here. One of the issues with our log-log curve is that the slope doesn't convey the growth rate, instead the height of the curve does. (All exponential growth has the same slope on our log-log curve). So a separate view focusing on growth rate as suggested here makes sense to me.

from covidtrends.

snopicek avatar snopicek commented on August 16, 2024

Consider for example Sweden. Its path diverged slowly from the main highway, but then it returned to the exponential growth. In the second derivative picture, it would be shown only as a little, on the X axis bounded "dent" in otherwise constant function.

from covidtrends.

prestonraab avatar prestonraab commented on August 16, 2024

I think a value that would show a similar curve, with a more easily understood connection to the real world, is the percent of total cases which were new in the past week. It would still show exponential growth as a constant, and lend itself to calculations of the doubling rate.

from covidtrends.

md2perpe avatar md2perpe commented on August 16, 2024

@prestonraab. That's more or less the same thing.

from covidtrends.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.