Estimates the four parameters of the bivariate logistic distribution by maximum likelihood estimation.
bilogistic(llocation = "identitylink", lscale = "loge",
iloc1 = NULL, iscale1 = NULL, iloc2 = NULL, iscale2 = NULL,
imethod = 1, zero = NULL)
Link function applied to both location parameters
Links
for more choices.
Parameter link function applied to both
(positive) scale parameters Links
for more choices.
Initial values for the location parameters.
By default, initial values are chosen internally using
imethod
. Assigning values here will override
the argument imethod
.
Initial values for the scale parameters.
By default, initial values are chosen internally using
imethod
. Assigning values here will override
the argument imethod
.
An integer with value 1
or 2
which
specifies the initialization method. If failure to converge occurs
try the other value.
An integer-valued vector specifying which
linear/additive predictors are modelled as intercepts only.
The default is none of them.
If used, one can choose values from the set {1,2,3,4}.
See CommonVGAMffArguments
for more information.
An object of class "vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
rrvglm
and vgam
.
The four-parameter bivariate logistic distribution
has a density that can be written as
By default,
Gumbel, E. J. (1961) Bivariate logistic distributions. Journal of the American Statistical Association, 56, 335--349.
Castillo, E., Hadi, A. S., Balakrishnan, N. Sarabia, J. S. (2005) Extreme Value and Related Models with Applications in Engineering and Science, Hoboken, NJ, USA: Wiley-Interscience.
# NOT RUN {
ymat <- rbilogis(n <- 1000, loc1 = 5, loc2 = 7, scale2 = exp(1))
# }
# NOT RUN {
plot(ymat)
# }
# NOT RUN {
fit <- vglm(ymat ~ 1, fam = bilogistic, trace = TRUE)
coef(fit, matrix = TRUE)
Coef(fit)
head(fitted(fit))
vcov(fit)
head(weights(fit, type = "work"))
summary(fit)
# }
Run the code above in your browser using DataLab