betaII(link.scale = "loge", link.p = "loge", link.q = "loge",
earg.scale=list(), earg.p=list(), earg.q=list(),
init.scale = NULL, init.p = 1, init.q = 1, zero = NULL)
scale
, p
and q
.
See Links
for more choices.earg
in Links
for general information.scale
, p
and q
.scale
, p
, q
, respectively."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
.The beta II distribution has density
scale
,
and the others are shape parameters.
The mean is
betaff
,
genbetaII
,
dagum
,
sinmad
,
fisk
,
invlomax
,
lomax
,
paralogistic
,
invparalogistic
.bdata = data.frame(y = rsinmad(n=2000, a=1, 6, 2)) # Not genuine data!
fit = vglm(y ~ 1, betaII, bdata, trace=TRUE)
fit = vglm(y ~ 1, betaII(init.p=0.7, init.q=0.7), bdata, trace=TRUE, crit="c")
coef(fit, mat=TRUE)
Coef(fit)
summary(fit)
Run the code above in your browser using DataLab