epiforecasts / EpiNow2

Estimate Realtime Case Counts and Time-varying Epidemiological Parameters
https://epiforecasts.io/EpiNow2/dev/
Other
116 stars 33 forks source link

Use multiplier to make rw non-centred #748

Closed seabbs closed 3 months ago

seabbs commented 3 months ago

This is a small PR that tests making the random walk non-centred.

seabbs commented 3 months ago

This doesn't look like it works when bp_sd is length 0 so won't be feasible for us

sbfnk commented 3 months ago

Could we not use something like

  array[bp_n] real<multiplier = (length(bp_sd > 0) ? bp_sd[1] : 0)> bp_effects;                   // Rt breakpoint effects
seabbs commented 3 months ago

Maybe though I have no idea of what a multiplier of 0 does?