Learn R Programming

SIMICO (version 0.2.0)

haz_right: H_ik(R_ik)

Description

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

Usage

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

Value

The output is a vector of the hazard values of the right 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.