tvef.ph {surtvep} | R Documentation |
coxtv
or coxtp
objectTesting the proportional hazards assumption using a Wald test statistic.
tvef.ph(fit, parm)
fit |
fitted |
parm |
the names of parameters to be tested. |
tvef.ph
produces a matrix. Each row corresponds to a covariate from the fitted object. The three
columns give the test statistic, degrees of freedom and P-value.
data(ExampleData)
z <- ExampleData$z
time <- ExampleData$time
event <- ExampleData$event
fit <- coxtv(event = event, z = z, time = time)
tvef.ph(fit)