Learn R Programming

automultinomial (version 1.0.0)

JMatrixCentered: J matrix for centered variance estimate

Description

Computes J matrix for the centered variance estimate

Usage

JMatrixCentered(theta, X, z, A, constraint, thetaInds)

Arguments

theta

coefficients

X

design matrix

z

response matrix

A

list of adjacency matrices

constraint

"symmetric" or "diagonal"

thetaInds

list of relevant indices in theta: betaInds, etaDiag, ...

Value

A sparse adjacency matrix

Examples

Run this code
# NOT RUN {
#JMatrix=JMatrixCentered(theta,X,z,A)
# }

Run the code above in your browser using DataLab