Produce pseudo values from a survival curve.
a vector of time points, at which to evaluate the pseudo values.
the type of value, either the probabilty in state
If any observations were removed due to missing values
if TRUE, return the data in "long" form as a data.frame with id, time, and pseudo as variables.
use n-1 as the multiplier rather than n
other arguments to the
This function computes pseudo values based on a first order Taylor series, also known as the "infinitesimal jackknife" (IJ) or "dfbeta" residuals. To be completely correct these results could perhaps be called ‘IJ pseudo values’ or even pseudo psuedo-values. For moderate to large data, however, the resulting values will be almost identical, numerically, to the ordinary jackknife.
A primary advantage of this approach is computational speed. Other features, neither good nor bad, are that they will agree with robust standard errors of other survival package estimates, which are based on the IJ, and that the mean of the estimates, over subjects, is exactly the underlying survival estimate.
surv is an acceptable synonym for
rmst, rmts are equivalent to
All of these are case insensitive.
A vector, matrix, or array. The first dimension is always the number of
fit object, in the same order as the original
data set (less any missing values that were removed when creating the
the second, if applicable, corresponds to
survival, and the last dimension to the selected time points.
For the data.frame option, a data frame containing values for id,
time, and pseudo. If the original
survfit call contained an
id statement, then the values in the
id column will be
taken from that variable. If the
id statement has a simple
id = patno, then the name of the id column will
be ‘patno’, otherwise it will be named ‘(id)’.
PK Andersen and M Pohar-Perme, Pseudo-observations in surivival analysis, Stat Methods Medical Res, 2010; 19:71-99
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.