ploggamma: PDF of Mixture Distribution

Description Usage Arguments Value References Examples

Description

Computes the PDF of the loggamma of the continuous-type random variable X given the following: P(a < x < b) = definite integral from z to b of (f(x)dx) f(x) is the density See Remark 3.7.1 on page 219 of the book.

Usage

1
ploggamma(x, alpha, beta)

Arguments

x

Vector of quantiles used in pgamma() function. All components are >= 1.

alpha

Shape value used in pgamma() function. Must be positive.

beta

Rate value used in pgamma() function. Cannot be zero.

Value

Distribution function from pgamma() function.

References

Hogg, R. McKean, J. Craig, A (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson

Examples

1
2
3
4
5
6
7
8
# Example where parameters are passed in as variables.
x <- 10
alpha <- 1
beta <- 1
result <- ploggamma(x, alpha, beta)

# Example where parameters are passed in as values.
result <- ploggamma(10, 1, 1)

joemckean/mathstat documentation built on May 30, 2019, 2:01 p.m.