mvlinks {mvord} | R Documentation |
Multivariate link functions in mvord
Description
Different link
functions are available in mvord:
Usage
mvprobit()
mvlogit(df = 8L)
Arguments
df |
integer specifying the degrees of freedom of the t copula |
Details
We allow for two different link functions, the multivariate probit link and the multivariate logit link. For the multivariate probit link a multivariate normal distribution for the errors is applied. The normal bivariate probabilities which enter the pairwise log-likelihood are computed with the package pbivnorm.
For the multivariate logit link a copula based multivariate
distribution with logistic margins is used.
The
mvlogit()
function has an optional integer valued argument
df
which specifies the degrees of freedom to be used for the
copula. The default value of the degrees of freedom parameter is
8. We restrict the degrees of freedom to be integer valued because the
most efficient routines for computing bivariate
probabilities do
not support non-integer degrees of freedom. For further details see vignette.
Value
The functions mvlogit()
and mvprobit()
returns an object
of class
'mvlink'
.
An object of class
'mvlink'
is a list containing the following components:
name
-
name of the multivariate link function
df
-
degrees of freedom of the t copula; returned only for
mvlogit()
F_uni
-
a function corresponding to the univariate margins of the multivariate distribution
of the subject errors; the function returns
F_biv
-
a function corresponding to the bivariate distribution of the multivariate distribution
of the subject errors
;
F_biv_rect
-
the function computes the rectangle probabilities from based on
F_biv
; the function has the matricesU
(upper bounds) andL
(lower bounds) as well as vectorr
containing the correlation coefficients corresponding to the bivariate distribution as arguments; the matricesU
andL
both have two columns, first corresponding to the bounds of x, second to the bounds of y; the number of rows corresponds to the number of observations; the rectangle probabilities are defined as F_multi
-
the function computes the multivariate probabilities for distribution function
; the function has the matrices
U
(upper bounds) andL
(lower bounds) as well as the listlist_R
containing for each observation the correlation matrix; F is needed for the computation of the fitted/predicted joint probabilities. If NULL only marginal probabilities can be computed. deriv.fun
-
(needed for computation of analytic standard errors) a list containing the following gradient functions:
dF1dx
derivative
function,
dF2dx
derivative
function,
dF2dr
derivative
function.
If
deriv.fun = NULL
numeric standard errors will be computed.