Description Usage Arguments Details Value Author(s) References See Also
Checks the linear functional form and the log-log link function assumptions of the Fine and Gray model. For internal use only.
1 |
t |
a vector of observed times. |
ic |
a vector of cause indicators. |
z |
a matrix of covariates for fitting the model. |
n.total |
total number of samples |
Nit |
number of iterations for model estimation. Default is 20. |
n.sim |
number of iterations in the analytical diagnostics. Default is 1000. |
n.plot |
number of plots of simulated processes used in the graphical diagnostics. Default is 10. |
seed |
a seed used in generating the simulated processes. |
minor_included |
include the minor term in FG model if TRUE. Default is TRUE. |
More details can be found in Li, Scheike and Zhang (2015).
a "diaglin" class object.
Jianing Li
Li, Jianing, Thomas H. Scheike, and Mei-Jie Zhang. "Checking Fine and Gray subdistribution hazards model with cumulative sums of residuals." Lifetime data analysis 21.2 (2015): 197-217.
diag_crr
, plot.diaglin
, print.diaglin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.