alpha = exp(exp(0.5)) # 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
fitted(fit)[1:4,]
Run the code above in your browser using DataLab