find_gamma_parameters: Get the shape and rate parameter of a gamma distribution...

Description Usage Arguments Value

View source: R/CMJ-functions.R

Description

Get the shape and rate parameter of a gamma distribution given an integration interval and mean.

Usage

1
find_gamma_parameters(m = 5.5, a = 0, b = 11.5, int_value = 0.975)

Arguments

m

The mean of the gamma distribution.

a

The lower limit of integration. Default is a=0

b

The upper limit of intefration. Default is b=11.5

int_value

The confidence level \int_a^b f(x)\,dx = int_value. Default is int_value = .975

P

The parameter of the logarithmic distribution for the number of infected during an event. Default p=0.5

Value

The shape and rate parameters of the gamma distribution.


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