Skip to contents

Stan data needed for the model where we aggregate the ww data so that we have at most one WW osbservation per day (but likely a weekly avg)

Usage

get_stan_data(
  train_data,
  params,
  forecast_date,
  forecast_time,
  include_hosp,
  compute_likelihood,
  generation_interval,
  inf_to_hosp,
  infection_feedback_pmf,
  ...
)

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

...