gamma_cdf: CDF of Parameterized Gamma Distribution

Description Usage Arguments Details Value

Description

Calculate the area to the left or right of bound for a gamma distribution parameterized by the expected value and standard deviation.

Usage

1
gamma_cdf(mu, sigma, bound, lower.tail = TRUE)

Arguments

mu

The expected value of x (see details)

sigma

The standard deviation of x (see details)

bound

The quantile of the distribution of interest

lower.tail

A logical that indicates whether to find the area of the upper or lower tail. Default is TRUE.

Details

If x ~ Gamma(alpha, beta), then mu = E[x] and sigma^2 = Var(x)

Value

The area under the desired tail.


convoyinc/abayes documentation built on May 12, 2019, 1:34 a.m.