ddlpl: ddlpl.

Description Usage Arguments Details Value Author(s) Examples

View source: R/ddlpl.R

Description

Second partial derivative of the log partial likelihood with respect to the linear predictor.

Usage

1
ddlpl(b, X, Ri, Ci)

Arguments

b

vector of regression coefficients.

X

design matrix.

Ri

list of length n with vectors as list elements, with the i-th element being the riskset belonging to the i-th spell.

Ci

list of length n with vectors as list elements, with the i-th element capturing the indexes of risksets in which spell i is included.

Details

This function calculates the second partial derivative of the log partial likelihood.

Value

A vector with second gradients.

Author(s)

Holger Reulen

Examples

1
## Not run: ddlpl(b, X, Ri, Ci)

penMSM documentation built on May 30, 2017, 2:28 a.m.