scoreCov {weightedScores}R Documentation

COVARIANCE MATRIX OF THE UNIVARIATE SCORES

Description

Covariance matrix of the univariates scores.

Usage

scoreCov(scnu,scgam,pmf,index,margmodel)
scoreCov.ord(scgam,pmf,index)

Arguments

scnu

The matrix of the score functions with respect to \nu.

scgam

The matrix of the score functions with respect to \gamma.

pmf

The matrix of rectangle probabilities.

index

The bivariate pair.

margmodel

Indicates the marginal model. Choices are “poisson” for Poisson, “bernoulli” for Bernoulli, and “nb1” , “nb2” for the NB1 and NB2 parametrization of negative binomial in Cameron and Trivedi (1998).

Details

The covariance matrix \Omega_i of s_i(a) computed from the fitted discretized MVN model with estimated parameters {\tilde a}, {\tilde R}.

Note that scoreCov.ord is a variant of the code for ordinal (probit and logistic) regression.

Value

Covariance matrix of the univariates scores \Omega_i.

Author(s)

Aristidis K. Nikoloulopoulos A.Nikoloulopoulos@uea.ac.uk
Harry Joe harry.joe@ubc.ca

See Also

approxbvncdf


[Package weightedScores version 0.9.5.3 Index]