CovidToday / backend

Code for statistical methods which estimates outbreak indicators at Covid Today.
https://www.covidtoday.in/
GNU General Public License v3.0
13 stars 13 forks source link

Doubling Time #10

Closed MGMD-96 closed 4 years ago

MGMD-96 commented 4 years ago

TO CALCULATE TIMEVARYING DOUBLING TIME (NATIONAL AND STATEWISE)

Basic method: INCIDENCE DATA→ FIT REGRESSION MODEL TO ESTIMATE GROWTH RATE (r ) → USING r, CALCULATE DOUBLING TIME

Which regression model Where to put 7 day windows (incidence data/growth rate/doubling time) -- I think growth rate


As another metric of outbreak progression, we estimated the rate of spread (r) using a quasipoisson regression model . The R^2 value of the regression fit was then used to assess the goodness-of-fit. In order to account for potential changes in the rate of spread over the course of the outbreak we used a 7-day sliding window to produce time-varying estimates of the rate of spread and the corresponding R^2. The doubling time was then estimated by calculating ln(2/r) for each estimate of the rate of spread. [26] https://doi.org/https://doi.org/10.1016/j.epidem.2018.12.002


We have calculated the daily average doubling time by the length of a time period divided by the natural log (ln) of the relative growth in the numbers of reported cases during the same period. (Ref) Average doubling time=(t1-t0)×ln(N0/N1)×ln(2),
where N1 and N0 are the number of cases at times t1 and t0, respectively where t1 and t0 represent consecutive days and hence the numerator is always 1. The units correspond to those used to measure the interval length t1-t0.

https://www.databrew.cc/double# -- code with doubling time calculation

MGMD-96 commented 4 years ago

Doubling time version1 contributed into repo by @technosap. Closing.