Compute the standard error associated to the predictions from Cox regression model using the functional delta method.
seRobustCox(nTimes, type, Lambda0, iid, object.n, nStrata, new.eXb, new.LPdata,
new.strata, new.survival, export)
the number of time points at which to evaluate the standard errors of the predictions.
One or several strings that match (either in lower or upper case or mixtures) one
or several of the strings "hazard"
,"cumhazard"
, "survival"
.
the baseline hazard estimate returned by BaseHazStrata_cpp
.
the value of the influence function returned by iidCox
.
the number of observations in the dataset used to estimate the object.
the number of strata.
the linear predictor evaluated for the new observations
the variables involved in the linear predictor for the new observations
the strata indicator for the new observations
the survival evaluated for the new observations
can be "iid" to return the value of the influence function for each observation "se" to return the standard error for a given timepoint
The fitted Cox regression model object either
obtained with coxph
(survival package) or cph
(rms package).
A list optionally containing the standard error for the survival, cumulative hazard and hazard.