lpl: Log Partial Likelihood.

Description Usage Arguments Details Value Author(s) Examples

Description

Calculates the log partial likelihood.

Usage

1
lpl(beta, X, risksetlist, event)

Arguments

beta

vector of regression coefficients.

X

design matrix.

risksetlist

list of length n with vectors as list elements, with the i-th element being the riskset belonging to the i-th spell.

event

non-censoring event indicator.

Details

This function calculates the log partial likelihood of a Cox-type multistate model.

Value

The values of the spell-specific log partial likelihood contributions.

Author(s)

Holger Reulen

Examples

1
## Not run: lpl(beta, X, risksetlist, event)

penMSM documentation built on May 2, 2019, 11:06 a.m.

Related to lpl in penMSM...