GPC_cpp
call for each endpoint and each strata the pairwise comparison function suited to the type of endpoint and store the results.
GPC_cpp(
endpoint,
status,
indexC,
posC,
indexT,
posT,
threshold,
weight,
method,
D,
D_UTTE,
n_strata,
nUTTE_analyzedPeron_M1,
index_endpoint,
index_status,
index_UTTE,
list_survTimeC,
list_survTimeT,
list_survJumpC,
list_survJumpT,
list_lastSurv,
p_C,
p_T,
iid_survJumpC,
iid_survJumpT,
zeroPlus,
correctionUninf,
hierarchical,
hprojection,
neutralAsUninf,
keepScore,
returnIID,
debug
)GPC2_cpp(
endpoint,
status,
indexC,
posC,
indexT,
posT,
threshold,
weight,
method,
D,
D_UTTE,
n_strata,
nUTTE_analyzedPeron_M1,
index_endpoint,
index_status,
index_UTTE,
list_survTimeC,
list_survTimeT,
list_survJumpC,
list_survJumpT,
list_lastSurv,
p_C,
p_T,
iid_survJumpC,
iid_survJumpT,
zeroPlus,
correctionUninf,
hierarchical,
hprojection,
neutralAsUninf,
keepScore,
returnIID,
debug
)
A matrix containing the values of each endpoint (in columns) for each observation (in rows).
A matrix containing the values of the status variables relative to each endpoint (in columns) for each observation (in rows).
A list containing, for each strata, which rows of the endpoint and status matrices corresponds to the control observations. Not unique when bootstraping.
A list containing, for each strata, the unique identifier of each control observations.
A list containing, for each strata, which rows of the endpoint and status matrices corresponds to the treatment observations. Not unique when bootstraping.
A list containing, for each strata, the unique identifier of each treatment observations.
Store the thresholds associated to each endpoint. Must have length D. The threshold is ignored for binary endpoints.
Store the weight associated to each endpoint. Must have length D.
The index of the method used to score the pairs. Must have length D. 1 for continuous, 2 for Gehan, and 3 for Peron.
The number of endpoints.
The number of distinct time to event endpoints.
The number of strata.
The number of unique time-to-event endpoints that have been analyzed the Peron scoring rule before the current endpoint. Must have length D.
The position of the endpoint at each priority in the argument endpoint. Must have length D.
The position of the status at each priority in the argument status. Must have length D.
The position, among all the unique tte endpoints, of the TTE endpoints. Equals -1 for non tte endpoints. Must have length n_TTE.
A list of matrix containing the survival estimates (-threshold, 0, +threshold ...) for each event of the control group (in rows).
A list of matrix containing the survival estimates (-threshold, 0, +threshold ...) for each event of the treatment group (in rows).
A list of matrix containing the survival estimates and survival jumps when the survival for the control arm jumps.
A list of matrix containing the survival estimates and survival jumps when the survival for the treatment arm jumps.
A list of matrix containing the last survival estimate in each strata (rows) and treatment group (columns).
Number of nuisance parameter in the survival model for the control group, for each endpoint and strata
Number of nuisance parameter in the survival model for the treatment group, for each endpoint and strata
A list of matrix containing the iid of the survival estimates in the control group.
A list of matrix containing the iid of the survival estimates in the treatment group.
Value under which doubles are considered 0?
Should the uninformative weight be re-distributed to favorable and unfavorable?
Should only the uninformative pairs be analyzed at the lower priority endpoints (hierarchical GPC)? Otherwise all pairs will be compaired for all endpoint (full GPC).
Order of the H-projection used to compute the variance.
Should paired classified as neutral be re-analyzed using endpoints of lower priority?
Should the result of each pairwise comparison be kept?
Should the iid be computed?
Print messages tracing the execution of the function to help debugging. The amount of messages increase with the value of debug (0-5).
GPC_cpp implements GPC looping first over endpoints and then over pairs. To handle multiple endpoints, it stores some of the results which can be memory demanding when considering large sample - especially when computing the iid decomposition. GPC2_cpp implements GPC looping first over pairs and then over endpoints. It has rather minimal memory requirement but does not handle correction for uninformative pairs.