
gamma1(link = "loge", zero = NULL)
Links
for more choices and general information.CommonVGAMffArguments
."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.gamma
.
The mean of $Y$ (returned as the fitted values)
is $\mu=shape$, and the variance is
$\sigma^2 = shape$.Evans, M., Hastings, N. and Peacock, B. (2000) Statistical Distributions, New York: Wiley-Interscience, Third edition.
gamma2.ab
for the 2-parameter gamma distribution,
lgammaff
,
lindley
.gdata <- data.frame(y = rgamma(n = 100, shape = exp(3)))
fit <- vglm(y ~ 1, gamma1, gdata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
Coef(fit)
summary(fit)
Run the code above in your browser using DataLab