st_off | R Documentation |
Calculates the Information matrix term of I_eta theta for one outcome of interest l.
st_off(l, HL_array, HR_array, xAll, apply_diffs, temp_beta, A_i, no_l_all, no_two_all, k, d)
l |
Index of first outcome of interest. |
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. |
xAll |
List containing the left and right matrices and event times. |
apply_diffs |
Matrix containing the differences between survival functions of the left and right time intervals. |
temp_beta |
vector of fitted coefficients. |
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. |
no_two_all |
n x (k - 2) matrix containing the product of apply_diffs across all outcomes k excluding outcomes l and m. |
k |
Total number of outcomes. |
d |
Number of quadrature nodes. |
The output is a matrix containing the component of the information matrix of the theta eta parameters for outcome l.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.