calc.v:
Calculates the v matrix used in the estimation of standard errors in sensitivitySGL.
Description
Calculates the v matrix used in the estimation of standard errors in sensitivitySGL.
Usage
calc.v(event, time)
Arguments
event
logical vector indicating whether and event has happened.
time
vector; time until event or observation halted.
Value
returns a matrix.
References
Shepherd BE, Gilbert PB, Lumley T (2007), Sensitivity analyses
comparing time-to-event outcomes existing only in a subset selected
postrandomization, Journal of the American Statistical Association
102, 573-582.