Learn R Programming

ERPeq (version 0.1.0)

pdfggamma: Probability density function of the generalized gamma distribution

Description

Probability density function of the generalized gamma distribution

Usage

pdfggamma(par, x)

Value

return the value of the pdf of the generalized gamma distribution

Arguments

par

parameter vector of the generalized gamma distribution. First parameter is the dispersion, second is the location parameter and third is the family parameter.

x

vector of observations or single value

References

Stacy, E. W. (1962). A generalization of the gamma distribution. The Annals of mathematical statistics, 1187-1192.

Examples

Run this code
pdfggamma(c(2,5,3),3)

Run the code above in your browser using DataLab