diag_lin: Diagnostics for the linear functional form and the link...

Description Usage Arguments Details Value Author(s) References See Also

View source: R/diag_lin.R

Description

Checks the linear functional form and the log-log link function assumptions of the Fine and Gray model. For internal use only.

Usage

1
diag_lin(t, ic, z, n.total, Nit, n.sim, n.plot, seed, minor_included)

Arguments

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.

Details

More details can be found in Li, Scheike and Zhang (2015).

Value

a "diaglin" class object.

Author(s)

Jianing Li

References

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.

See Also

diag_crr, plot.diaglin, print.diaglin


crskdiag documentation built on May 1, 2019, 10:53 p.m.

Related to diag_lin in crskdiag...