llP {penMSM} | R Documentation |
Log Likelihood for Poisson Regression.
Description
Calculates the log likelihood for poisson regression.
Usage
llP(beta, X, event, offset)
Arguments
beta |
vector of regression coefficients. |
X |
design matrix. |
event |
non-censoring event indicator. |
offset |
offset. |
Details
This function calculates the Poisson log likelihood.
Value
The values of the Poisson log likelihood.
Author(s)
Holger Reulen
Examples
## Not run: llP(beta, X, event, offset)
[Package penMSM version 0.99 Index]