Calculates the Information matrix term of I_sigma^2 sigma^2 for outcome l.
sd_on(l, k, temp_beta, phen, d, apply_diffs, A_i,
no_l_all, HL_array, HR_array)The output is a single value for the second derivative with respect to sigma.
Index of first outcome of interest.
Total number of outcomes.
vector of fitted coefficients.
List containing the left and right design matrices and interval times for outcome l.
Total number of quadrature nodes.
Matrix containing the differences between survival functions of the left and right time intervals.
Product of apply_diffs across all outcomes K summed over all quadrature nodes D.
n x (k - 1) matrix containing the product of apply_diffs across all outcomes k excluding the current outcome l.
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.