Learn R Programming

crmPack (version 2.0.0)

DLTLikelihood: Likelihood of DLTs in each interval

Description

This is a helper function for the fitPEM methods below.

Usage

DLTLikelihood(lambda, Tmax)

Value

vector with the probabilities for DLTs within the intervals.

Arguments

lambda

the vector of piecewise hazards

Tmax

the end of the time interval for DLTs