Estimate the association parameter of Gumbel's Type I bivariate distribution by maximum likelihood estimation.
bigumbelIexp(lapar = "identitylink", iapar = NULL, imethod = 1)
Link function applied to the association parameter
Links
for more choices.
Numeric. Optional initial value for imethod
.
An integer with value 1
or 2
which
specifies the initialization method. If failure to converge occurs
try the other value, or else specify a value for ia
.
An object of class "vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
and vgam
.
The cumulative distribution function is
A variant of Newton-Raphson is used, which only seems to work for an
intercept model.
It is a very good idea to set trace=TRUE
.
Gumbel, E. J. (1960) Bivariate Exponential Distributions. Journal of the American Statistical Association, 55, 698--707.
# NOT RUN {
nn <- 1000
gdata <- data.frame(y1 = rexp(nn), y2 = rexp(nn))
# }
# NOT RUN {
with(gdata, plot(cbind(y1, y2)))
# }
# NOT RUN {
fit <- vglm(cbind(y1, y2) ~ 1, bigumbelIexp, data = gdata, trace = TRUE)
coef(fit, matrix = TRUE)
Coef(fit)
head(fitted(fit))
# }
Run the code above in your browser using DataLab