powered by
Computes a hessian for the centered model, taking coefficients, a design matrix, a response matrix, and a list of adjacency matrices
centeredLogLikHess(theta, X, z, A, constraint, thetaInds)
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
a gradient vector
# NOT RUN { #g=centeredLogLikHess(theta,X,z,A) # }
Run the code above in your browser using DataLab