dglg: Density distribution function for a generalized log-gamma...

View source: R/dglg.R

dglgR Documentation

Density distribution function for a generalized log-gamma variable

Description

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

Usage

dglg(x, location, scale, shape)

Arguments

x

numeric, a real number.

location

numeric, represent the location parameter of a generalized log-gamma distribution. Default value is 0.

scale

numeric, represent the scale parameter of a generalized log-gamma distribution. Default value is 1.

shape

numeric, represent the shape parameter of a generalized log-gamma distribution. Default value is 1.

Author(s)

Carlos Alberto Cardozo Delgado <cardozorpackages@gmail.com>

References

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

Examples

x <- seq(-4,4,length=100)
dglg(x,location=0,scale=1,shape=1)
plot(x,dglg(x,location=0,scale=1,shape=1),type="l",xlab="x",ylab="Density")

sglg documentation built on Sept. 4, 2022, 9:05 a.m.

Related to dglg in sglg...