frechet2(location = 0, lscale = "loge", lshape = "logoff",
escale = list(), eshape = list(offset = -2), iscale = NULL,
ishape = NULL, nsimEIM = 250, zero = NULL)
Links
for more choices.CommonVGAMffArguments
for information."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.frechet2
may fail for low values of
the shape parameter, e.g., near 2 or lower.
Family frechet2
has $a$ known, and
$\log(b)$ and
$\log(s - 2)$ are the default linear/additive predictors.
The working weights are estimated by simulated Fisher scoring.
rfrechet
,
gev
.set.seed(123)
fdata = data.frame(y1 = rfrechet(nn <- 1000, shape = 2 + exp(1)))
with(fdata, hist(y1))
fit2 = vglm(y1 ~ 1, frechet2, fdata, trace = TRUE)
coef(fit2, matrix = TRUE)
Coef(fit2)
head(fitted(fit2))
with(fdata, mean(y1))
head(weights(fit2, type = "working"))
vcov(fit2)
Run the code above in your browser using DataLab