Learn R Programming

automultinomial (version 1.0.0)

JMatrixUncentered: Uncentered J matrix

Description

Used for a variance estimate accounting for correlation between sites or for sandwich estimate for independent sites.

Usage

JMatrixUncentered(theta, X, z, A, constraint, thetaInds, innerIndices)

Arguments

theta

a matrix of coefficients

X

a design matrix

z

a matrix of responses

A

a list of adjacency matrices

constraint

"symmetric" or "diagonal"

thetaInds

list of useful indices

innerIndices

the 1-dimensional indices of points within the grid

Value

The J matrix for the sandwich variance estimator.

Examples

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

Run the code above in your browser using DataLab