calc.v {sensitivityPStrat}R Documentation

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.

Author(s)

Bryan E. Shepherd
Department of Biostatistics
Vanderbilt University

Charles Dupont
Department of Biostatistics
Vanderbilt University

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.


[Package sensitivityPStrat version 1.0-6 Index]