Last chance! 50% off unlimited learning
Sale ends in
yulesimon(link="loge", earg=list(), irho=NULL, nsimEIM=200)
Links
for more choices and for general information.CommonVGAMffArguments
for more information.
The default is to obtain an initial value internally. Use this argument
if the defauCommonVGAMffArguments
for more information."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.dyules
computes this probability function.
The mean of $Y$, which is returned as fitted values, is
$\rho/(\rho-1)$
provided $\rho > 1$.
The variance of $Y$ is
$\rho^2/((\rho-1)^2 (\rho-2))$
provided $\rho > 2$.ryules
.ydata = data.frame(x = runif(nn <- 1000))
ydata = transform(ydata, y = ryules(nn, rho=exp(1.5-x)))
with(ydata, table(y))
fit = vglm(y ~ x, yulesimon, ydata, trace=TRUE)
coef(fit, matrix=TRUE)
summary(fit)
Run the code above in your browser using DataLab