kumar(lshape1 = "loge", lshape2 = "loge",
eshape1 = list(), eshape2 = list(),
ishape1 = NULL, ishape2 = NULL, grid.shape1 = c(0.4, 6.0),
tol12 = 1.0e-4, zero = NULL)
Links
for more choices.earg
in Links
for general information."vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.Jones, M. C. (2009). Kumaraswamy's distribution: A beta-type distribution with some tractability advantages. Statistical Methodology, 6, 70--81.
dkumar
,
betaff
.shape1 <- exp(1); shape2 <- exp(2);
kdata <- data.frame(y = rkumar(n = 1000, shape1, shape2))
fit <- vglm(y ~ 1, kumar, kdata, trace = TRUE)
c(with(kdata, mean(y)), head(fitted(fit), 1))
coef(fit, matrix = TRUE)
Coef(fit)
summary(fit)
Run the code above in your browser using DataLab