y = rfrechet(n <- 1000, shape=exp(exp(0)))
hist(y)
fit2 = vglm(y ~ 1, frechet2, trace=TRUE, maxit=155)
fit3 = vglm(y ~ 1, frechet3(ilocation=0), trace=TRUE, maxit=155)
coef(fit3, matrix=TRUE)
Coef(fit3)
fitted(fit3)[1:5,]
mean(y)
weights(fit3, type="w")[1:5,]
vcov(fit3) # caution needed!
fit3@extra$location[1:3] # Estimate of the location parameter
fit3@extra$LHSanchor # Anchor point
min(y)
Run the code above in your browser using DataLab