NAG Library Chapter Contents

G12 (surviv)
Survival Analysis


G12 (surviv) Chapter Introduction – a description of the Chapter and an overview of the algorithms available

Routine
Name
Mark of
Introduction

Purpose
g12aaf
Example Text
Example Data
Example Plot
15 nagf_surviv_kaplanmeier
Computes Kaplan–Meier (product-limit) estimates of survival probabilities
g12abf
Example Text
Example Data
23 nagf_surviv_logrank
Computes rank statistics for comparing survival curves
g12baf
Example Text
Example Data
17 nagf_surviv_coxmodel
Fits Cox's proportional hazard model
g12zaf
Example Text
Example Data
19 nagf_surviv_coxmodel_risksets
Creates the risk sets associated with the Cox proportional hazards model for fixed covariates