Learn R Programming

penMSM (version 0.99)

llP: 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.

Value

Details

This function calculates the Poisson log likelihood.

Examples

Run this code
## Not run: llP(beta, X, event, offset)

Run the code above in your browser using DataLab