Go back to Flu Mortality
Result 1997-1998 epidemic 3 SIR model Baseline Different Alpha BFGS (neg fast C code)
For the guess of parameters beta1 = 2.4 alpha1 = 2.3 Ne = 8551.444 I1 = 1 beta2 = 4.4 alpha2 = 3.9 I2 = 1 beta3 = 0.2 alpha3 = 0.1 I3 = 1, we obtained
beta1 = 4.363931e+00 alpha1 = 3.809274e+00 Ne = 8.551579e+03 I1 = 3.885657e-04 beta2 = 1.799235e+01 alpha2 = 1.746901e+01 I2 = 1.523945e-03 beta3 = 1.859563e+01 alpha3 = 1.836060e+01 I3 = 6.490046e-01
So, this implies that f = 8.551579e+03/30170983 = 0.0002834372
The MLE was -146.96
The confidence intervals for the coefficients
2.5 % 97.5 %
beta1 4.358730e+00 4.370502e+00
alpha1 3.802611e+00 3.814581e+00
N 8.734700e+03 9.041310e+03
I1 2.825564e-04 1.042557e-03
beta2 1.796568e+01 1.801987e+01
alpha2 1.744141e+01 1.749575e+01
I2 9.695971e-04 2.226375e-03
beta3 1.848680e+01 1.867848e+01
alpha3 1.827843e+01 1.846931e+01
I3 1.138983e+00 1.090040e+00
r 1.564707e+10 1.791427e+10
So, r = 19,893,613.
AICc value 326.4857
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, brown is the third SIR model, and orange is the baseline)
Here are the three SIR models, overall data, and regional data (blue is the BC data, green is the Ontario data, and purple is the Quebec data).
Here are the three SIR models, overall data, and laboratory data (blue is the type A flu data, green is the type B flu data).