PLAC_TD {plac} | R Documentation |
C++ Function for Solving the PLAC Estimator. (with time-dependent convariates independent of A^*)
Description
C++ Function for Solving the PLAC Estimator. (with time-dependent convariates independent of A^*)
Usage
PLAC_TD(Z, ZFV_, X, W, Ind1, Ind2, Dn, b, h, K = 100L)
Arguments
Z |
matrix for all the covariates history. |
ZFV_ |
matrix for all covariates at the each individual's observed survival time. |
X |
the response matrix (As, Xs, Ds). |
W |
the ordered observed event times. |
Ind1 |
risk-set indicators. |
Ind2 |
truncation pair indicators. |
Dn |
number of ties at each observed event time. |
b |
initial values of the regression coefficients. |
h |
initial values of the baseline hazard function. |
K |
maximal iteration number, the default is |
Value
list of model fitting results for both conditional approach and the PLAC estimator.
[Package plac version 0.1.3 Index]