Learn R Programming

penMSM (version 0.99)

ddlpl: ddlpl.

Description

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

Usage

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.

Value

Details

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

Examples

Run this code
## Not run: ddlpl(b, X, Ri, Ci)

Run the code above in your browser using DataLab