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.

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