Compute the posterior of the difference between model predictions.
Source:R/compute_forecast_differences.R
compute_forecast_differences.Rd
Compute the posterior of the difference between model predictions.
Usage
compute_forecast_differences(
forecast_date,
location,
scenario,
raw_output_dir,
log_diff_offset
)
Arguments
- forecast_date
Forecast date for which to compute differences.
- location
Location for which to compute differences.
- scenario
Wastewater data availability scenario to analyze.
- raw_output_dir
Directory containing raw output
.rds
files. Used to obtain the admissions and wastewater data used in fitting the forecasting model.- log_diff_offset
Offset to add to incidences when computing a log difference.