Testing differences in Competing Risks Regression Models between groups.

testReg(reg, conf.int = 0.95)

Arguments

reg

a result of fitReg function.

conf.int

level of two-sided confidence interval (default 0.95).

Value

a data.frame containing p-values of Modified Log-Rank Test for each type of event. The test compares differences between groups in Competing Risks Cox Models.

See also

fitReg

Examples

fitR <- fitReg(time = LUAD$time, risk = LUAD$event, group = LUAD$gender, cens = "alive")
#> 19 cases omitted due to missing values #> 19 cases omitted due to missing values
testReg(fitR)
#> death new_tumor #> CompRisk likelihood ratio test 0.82 0.91