sWhat Is Survival Analysis?
Introduction
Survival analysis is time-to-event analysis, that is, when the outcome of interest is the time until an event occurs. Examples of time-to-events are the time until infection, reoccurrence of a disease, or recovery in health sciences, duration of unemployment in economics, time until the failure of a machine part or lifetime of light bulbs in engineering, and so on. Survival analysis is a part of reliability studies in engineering. In this case, it is usually used to study the lifetime of industrial components. In reliability analyses, survival times are usually called failure times as the variable of interest is how much time a component functions properly before it fails.
Survival analysis consists of parametric, semiparametric, and nonparametric methods. You can use these to estimate the most commonly used measures in survival studies, survivor and hazard functions, compare them for different groups, and assess the relationship of predictor variables to survival time. Some statistical probability distributions describe survival times well. Commonly used distributions are exponential, Weibull, lognormal, Burr, and Birnbaum-Saunders distributions. Statistics and Machine Learning Toolbox™ functions
ecdf
and ksdensity
compute the empirical and kernel density estimates of the cdf, cumulative hazard, and survivor functions. coxphfit
fits the Cox proportional hazards model to the data.Censoring
One important concept in survival analysis is censoring. The survival times of some individuals might not be fully observed due to different reasons. In life sciences, this might happen when the survival study (e.g., the clinical trial) stops before the full survival times of all individuals can be observed, or a person drops out of a study, or for long-term studies, when the patient is lost to follow up. In the industrial context, not all components might have failed before the end of the reliability study. In such cases, the individual survives beyond the time of the study, and the exact survival time is unknown. This is called right censoring.
During a survival study either the individual is observed to fail at time T, or the observation on that individual ceases at time c. Then the observation is min(T,c) and an indicator variable Ic shows if the individual is censored or not. The calculations for hazard and survivor functions must be adjusted to account for censoring. Statistics and Machine Learning Toolbox functions such as
ecdf
, ksdensity
, coxphfit
, mle
account for censoring.Data
Survival data usually consists of the time until an event of interest occurs and the censoring information for each individual or component. The following table shows the fictitious unemployment time of individuals in a 6-month study. Two individuals are right censored (indicated by a censoring value of 1). One individual was still unemployed after the 24th week, when the study ended. Contact with the other censored individual was lost at the end of the 21st week.
Survival data might also include the number of failures at a certain time (the number of times a particular survival or failure time was observed). The following table shows the simulated time until a light-emitting diodes drops to 70% of its full light output level, in hours, in an accelerated life test.
Data might also have information on the predictor variables, to use in semi-parametric regression-like methods such as Cox proportional hazards regression.
Survivor Function
The survivor function is the probability of survival as a function of time. It is also called the survival function. It gives the probability that the survival time of an individual exceeds a certain value. Since the cumulative distribution function, F(t), is the probability that the survival time is less than or equal to a given point in time, the survival function for a continuous distribution, S(t), is the complement of the cumulative distribution function:
S(t) = 1 – F(t).
For example, for data coming from a Burr distribution with parameters 50, 3, and 1, you can calculate and plot the survivor function.
The survivor function is also related to the hazard function. If the data has the hazard function, h(t), then the survivor function is
which corresponds to
where H(t) is the cumulative hazard function.
Hazard Function
The hazard function gives the instantaneous failure rate of an individual conditioned on the fact that the individual survived until a given time. That is,
where Δt is a very small time interval. The hazard rate, therefore, is sometimes called the conditional failure rate. The hazard function always takes a positive value. However, these values do not correspond to probabilities and might be greater than 1.
The hazard function is related to the probability density function, f(t), cumulative distribution function, F(t), and survivor function, S(t), as follows:
which is also equivalent to
So, if you know the shape of the survival function, you can also derive the corresponding hazard function.
For example, for data coming from a Burr distribution with parameters 50, 3, and 1, you can calculate and plot the hazard function.
There are different types of hazard functions. The previous figure shows a situation when the hazard rate increases for the early time periods and then gradually decreases. The hazard rate might also be monotonically decreasing, increasing, or constant over time. The following figure shows examples of different types of hazard functions for data coming from different Weibull distributions.
No comments:
Post a Comment