Abstract
The Fleming-Harrington class for right-censored data was first introduced by Harrington and Fleming (1982). This class is widely used in survival analysis studies and it is a subset of the so-called weighted logrank test statistics. Recently, Oller and Gómez (2012) proposed an extension of this class for interval-censored data. This paper introduces the R package FHtest, which implements the Fleming-Harrington class for right-censored and interval-censored survival data. It provides an integrated approach for performing two-sample, k-sample and trend tests based on either counting process theory, likelihood theory, or permutation distributions. In this paper, we summarize the main aspects of the theory framework and present several examples with R codes to illustrate the usage of the main functions of FHtest.
Highlights
Survival times are encountered in many areas of research: for example, the time from cancer diagnosis until death; the time until first failure of a new machine; the sensory shelf life of yogurt, or the time an unemployed worker needs to find a new job
As with other areas in statistics, common interests in survival analysis comprehend the estimation of distribution functions, hypothesis testing, or the fit of regression models
The paragraph in the Comprehensive R Archive Network (CRAN) task view on hypothesis testing to compare survival functions lists several packages that offer functions for this purpose, such as function survdiff of the survival package. None of these packages included functions that implemented weighted logrank tests for interval-censored data based on the Fleming-Harrington class (Harrington and Fleming 1982)
Summary
Survival times are encountered in many areas of research: for example, the time from cancer diagnosis until death; the time until first failure of a new machine; the sensory shelf life of yogurt, or the time an unemployed worker needs to find a new job. The paragraph in the CRAN task view on hypothesis testing to compare survival functions lists several packages that offer functions for this purpose, such as function survdiff of the survival package None of these packages included functions that implemented weighted logrank tests for interval-censored data based on the Fleming-Harrington class (Harrington and Fleming 1982). The package implements the Fleming-Harrington class for right-censored and interval-censored survival data and provides an integrated approach for performing twosample, k-sample and trend tests based on either counting process theory, likelihood theory, or permutation distributions. Function survdiff of the survival package implements the Fleming-Harrington class with right-censored data and the counting process approach.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have