covid19br / nowcaster

Repository to the R package nowcaster, nowcasting with INLA
https://covid19br.github.io/nowcaster
GNU General Public License v3.0
17 stars 5 forks source link

create `nowcasting_cluster()` #19

Open rafalopespx opened 2 years ago

rafalopespx commented 2 years ago

Create new internal functions for nowcasting with and without spatial structured data, nowcasting_spatial for spatialy structured data and the existing nowcasting_age & nowcasting_no_age for non-spatial structured data

rafalopespx commented 2 years ago

To a better nowcasting estimate we have to brake this issue into two new tasks, first we have to have a function for nowcasting by cluster which are iid, nowcasting_cluster_iid, where the function runs a nowcasting with delay and time structure like as in nowcasting_age but for each new cluster stratum. After this we can improve the estimation with a nowcasting_cluster_spatial, where the clusters are correlated and non-longer iid. Both of the functions has to be called internally by the nowcasting_inla via parameter signalling.