dglg {sglg} | R 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")
[Package sglg version 0.2.2 Index]