baseline.hazard: Baseline hazard for a Cox proportional hazards model

Description Usage Arguments Value

View source: R/fitcox.R

Description

Baseline hazard for a Cox proportional hazards model

Usage

1
baseline.hazard(beta, event.counts, risk.set.diffs)

Arguments

beta

A vector of length p, where p is the number of model parameters

event.counts

A vector of event counts for the unique event times

risk.set.diffs

A list of risk set differences for the event times

Value

A vector of partial derivatives for each parameter in the model


mathmonster/sta545package documentation built on Jan. 1, 2021, 9:20 a.m.