tvef.zero {surtvep}R Documentation

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)

Arguments

fit

fitted coxtv or coxtp model.

parm

the names of parameters to be tested.

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.

See Also

tvef.ph 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)


[Package surtvep version 1.0.0 Index]