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