prentice74(llocation = "identity", lscale = "loge", lshape = "identity",
elocation = list(), escale = list(), eshape = list(),
ilocation = NULL, iscale = NULL, ishape = NULL, zero = 2:3)
Links
for more choices.earg
in Links
for general information.CommonVGAMffArguments
for more informat"vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
.digamma
.
The mean of $Y$ is $a$ (returned as the fitted values).
This is a different parameterization compared to lgamma3ff
.Special cases: $q = 0$ is the normal distribution with standard deviation $b$, $q = -1$ is the extreme value distribution for maxima, $q = 1$ is the extreme value distribution for minima (Weibull). If $q > 0$ then the distribution is left skew, else $q < 0$ is right skew.
lgamma3ff
,
lgamma
,
gengamma
.pdat = data.frame(x = runif(nn <- 1000))
pdat = transform(pdat, loc = -1 + 2*x, Scale = exp(1))
pdat = transform(pdat, y = rlgamma(nn, loc = loc, scale = Scale, k = 1))
fit = vglm(y ~ x, prentice74(zero = 2:3), pdat, trace = TRUE)
coef(fit, matrix = TRUE) # Note the coefficients for location
Run the code above in your browser using DataLab