pglg function

Cumulative distribution function for a generalized log-gamma variable

Cumulative distribution function for a generalized log-gamma variable

pglg is used to calculate the cumulative distribution function of a generalized log-gamma variable at x.

pglg(x, location, scale, shape)

Arguments

  • x: numeric, a vector of real values.
  • location: numeric, represents the location parameter of a generalized log-gamma distribution. Default value is 0.
  • scale: numeric, represents the scale parameter of a generalized log-gamma distribution. Default value is 1.
  • shape: numeric, represents the shape parameter of a generalized log-gamma distribution. Default value is 1.

Returns

A vector with the same size of x with the cumulative probability values of a generalized log-gamma distribution.

Examples

x <- runif(3,-1,1) pglg(sort(x),location=0, scale=1, shape=1)

References

Carlos Alberto Cardozo Delgado, Semi-parametric generalized log-gamma regression models. Ph. D. thesis. Sao Paulo University.

Author(s)

Carlos Alberto Cardozo Delgado cardozorpackages@gmail.com

  • Maintainer: Carlos Alberto Cardozo Delgado
  • License: GPL-3
  • Last published: 2022-09-04

Useful links