powered by
Used for a variance estimate accounting for correlation between sites or for sandwich estimate for independent sites.
JMatrixUncentered(theta, X, z, A, constraint, thetaInds, innerIndices)
a matrix of coefficients
a design matrix
a matrix of responses
a list of adjacency matrices
"symmetric" or "diagonal"
list of useful indices
the 1-dimensional indices of points within the grid
The J matrix for the sandwich variance estimator.
# NOT RUN { #JMatrix=JMatrixUnCentered(theta,X,z,A,innerIndices) # }
Run the code above in your browser using DataLab