Skip to contents

Survival times (in weeks) for 23 patients with acute myelogenous leukemia. A classic, small dataset perfect for fast testing of censored data workflows.

Usage

leukemia

Format

A data frame with 23 rows and 3 columns:

time

Survival time in weeks

status

Event indicator (1 = event, 0 = censored)

group

Treatment group (Maintained vs Non-maintained)

Source

Miller, R. G. (1997). Survival Analysis. Wiley.

Examples

data(leukemia)
# \donttest{
fit <- fit_betadanish(survival::Surv(time, status) ~ 1, data = leukemia)
#> Warning: The times look recorded on a grid of 1. The point-density likelihood treats them as exact, which understates the standard errors. Consider grouped = TRUE.
#> Warning: The observed information matrix is singular or not positive definite, so standard errors are unreliable. This usually means the likelihood is flat in at least one direction.
#> Warning: b-hat is only 0.67 standard errors from 1, close to the b = 1 non-identifiability ridge. Consider the ED submodel (submodel = TRUE). See the Identifiability section of ?fit_betadanish.
#> Warning: 3 starting point(s) reached a degenerate ridge and were discarded. The reported fit is the best admissible optimum. If this is most of the grid, the four-parameter model is a poor choice for these data.
# }