predict_kde_peak_week: Compute predictive distribution for peak week from KDE fit

Description Usage Arguments Value

View source: R/kde-prediction-utils.R

Description

Compute predictive distribution for peak week from KDE fit

Usage

1

Arguments

fm

output from fit_kde_peak_week()

n_sim

number of draws from predictive distribution to return

Value

vector of 52 probabilities representing the predictive distribution of peak week, in bins representing season week 1 through 52 (or EW31 through EW30 – or EW29 if a 53 week year) with the final entry representing the probability of no onset#'


reichlab/adaptively-weighted-ensemble documentation built on May 27, 2019, 4:53 a.m.