Creating or importing predictions

get_predictions()

Get predictions

get_forecaster_predictions()

Get predictions from a forecaster on the COVID Hub

get_forecast_dates()

Get forecast dates per forecaster given select filtering criteria

get_zoltar_forecast_dates()

Get available forecast dates for a COVID forecaster on Zoltar

get_zoltar_predictions()

Get predictions from a COVID forecaster in Zoltar

covidhub_probs()

Vector of quantiles used for submission to the COVID 19 Forecast Hub

get_covidhub_forecast_dates()

Get available forecast dates for a forecaster on the COVID Hub

get_covidhub_forecaster_names()

List all COVID forecast models available

get_covidhub_predictions()

Get predictions from forecasters on the COVID Hub

Evaluating predictions

evaluate_covid_predictions()

Create a score card data frame based on covid forecasts

evaluate_predictions()

Create a score card data frame

weighted_interval_score()

Compute weighted interval score

sharpness()

Sharpness component of the weighted interval score

overprediction()

Overprediction component of the weighted interval score

underprediction()

Underprediction component of the weighted interval score

absolute_error()

Compute absolute error

interval_coverage()

Generate interval coverage error measure function

get_actuals()

Retrieve actual results for provided forecasts

Summarizing scorecards or predictions

compute_actual_vs_nominal_prob()

Compute calibration of a quantile forecaster

compute_calibration()

Compute calibration of a quantile forecaster

compute_coverage()

Compute observed coverage from a quantile forecaster

compute_width()

Summarize forecast interval widths

scale_by_forecaster()

Scale error measures based on those of a particular forecaster.

filter_predictions()

Drop irrelevant predictions

Visualizing performance

plot_calibration()

Plot calibration curves

plot_canonical()

A canonical function for creating plots within evalcast

plot_coverage()

Plot interval coverage

plot_trajectory()

Plot predictions along with truth

plot_width()

Plot interval width

Example forecasters

baseline_forecaster()

Baseline forecaster

Utilities

get_target_period()

Get the target period for a forecast date, incidence period and ahead

get_target_ahead()

Compute forecast target date in days

format_traditional_calib_plot()

ggplot formatting for traditional calibration plot.

format_wedgeplot()

ggplot formatting for wedge calibration plot.

setup_wedgeplot()

Preprocessing for wedge calibration plot

collapse_cards()

Remove all quantile forecasts

averaging_checks()

Check if quantile forecasts are commensurate across groups

intersect_averagers()

Find common averaging "locations"

average_to_epiweek() sum_to_epiweek()

Summarize value over the trailing epiweek

as.predictions_cards()

Convert forecasts into a format compatible with all predictions_cards