Learn R Programming

surtvep (version 1.0.0)

tvef.zero: testing the significance of the covariates from a coxtv or coxtp object

Description

Testing the significance of the covariates from a coxtv or coxtp object using a Wald test statistic. The null hypothesis \(H_0: \beta(t) = 0\) for any \(t\), where \(t\) denotes the event time.

Usage

tvef.zero(fit, parm)

Value

tvef.zero 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.

Arguments

fit

fitted coxtv or coxtp model.

parm

the names of parameters to be tested.

See Also

tvef.ph tvef.zero.time

Examples

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

Run the code above in your browser using DataLab