cmu-delphi / epipredict

Tools for building predictive models in epidemiology.
https://cmu-delphi.github.io/epipredict/
Other
8 stars 8 forks source link

`growth_rate` has some error #345

Open dsweber2 opened 1 week ago

dsweber2 commented 1 week ago

@dajmcdon mentioned there was some kind of error in the `growth rate calculation

dajmcdon commented 1 week ago

I believe only the method = "rel_change" will work correctly. The rest should not be used. A good stop gap would be to just remove those as possible arguments. But eventually, we'd want to fit the growth rate correctly on training data, and extrapolate correctly for test data.