generate_point_forecast: Generate a point forecast from probabilistic forecast

Description Usage Arguments Value See Also

View source: R/generate_point_forecasts.R

Description

The point forecast is taken to be either the expected value, median, or mode of the probabilistic forecasts.

Usage

1
2
generate_point_forecast(d, method = c("Median", "Expected Value",
  "Mode"))

Arguments

d

A data.frame with columns 'location', 'target', bin_start_incl', and 'value'

method

The method to be used to generate the point forecasts. "Median" (the default) uses the median value, "Expected Value" generates the expected value from the provided probabilities,and "Mode" returns the individual bin with the largest probability

Value

A data.frame with columns 'type' and 'value'

See Also

generate_point_forecasts


jarad/FluSight documentation built on Oct. 24, 2020, 9:58 p.m.