Closed hfldai closed 3 years ago
Do we want to calculate number of cases and deaths in each model, or include it into the generic plotting function?
I think currently we calculate cumulative disease-caused deaths in each model separately, as each model consists of different infectious groups. The plotting function is defined outside of the model class, which can be called by different models, given they have the same format of output dataframe.
It's interesting to me that waning immunity is not considered when calculating the basic reproduction number. The course of the epidemic is so different with and without waning immunity, yet their reproduction numbers are the same.
Yes, whether or not including waning immunity gives different epidemic curves even though at the same R0, as R0 is the basic reproduction number that only implies the trend at the beginning of the epidemic, under the disease free equilibrium (DFE) condition (S0>0, E0>0, S0>>E0, other compartments = 0); thus R0 does not imply how the pandemic behaves in the later times. I think If we monitor the effective reproduction number R(t) for each time point, we might see the differences caused by waning immunity (and maybe also the effects by other conditions/parameters).
Logs on branch
i3-symptome-compartment
Model specificities
Incidence
and daily deaths into the outputFormat (goal - unify model structure across classes; generalize common functions / class definitions):
plot_dataframe
function outside of the model class (can be applied to any long-format dataframe)R0
andoutput
incidences out from the class. The corresponding methodsR0()
andrun()
simply return values rather than updating the class.Others
plotly
andkableExtra
in package and vigenettes. -- WHY? Parameter namings - reference list