AntoineSoetewey / statsandr

A blog on statistics and R aiming at helping academics and professionals working with data to grasp important concepts in statistics and to apply them in R. See www.statsandr.com
http://statsandr.com/
36 stars 16 forks source link

cumulative_incident_cases #4

Closed tta7592 closed 4 years ago

tta7592 commented 4 years ago

Dear Antoine,

thank you very much for you paper on the top resources for covid 19 analytics.

I tried to adjust your code for Belgium for Ukraine. It looks easy - thanks for this. But as I could see - column "cumulative_incident_cases" in my table "fit" is the same as the colum "I"

Should they be equal?

AntoineSoetewey commented 4 years ago

Thanks for pointing this out.

No they should not be equal. I corrected the code, see the .Rmd file of this commit: https://github.com/AntoineSoetewey/statsandr/commit/88ffeaa90c901b715c63171a8d68b087ae4853d2.

Let me know if this helps. Best, Antoine

tta7592 commented 4 years ago

Thanks a lot!

One more question, if I may

At the moment I have "cumulative_incident_cases" for the observed period. But for the predicted period I have NAs for "cumulative_incident_cases" both in the table fir and in the table fitted_cummulative_incidence. Could you, please help. How to get "cumulative_incident_cases" for the predicted period.

Thank you

AntoineSoetewey commented 4 years ago

Does that help you?