ipw: IPW of the RMST

Description Usage Arguments Value

View source: R/functions.r

Description

IPW of the RMST

Usage

1
ipw(df, tau, q)

Arguments

df

Long form data frame containing variables gR = P(R = 1 | A = 1, W), gA = P(A = 1 | W)

tau

Restriction time

q

Bound for gR [0, 1 - q], and gA [q, 1]

Value

Estimate of Emin(T_1, tau) and (possibly incorrect) influence function based standard error


idiazst/survipw documentation built on Sept. 1, 2017, 12:29 a.m.