Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Growth rate estimators #768

Open
adrian-lison opened this issue Sep 13, 2024 · 0 comments
Open

Growth rate estimators #768

adrian-lison opened this issue Sep 13, 2024 · 0 comments

Comments

@adrian-lison
Copy link

The growth rate is currently estimated via the log derivative of infections, see

vector calculate_growth(vector infections, int seeding_time) {
int t = num_elements(infections);
int ot = t - seeding_time;
vector[t] log_inf = log(infections);
vector[ot] growth = log_inf[(seeding_time + 1):t] - log_inf[seeding_time:(t - 1)];
return(growth);
}

I know that this is the classical interpretation of the growth rate, but wanted to point out the alternative version suggested in Parag et al. which instead computes the log derivative on the infectiousness (and shifts it by the mean generation time). When testing this in EpiSewer, it seemed to be slightly more stable and r=0 had a better temporal matching with Rt=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant