powered by
rglg is used to generate random numbers for a generalized log-gamma distribution.
rglg
rglg(n, location, scale, shape)
A vector of size n with the generalized log-gamma random values.
numeric, size of the random sample.
numeric, represents the location parameter of a generalized log-gamma distribution. Default value is 0.
numeric, represents the scale parameter of a generalized log-gamma distribution. Default value is 1.
numeric, represents the shape parameter of a generalized log-gamma distribution. Default value is 1.
Carlos Alberto Cardozo Delgado <cardozorpackages@gmail.com>
Carlos Alberto Cardozo Delgado, Semi-parametric generalized log-gamma regression models. Ph. D. thesis. Sao Paulo University.
u <- rglg(100, location = 0, scale = 1, shape = -1)
Run the code above in your browser using DataLab