predict_kde_onset_week: Functions for predicting from KDE fits

Description Usage Arguments Value

View source: R/kde-utils.R

Description

Compute predictive distribution for onset_week from KDE fit

Usage

1

Arguments

fm

output from fit_kde_onset_week()

n_sim

number of draws from predictive distribution to return

Value

vector of 53 probabilities representing the predictive distribution of onset 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/cdcfluutils documentation built on March 12, 2020, 2:49 p.m.