gumbelII(lshape = "loge", lscale = "loge",
ishape = NULL, iscale = NULL,
probs.y = c(0.2, 0.5, 0.8),
perc.out = NULL, imethod = 1, zero = -2)
Links
for more choices.weibull
.CommonVGAMffArguments
."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
.weibull
, and is
due to Gumbel (1954).
This
dgumbelII
,
gumbel
,
gev
.gdata <- data.frame(x2 = runif(nn <- 1000))
gdata <- transform(gdata, eta1 = -1,
eta2 = -1 + 0.1 * x2,
ceta1 = 0,
ceta2 = 1)
gdata <- transform(gdata, shape1 = exp(eta1),
shape2 = exp(eta2),
scale1 = exp(ceta1),
scale2 = exp(ceta2))
gdata <- transform(gdata,
y1 = rgumbelII(nn, shape = shape1, scale = scale1),
y2 = rgumbelII(nn, shape = shape2, scale = scale2))
fit <- vglm(cbind(y1, y2) ~ x2,
gumbelII(zero = c(1, 2, 4)), gdata, trace = TRUE)
coef(fit, matrix = TRUE)
vcov(fit)
summary(fit)
Run the code above in your browser using DataLab