The Mayo Clinic trial in primary biliary cholangitis (PBC), conducted between 1974 and 1984. The first 312 patients took part in the randomized placebo-controlled trial of D-penicillamine. The other 106 didn't, but consented to have basic measurements recorded and to be followed for survival. pbcseq holds the follow-up laboratory values of the trial patients.
Format
A data frame with 418 rows and 20 columns:
- id
Case number.
- time
Days from registration to the earlier of death, transplantation, or the study analysis in July 1986.
- status
Status at the end point: 0 is censored, 1 is transplant, 2 is dead.
- trt
Treatment: 1 is D-penicillamine, 2 is placebo,
NAis not randomized.- age
Age in years.
- sex
A factor with levels
mandf.- ascites
Presence of ascites.
- hepato
Presence of hepatomegaly (an enlarged liver).
- spiders
Blood vessel malformations in the skin.
- edema
0 is no edema, 0.5 is untreated or successfully treated, 1 is edema despite diuretic therapy.
- bili
Serum bilirubin (mg/dl).
- chol
Serum cholesterol (mg/dl).
- albumin
Serum albumin (g/dl).
- copper
Urine copper (ug/day).
- alk.phos
Alkaline phosphatase (U/liter).
- ast
Aspartate aminotransferase (U/ml).
- trig
Triglycerides (mg/dl).
- platelet
Platelet count.
- protime
Standardized blood clotting time.
- stage
Histologic stage of disease.
Death is Surv(time, status == 2), with a transplant counted as censoring. For transplant and
death as competing events, use Surv(time, factor(status, 0:2, c("censor", "transplant", "death"))).
Source
Therneau T and Grambsch P (2000). Modeling Survival Data: Extending the Cox Model. Springer, New York.
Examples
cox_ph(Surv(time, status == 2) ~ age + edema + log(bili) + albumin, data = pbc)
#> <cox_ph> Surv(time, status == 2) ~ age + edema + log(bili) + albumin
#> Efron ties. n = 418, events = 161
#>
#> estimate hazard_ratio std_error statistic p_value
#> age 0.03963 1.0404 0.007747 5.115 3.142e-07
#> edema 1.04533 2.8443 0.269257 3.882 1.035e-04
#> log(bili) 0.89351 2.4437 0.082267 10.861 1.768e-27
#> albumin -0.78980 0.4539 0.208942 -3.780 1.568e-04
#>
#> Likelihood ratio test: 225 on 4 df, p = <1e-16
#> Wald test: 231 on 4 df, p = <1e-16
#> Score test: 292 on 4 df, p = <1e-16
#> Concordance: 0.833 (std. error 0.0164)