News for hackers. Stuff that matters.
Re:Show HN: Log-Scale Covid-19 Plots by noctilux on Saturday April 04, 2020 @01:53AM (#22776478)
Agree. I was confused by this at first but if the slope on lines without dividing by population is:

(log y2 - log y1) / (x2 - x1)

Then if we scale y2 and y1 both by c, which is 1 / population:

(log( c * y2 ) - log( c * y1 )) / (x2 - x1) =

(log c + log y2 - log c - log y1) / (x2 - x1) =

(log y2 - log y1) / (x2 - x1)

So scaling by population does not change the slope of the graphs, only the intercept.

Re:Show HN: Log-Scale Covid-19 Plots by lopmotr on Sunday April 05, 2020 @06:18PM (#22789207)
It doesn't even change the intercept because bigger countries reach their threshold number of cases sooner so that shifts them back again. Hence most of the lines are all roughly on top of each other regardless of country size.