sd_on | R Documentation |
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)
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. |
The output is a single value for the second derivative with respect to sigma.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.