Survival Analysis
Survival Analysis
When the dependent variable is continuous, we would ordinarily first think of linear regression, It’s a very good method when you want to look at the relationship between a continuous dependent variable and one or more independent variables.
But, like nearly all statistical techniques, it makes assumptions. And one of the assumptions that is so clear as to usually go unstated is that we know the value of the dependent variable; usually, this is not a problem. If we want to model, say, what people weigh, we can weigh them. But in one common type of analysis, we don’t always know the dependent variable – that’s when the dependent variable is time to an event. In that case, we need survival analysis.
The key reason that we need survival analysis is that these data are often censored. If, for example, we were looking at how long couples stay married, we could select some couples, and follow them over time. But some couples won’t get divorced before we finish our study. Similarly, some patients won’t die during our study, and so on.
Types of survival analysis
Although there are a wide variety of techniques for doing survival analysis, they fall into three famlies: Parametric, semiparametric, and nonparametric. The difference is in what we wish to assume about the distribution of survival times. In parametric survival analysis, we assume that survival times come from some specific statistical distribution; in semiparametric survival analysis, we do not need to make this assumption, but we do make another assumption – usually the proportional hazards assumption. In nonparametric analysis, we avoid even that assumption. Since the exact nature of the survival function is hard to know, and is critical to the results, semiparametric survival analysis is much more commonly used than parametric. And semiparametric offers more useful output than nonparametric analysis. By far the most common method is known as Cox proportional hazards regression.
Semiparametric methods, unlike parametric methods do not allow you to predict a survival time; rather, they just let you see differences between groups, or differences based on some other measure. For instance, Cox methods would not predict how long couples would stay together, but it could predict how much more quickly (say) couples with a large age difference got divorced than couples with similar ages. This is often of primary interest.
In addition, recent developments allow us to look at multiple events – for instance, we might model repeated patterns of being arrested over time, or getting a particular disease.
Featured Posts

Today, we think of probability as an intensively mathematical subject. But the mathematics took a long to...

I got into a conversation on Twitter (find me there as @peterflomstat) about the userfriendliness of...

In an earlier article, we looked at simple linear regression, which involves one independent variable (IV) and...

Sir Ronald Fisher famously said:
"To call in the statistician after the experiment is done may be...

When I was in graduate school, one professor actually said "If you don't understand the results, just report...

[latexpage] On Quora, someone asked about hypothesis tests for skewness and kurtosis. I wrote an answer...

Lately, across the statistical blogosphere, the repeating discussion of R vs. SAS has started up again. In...

When dealing with ordinal data, many methods require you to assign a number or score to each level of a...

Modus tollens in logic In logic, there is an argument style called modus tollens: If H0 then R Not R...

When you have univariate data, that is, a single measure on a variety of units, the most common statistical...

Question: Does the butterfly effect imply that correlation implies causation? My answer: No. The butterfly...

We very often set the cutoff for a significant p value at 0.05, and minimal acceptable power at 0.8....