iter.step: iterative step to calculate cox model derivatives

Description Usage Arguments Value

View source: R/solve.R

Description

calculate the first and second order derivatives for IRLS of Cox model.

Usage

1
iter.step(Z, cov, time, cen, beta, theta, indvec)

Arguments

Z

a matrix of staging term

cov

a matrix of covariates

time

a vector of survival outcome

cen

a vector of censoring status

beta

a vector of staging coefficients

theta

a vector of covariates coefficients

indvec

an indicator of risk set

Value

a list of derivatives


WangTJ/opera documentation built on April 26, 2020, 8:24 a.m.