Go back to Flu Mortality
Result 1989-1990 epidemic 2 SIR model Baseline Same Alpha BFGS (neg fast C code)
For the guess of parameters beta1 = 1.1 alpha1 = 1 Ne = 3876.95 I1 = 1 beta2 = 1.1 I2 = 1, we obtained
beta1 = 8.401451e+01 alpha1 = 8.354308e+01 Ne = 3.829846e+04 I1 = 5.024552e-03 beta2 = 8.439721e+01 I2 = 2.535297e-02
So, this implies that f = 3.829846e+04/27653146 = 0.001384959
The MLE was -72.83
The confidence intervals for the coefficients
2.5 % 97.5 %
beta1 8.117984e+01 8.417933e+01
alpha1 8.326731e+01 8.441057e+01
N 2.963360e+04 5.030402e+04
I1 6.903814e-03 1.626944e-02
beta2 8.308121e+01 8.481760e+01
I2 1.023528e-02 6.364487e-02
r 4.599860e+09 5.265839e+09
So, r = 9,460,771.
AICc value 169.8512
Here’s a plot of the model with the data (black is the data, blue is the sum of the two models and baseline, red is the first SIR model, yellow is the second SIR model, and orange is the baseline)
Here are the two SIR models, overall data, and regional data (blue is the BC data, green is the Ontario data, and purple is the Quebec data).