powered by
Computes the sandwich variance estimate for a given neighborhood structure and coefficient estimate
sandwichVariance(theta, X, z, A, centered, I = NULL, constraint, thetaInds, innerIndices)
a coefficient matrix
a design matrix
a matrix of multinomial responses
a list of adjacency matrices
use centered or uncentered model
Fisher information matrix
constraint on eta
relevant indices
internal grid indices
a covariance matrix
# NOT RUN { # # }
Run the code above in your browser using DataLab