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.
(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.