nricens.ipw.main: Estimate NRI by the inverse probability weighting (IPW)...

Description Usage Arguments

Description

Internaly used function by nricens to provide the NRI estimator by the IPW method. In the comparison for time to event models, it is possible to use directly when UP and DOWN subjects are known.

Usage

1
nricens.ipw.main(time, event, upp, dwn, t0)

Arguments

time

Vector of follow up times.

event

Vector of event indicators, 1 for event of interest, 0 for censoring.

upp, dwn

Vector of logical values to determine subjects who belong to UP and DOWN, respectively.

t0

Scalar value indicating a time to determine evnet/non-event.


nricens documentation built on May 2, 2019, 6:01 a.m.