llP function

Log Likelihood for Poisson Regression.

Log Likelihood for Poisson Regression.

Calculates the log likelihood for poisson regression.

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.

Returns

The values of the Poisson log likelihood.

Author(s)

Holger Reulen

Examples

## Not run: llP(beta, X, event, offset)
  • Maintainer: Holger Reulen
  • License: GPL (>= 2)
  • Last published: 2015-01-12

Useful links