Learn R Programming

SIMICO (version 0.2.0)

haz_left: H_ik(L_ik)

Description

Calculates the hazard function of the left time interval for outcome l.

Usage

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

Value

The output is a vector of the hazard values of the left times.

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.