Last chance! 50% off unlimited learning
Sale ends in
Estimates the 1-parameter gamma distribution by maximum likelihood estimation.
gamma1(link = "loge", zero = NULL)
Link function applied to the (positive) shape parameter.
See Links
for more choices and general information.
Details at CommonVGAMffArguments
.
An object of class "vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.
The density function is given by
gamma
.
The mean of
Most standard texts on statistical distributions describe the 1-parameter gamma distribution, e.g.,
Forbes, C., Evans, M., Hastings, N. and Peacock, B. (2011) Statistical Distributions, Hoboken, NJ, USA: John Wiley and Sons, Fourth edition.
gammaR
for the 2-parameter gamma distribution,
lgamma1
,
lindley
,
simulate.vlm
.
# NOT RUN {
gdata <- data.frame(y = rgamma(n = 100, shape = exp(3)))
fit <- vglm(y ~ 1, gamma1, data = gdata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
Coef(fit)
summary(fit)
# }
Run the code above in your browser using DataLab