Calculates the second derivative term with respect to sigma^2.
ss_sd(HL_array, HR_array, xAll, apply_diffs, temp_beta,
A_i, no_l_all, no_two_all, k, d)The output is a single value for the second derivative with respect to sigma^2.
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.
List containing the left and right matrices and event times.
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.
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 outcomes l and m.
Total number of outcomes.
Number of quadrature nodes.