dot-calcIntegralCif_cpp: C++ Function Computing the Integral Terms for the Peron...

.calcIntegralCif_cppR Documentation

C++ Function Computing the Integral Terms for the Peron Method in the presence of competing risks (CR).

Description

Compute the integral with respect to the jump in CIF for pairs where both outcomes are censored.

Usage

.calcIntegralCif_cpp(
  cifJump,
  start_val,
  stop_val,
  cifTimeT,
  lastCIF,
  type,
  returnDeriv,
  derivSurv,
  derivSurvD
)

Arguments

cifJump

[matrix] cif[1] = jump times in control group (event of interest), cif[2-3] = CIF of event of interest in group T at times - tau and times + tau, cif[4] : jump in cif of control group at times (event of interest).

start_val

[numeric] Time at which to start the integral.

stop_val

[numeric] Time at which to stop the integral.

cifTimeT

[numeric] CIF of event of interest in group T evaluated at observed time of treatment patient.

lastCIF

[numeric, >0] last value of CIF of event type 1 in group T.

type

[numeric] Indicates the type of integral to compute (1 for wins, 2 for losses, 3 for neutral pairs with two events of interest - integral with t+tau and xi - and 4 for neutral pairs with two events of interest - integral with t+tau and t-tau).

returnDeriv

[logical] should the derivative regarding the survival parameters be return.

derivSurv

[matrix] matrix column filled of 0 whose number of rows is the number of parameters of the survival.

derivSurvD

[matrix] matrix column filled of 0 whose number of rows is the number of parameters of the survival used to compute the jumps.

Author(s)

Eva Cantagallo


bozenne/BuyseTest documentation built on Feb. 16, 2024, 5:35 a.m.