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