nba: Survival times of former NBA players.

Description Usage Format Details Source Examples

Description

Survival times of former NBA players after their NBA career.

Usage

1
data("nba")

Format

A data frame with 3501 observations on the following 3 variables.

id

Player ID

survtime

Time (in years) from end of NBA career until either death or April 15, 2014.

cens

Death indicator (1, exact survival time; 0, right-censored survival time).

Details

The survival times of former NBA players were analyzed by Martínez et al. (2019).

Source

J. A. Martínez, K. Langohr, J. Felipo, and M. Casals. Mortality of NBA players: Risk factors and comparison with the general US population. In: Applied Sciences, 9 (3) (2019).

Examples

1
2
data(nba)
cumhazPlot(nba$survtime, nba$cens)

GofCens documentation built on Jan. 6, 2022, 1:06 a.m.