Go back to Flu Mortality
Result 1990-1991 epidemic 2 SIR model Baseline Different Alpha BFGS (neg fast C code)
For the guess of parameters beta1 = 0.3 alpha1 = 0.2 Ne = 3838.472 I1 = 1 beta2 = 0.3 alpha2 = 0.2 I2 = 1, we obtained
beta1 = 6.786365e+01 alpha1 = 6.658420e+01 Ne = 3.836923e+03 I1 = 8.421078e-02 beta2 = 4.378168e+00 alpha2 = 4.087894e+00 I2 = 1.654210e+00
So, this implies that f = 3.836923e+03/28023630 = 0.0001369174
The MLE was -82.25
The confidence intervals for the coefficients
2.5 % 97.5 %
beta1 6.533341e+01 7.030029e+01
alpha1 6.431075e+01 6.909497e+01
N 5.376076e+03 7.891939e+03
I1 1.597897e-01 3.181376e-01
beta2 4.037443e+00 4.613606e+00
alpha2 3.876967e+00 4.443208e+00
I2 2.024110e+00 6.804113e+00
r 6.386031e+11 7.311890e+11
So, r = 435,063,138.
AICc value 190.7815
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).