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 the results of this function
could perhaps be called `IJ pseudo values' or even pseudo psuedo-values
to distinguish them from Andersen and Pohar-Perme.
For moderate to large data, however, the result will
be almost identical, numerically, to the ordinary jackknife psuedovalues.
A primary advantage of this approach is computational speed.
Two 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.
For the type
variable, surv
is an acceptable synonym for
pstate
, chaz
for cumhaz
, and
rmst
,rmts
and auc
are equivalent to sojourn
.
All of these are case insensitive.
If the orginal survfit
call produced multiple curves, the internal
computations are done separately for each curve.
The result from this routine is the IJ (as computed by resid.survfit)
scaled by n and then recentered.
If the the survfit
call included an id
option, n is
the number of unique id values, otherwise the number of rows in the data
set.
If the original survfit
call used case weights, those weights are
part of the IJ residuals, but are not used to compute the rescaling
factor n.
IJ values are well defined for all variants of the Aalen-Johansen
estimate; indeed, they are the basis for standard errors of the result.
However, understanding properties of the pseudovalues is still
evolving. Validity has been verified for the probability in state and
sojourn times whenever all subjects start in the same state;
this includes for instance the usual Kaplan-Meier and competing risks cases.
On the other hand, regression results based on pseudovalues from left-truncated
data will be biased (Parner); and pseudo-values for the cumulative hazard
have not been widely explored.
When a given subject is spread across multiple (time1, time2) windows,
e.g., a data set with a time-dependent covariate, the IJ values from a
simple survival (without TD variables) will sum to the overall IJ for
that subject; however, whether and how these partial pseudovalues can be
directly used in a model is still uncertain.
As understanding evolves, treat this routine's results as a reseach
tool, not production, for these more complex cases.