Yule-Simon Family Function
yulesimon.RdEstimating the shape parameter of the Yule-Simon distribution.
Arguments
- lshape
Link function for the shape parameter, called \(\rho\) below. See
Linksfor more choices and for general information.- ishape
Optional initial value for the (positive) parameter. See
CommonVGAMffArgumentsfor more information. The default is to obtain an initial value internally. Use this argument if the default fails.- nsimEIM, zero
See
CommonVGAMffArgumentsfor more information.
Details
The probability function is
$$f(y;\rho) = \rho*beta(y,\rho+1),$$
where the parameter \(\rho>0\),
\(beta\) is the beta function,
and \(y=1,2,\ldots\).
The function 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\).
The distribution was named after Udny Yule and Herbert A. Simon. Simon originally called it the Yule distribution. This family function can handle multiple responses.
Value
An object of class "vglmff"
(see vglmff-class).
The object is used by modelling functions
such as vglm
and vgam.