surv_diff {SIMICO}R Documentation

S_ik(L_ik) - S_ik(R_ik)

Description

Calculates the difference between the survival functions of the left and right time intervals for outcome k for quadrature node d.

Usage

surv_diff(l, d, temp_beta, phen, r1, k)

Arguments

l

Outcome of interest.

d

Total number of Gaussian quadrature nodes.

temp_beta

Vector of fitted coefficients.

phen

List of data matrices containing both left and right information.

r1

Gaussian quadrature nodes.

k

Total number of outcomes.

Value

The output is a vector of the difference of the survival values of the left times and right times.


[Package SIMICO version 0.2.0 Index]