alpha = exp(exp(-0.1)) # The parameter
hdata = data.frame(y = rhzeta(n = 1000, alpha))
fit = vglm(y ~ 1, hzeta, hdata, trace = TRUE, crit = "c")
coef(fit, matrix = TRUE)
Coef(fit) # Useful for intercept-only models; should be same as alpha
c(with(hdata, mean(y)), head(fitted(fit), 1))
summary(fit)
Run the code above in your browser using DataLab