Calculates the Information matrix term of I_eta gamma for one outcome of interest l.
gammasigma(
l, HL_array, HR_array, tpos_all, obs_all,
apply_diffs, temp_beta, A_i, xDats, no_l_all,
no_two_all, gMat, a1, a2, k, d)The output is a matrix containing the component of the information matrix of the gamma and sigma^2 parameters for outcome l.
Index of first outcome of interest.
n x K matrix containing all the hazard values for the left times.
n x K matrix containing all the hazard values for the right times.
n x k matrix containing a indictor for whether that time is left-censored or not.
n x k matrix containing a indictor for whether that time is right-censored or not.
Matrix containing the differences between survival functions of the left and right time intervals.
vector of fitted coefficients.
Product of apply_diffs across all outcomes K summed over all quadrature nodes D.
List of design matrices.
n x (k - 1) matrix containing the product of apply_diffs across all outcomes K excluding the current outcome l.
n x (k - 2) matrix containing the product of apply_diffs across all outcomes k excluding the outcomes l and m.
n x q matrix of genetic information.
First shape parameter of beta parameter.
Second shape parameter of beta parameter.
Total number of outcomes.
Number of quadrature nodes.