scorevectorP function

Score vector of the Poisson log likelihood.

Score vector of the Poisson log likelihood.

This function calculates the score vector needed for the estimation of multistate models using the Fisher scoring algorithm.

scorevectorP(mu, X, event)

Arguments

  • mu: mu.
  • X: design matrix.
  • event: non-censoring event indicator.

Details

This function implements the score vector (i.e., the first partial derivative of the Poisson log likelihood with respect to the components of the regression effect vector beta).

Returns

Score vector scorevector.

Author(s)

Holger Reulen

Examples

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

Useful links