find_kappa: Find Gamma rate parameter

Description Usage Arguments Value

View source: R/utility-functions.R

Description

Given the average duration of the communicable window, and an upper bound corresponding to the p-th quantile (default p = 0.95), find the corresponding Gamma rate parameter.

Usage

1
find_kappa(tbar, p_val, p = 0.95)

Arguments

tbar

A scalar greater than 0. Average duration of the communicable window.

p_val

A scalar greater than 0. Upper quantile of the communicable window.

p

A scalar greater than 0 and smaller than 1. Quantile level (default 0.95)

Value

A shape parameter higher than zero


pspc-data-science/branchsim documentation built on Jan. 19, 2021, 10:10 a.m.