hdslc.fast {hds} | R Documentation |
Hazard discrimination summary estimate (local constant) at one time point
Description
hdslc.fast
estimates HDS at a single time using the local-in-time
proportional hazards model. See Cai and Sun (2003, Scandinavian Journal of
Statistics) for details on the local-in-time PH model.
Usage
hdslc.fast(S, betahat, m)
Arguments
S |
A vector of length |
betahat |
A p x 1 vector of coefficient estimates at time t of interest
from the local-in-time Cox model. Vector length p is the number of
covariates. Typically the output from |
m |
A numeric n x p matrix of covariate values, with a column for each covariate and each observation is on a separate row. |
Details
The user typically will not interact with this function. Rather, hdslc
wraps this function and is what the user typically will use.
Value
The HDS estimate at times t, where t is implied by choice of S
and betahat
passed to hdslc.fast
.