tvef.ph: testing the proportional hazards assumption from a 'coxtv' or...

View source: R/tvef.ph.R

tvef.phR Documentation

testing the proportional hazards assumption from a coxtv or coxtp object

Description

Testing the proportional hazards assumption using a Wald test statistic.

Usage

tvef.ph(fit, parm)

Arguments

fit

fitted coxtv or coxtp model.

parm

the names of parameters to be tested.

Value

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.

See Also

tvef.zero tvef.zero.time

Examples

data(ExampleData)
z <- ExampleData$z
time <- ExampleData$time
event <- ExampleData$event
fit <- coxtv(event = event, z = z, time = time)
tvef.ph(fit)


surtvep documentation built on Oct. 17, 2023, 5:07 p.m.