Skip to contents

Get the formating of the stan data needed for the site level model, where we can observe WW observations on any day and multiple per day across different sites

Usage

get_stan_data_site_level_model(
  train_data,
  params,
  forecast_date,
  forecast_time,
  model_type,
  generation_interval,
  inf_to_hosp,
  infection_feedback_pmf,
  include_hosp = 1,
  compute_likelihood = 1,
  ...
)

Arguments

generation_interval

vector of discretized probability mass indexed starting at day 1 after infection, describing the probability of onwards infection on each day after infection

inf_to_hosp

vector of discretized probability mass describing the probability of hopsital admissions on each day of infection, indexed starting at 0

infection_feedback_pmf

vector of discretized probability mass used to enforce the delay distribution on infection feedback

...