speffSurv {speff2trial} | R Documentation |
Semiparametric efficient estimation and testing for a two-sample treatment effect with a right-censored time-to-event endpoint
Description
speffSurv
conducts estimation and testing of the treatment effect in a two-group randomized
clinical trial with a right-censored time-to-event endpoint. It improves efficiency by leveraging baseline predictors
of the endpoint.
Usage
speffSurv(formula, data, force.in=NULL, nvmax=9,
method=c("exhaustive", "forward", "backward"),
optimal=c("cp", "bic", "rsq"), trt.id,
conf.level=0.95, fixed=FALSE)
Arguments
formula |
a formula object with the response variable on the left of the |
data |
a data frame in which to interpret the variables named in the |
force.in |
a vector of indices to columns of the design matrix that should be included in each regression model. |
nvmax |
the maximum number of covariates considered for inclusion in a model. The default is 9. |
method |
specifies the type of search technique used in the model selection procedure carried out by the
|
optimal |
specifies the optimization criterion for model selection. The default is " |
trt.id |
a character string specifying the name of the treatment indicator which can be a character or a numeric vector. The control and treatment group is defined by the alphanumeric order of labels used in the treatment indicator. |
conf.level |
the confidence level to be used for confidence intervals reported by |
fixed |
logical value; if |
Details
The treatment effect is represented by the (unadjusted) log hazard ratio for the treatment versus control group. The estimate of the treatment effect using the (unadjusted) proportional hazards model is included in the output.
Using the automated model selection procedure performed by regsubsets
, two optimal linear regression models
are developed to characterize the influence function of an estimator that is more efficient
than the maximum partial likelihood estimator. The "efficient" influence function is searched in the space of
influence functions that determine all regular and asymptotically linear estimators for the treatment effect
(for definitions see, for example, Tsiatis, 2006). The space of influence functions has three components: the
estimation space that characterizes all regular and asymptotically linear estimators that do not use baseline
covariates. The other two subspaces, the randomization and censoring space, use baseline covariates to improve
the efficiency in the estimation of the treatment effect (Lu, 2008). The automated model selection procedure is
used to identify functions in the randomization and censoring space that satisfy a prespecified optimality criterion
and that lead to efficiency gain by using baseline predictors of the outcome.
The user has the option to avoid the automated variable selection and, instead, use all variables specified in the
formula for the estimation of the treatment effect. This is achieved by setting fixed=TRUE
.
speffSurv
does not allow missing values in the data.
Value
speffSurv
returns an object of class "speffSurv
" which can be processed by
summary.speffSurv
to obtain or print a summary of the results. An object of class "speffSurv
"
is a list containing the following components:
beta |
a numeric vector with estimates of the treatment effect from the unadjusted proportional hazards model and the semiparametric efficient model using baseline covariates, respectively. |
varbeta |
a numeric vector of variance estimates for the treatment effect estimates in |
formula |
a list with components |
fixed |
a logical value; if |
conf.level |
confidence level of the confidence intervals reported by |
method |
search technique employed in the model selection procedure. |
n |
number of subjects in each treatment group. |
References
Lu X, Tsiatis AA. (2008), "Improving the efficiency of the log-rank test using auxiliary covariates.", Biometrika, 95:679–694.
Tsiatis AA. (2006), Semiparametric Theory and Missing Data., New York: Springer.
See Also
Examples
str(ACTG175)
data <- na.omit(ACTG175[ACTG175$arms==0 | ACTG175$arms==1, ])
data <- data[1:100, ]
### efficiency-improved estimation of log hazard ratio using
### baseline covariates
### 'fit1' coerces the use of all specified baseline covariates;
### automated selection procedure is skipped
fit1 <- speffSurv(Surv(days,cens) ~ cd40+cd80+age,
data=data, trt.id="arms", fixed=TRUE)
fit2 <- speffSurv(Surv(days,cens) ~ cd40+cd80+age+wtkg+drugs+karnof+z30+
preanti+symptom, data=data, trt.id="arms")