Closed payoto closed 4 years ago
Hi @payoto, yeah I was worried about this. Anyways we are soon releasing a new version with the ability to do forecasts for much longer. Importantly we will remove N2 to be a pre-defined value. Just give us some time as we are in middle of a busy period.
Hi @s-mishra no worries, thanks for the quick answer, If you have time could you comment on the validity of applying 0s for longer forecast periods?
Solved by merging your PR and new commit too 865806ff6f7afb393
Describe the bug
When running with data including and after the 18/04/20 the plot-forecast.r fail to run.
Diagnostic
This is because, at that stage Italy has 84 days of data, the forecasting is attempted for 7 days (hard coded in the forecast), and the model is only run for 90 days
N2
inbase.r
.The fixes
After a bit of poking around to find a fix:
base.r
increase the value ofN2
to 100 (its max allowed) This fix works for 10 days.data/serial_interval.csv
To Reproduce
Steps to reproduce the behavior:
Rscript data/fetch-ecdc.r
Rscript base.r base --debug
Error message