Arguments
beta
current estimate of the coefficient(s) for covariate(s)
V
covariates included in the model. The function allows for one covariate or more than one covariates
U
observed survival time, U is death time if delta=1, and U is censoring time if delta=0
delta
censoring indicator, delta=1 for died, and delta=0 for censored
w11
weights for dynamic treatment regime A1B1
w12
weights for dynamic treatment regime A1B2
w21
weights for dynamic treatment regime A2B1
w22
weights for dynamic treatment regime A2B2