sample_rt_error: Bootstrap Rt Estimates Using Past Errors

Description Usage Arguments Value

Description

sample_rt_error() performs weighted sampling of past errors in the mean and coefficient of variation in Rt estimates using the weights from weight_rt_error(). It converts these estimates to shape and rate parameters for summary.

Usage

1
sample_rt_error(.data, n = 10000)

Arguments

.data

The output of weight_rt_error()

n

The number of samples to take from each horizon

Value

A tibble of shape and rate estimates


jesse-smith/covidModel documentation built on Feb. 21, 2022, 3:23 p.m.