
Check and warn if truncation distribution is longer than observed time
Source:R/checks.R
check_truncation_length.RdChecks if the truncation distribution PMF is longer than the observed time period (excluding seeding time and forecast horizon). The truncation is applied to the observed time period in the Stan model, so having a truncation distribution longer than this period means the tail of the distribution will be used.
Arguments
- stan_args
List of stan arguments including the data element with delay information from
create_stan_delays()- time_points
Integer length of the observed time period (t - seeding_time - horizon)