powered by
Computes a log pseudolikelihood for the centered model, taking coefficients, a design matrix, a response matrix, and a list of adjacency matrices
centeredLogLikelihood(theta, X, z, A, constraint, thetaInds, innerIndices)
a matrix of coefficients with dimension (p+(k-1)*length(A)) by k; frequently A will have length 1
nxp design matrix
nxk response matrix
a list of adjacency matrices
constraint on eta
relevant indices
internal grid indices
a log (pseudo-)likelihood
# NOT RUN { #g=centeredLogLikelihood(theta,X,z,A) # }
Run the code above in your browser using DataLab