
prentice74(llocation = "identity", lscale = "loge", lshape = "identity",
ilocation = NULL, iscale = NULL, ishape = NULL, zero = 2:3)
Links
for more choices.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
.pdata <- data.frame(x2 = runif(nn <- 1000))
pdata <- transform(pdata, loc = -1 + 2*x2, Scale = exp(1))
pdata <- transform(pdata, y = rlgamma(nn, loc = loc, scale = Scale, k = 1))
fit <- vglm(y ~ x2, prentice74(zero = 2:3), pdata, trace = TRUE)
coef(fit, matrix = TRUE) # Note the coefficients for location
Run the code above in your browser using DataLab