@@ -70,11 +70,12 @@ plot!(PCR_plt,(1+3):(length(kenya_pos_mv_av)+3),kenya_pos_mv_av,
70
70
# plot!(PCR_plt,(n_1+1):(size(linelist_data.cases,1)-3),weekly_mv_av(sum(linelist_data.cases,dims = 2)[:])[(n_1+1):end],color = :red,lw = 3,lab = "Daily cases: Kenyan MoH (7 day mv-av)")
71
71
smooth_cases_lookahead = weekly_mv_av (sum (linelist_data. cases[(n_1- 2 ): end ,:],dims = 2 )[:])
72
72
plot! (PCR_plt,(length (kenya_pos_mv_av)+ 4 ): (length (kenya_pos_mv_av)+ 3 + length (smooth_cases_lookahead)),smooth_cases_lookahead,
73
- color = :red ,lw = 3 ,
73
+ color = :black ,lw = 3 ,ls = :dash ,
74
74
lab = " Daily cases: 7 day mv-av (not used in fitting)" )
75
75
76
76
plot! (PCR_plt,4 : (n- 3 ),kenya_pcr_forecast_mv_av,ribbon = 9 * sqrt .(kenya_pcr_forecast_mv_av_var),
77
- color = :green , lw = 5 , ls = :dot ,lab = " Model fit and forecast (7 day mv-av)" )
77
+ color = :red , lw = 3 ,lab = " Model fit and forecast (7 day mv-av)" ,
78
+ fillalpha = 0.4 )
78
79
79
80
# savefig(PCR_plt,"plots/kenya_cases.png")
80
81
@@ -141,8 +142,8 @@ plot!(deaths_plt,4:(n-3),cumsum(kenya_deaths_forecast_mv_av),
141
142
142
143
143
144
# # Kenya Serology plot
144
- plotlyjs ()
145
- # gr()
145
+ # plotlyjs()
146
+ gr ()
146
147
xticktimes = [((Date (2020 ,2 ,1 ) + Month (k))- Date (2020 ,2 ,24 )). value for k = 1 : 18 ]
147
148
xticklabs = [monthname (k)[1 : 3 ]* " /20" for k = 3 : 12 ]
148
149
xticklabs = vcat (xticklabs,[monthname (k)[1 : 3 ]* " /21" for k = 1 : 8 ])
@@ -228,14 +229,14 @@ scatter!(plt_sero,xs_mondays[seroidxs.*rnd3_idxs],kenya_weekly_sero_pos_rnd3[ser
228
229
lab = " Weekly KNBTS: round 3 (not used in fitting)" )
229
230
plot! (plt_sero,kenya_serology_forecast_nw,lw = 2 ,color = :green ,
230
231
ribbon = 3 * sqrt .(var_kenya_serology_forecast),
231
- lab = " Model fit: seroposivity (adjusted , no seroreversion)" )
232
+ lab = " Model fit: seropositivity (test weighted , no seroreversion)" )
232
233
plot! (plt_sero,test_weighted_kenya_serology_forecast,lw = 2 ,ls = :dash ,color = :green ,
233
- lab = " Model fit: seroposivity (adjusted , with seroreversion)" )
234
+ lab = " Model fit: seropositivity (test weighted , with seroreversion)" )
234
235
235
236
236
237
plot! (plt_sero,kenya_infections_forecast./ sum (N_kenya),
237
238
ribbon = 9 * sqrt .(var_kenya_infections_forecast)./ sum (N_kenya),
238
- lab = " Model fit: Overall Kenyan population exposure (unadjusted) " ,
239
+ lab = " Model fit: Overall Kenyan population exposure" ,
239
240
color = :red )
240
241
241
242
# savefig(plt_sero,"plots/kenya_sero.png")
0 commit comments