lpl {penMSM} | R Documentation |
Log Partial Likelihood.
Description
Calculates the log partial likelihood.
Usage
lpl(beta, X, risksetlist, event)
Arguments
beta |
vector of regression coefficients. |
X |
design matrix. |
risksetlist |
list of length |
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
## Not run: lpl(beta, X, risksetlist, event)
[Package penMSM version 0.99 Index]