{"id":522,"date":"2015-08-01T11:33:20","date_gmt":"2015-08-01T10:33:20","guid":{"rendered":"http:\/\/pcool.dyndns.org:8080\/statsbook\/?page_id=522"},"modified":"2025-07-05T08:55:02","modified_gmt":"2025-07-05T07:55:02","slug":"life-table-survival-analysis","status":"publish","type":"page","link":"https:\/\/pcool.dyndns.org\/index.php\/life-table-survival-analysis\/","title":{"rendered":"Life Table Survival Analysis"},"content":{"rendered":"\n<p>As the name implies, survival analysis was developed to analyse the survival of cancer patients. It estimates the probability of survival after a period of time. The probability of survival can be calculated at yearly intervals. With these figures, a survival curve can be constructed. Survival analysis is very useful as it allows comparison of survival of patients treated by different methods (chemotherapeutic regimes) that started at different times.<\/p>\n\n\n\n<p><strong>Survival analysis calculates the probability of survival of a group of patients between two events, the start date and the end date<\/strong>. The start date is normally date of diagnosis or date of surgery. The end is the date of failure. <strong>It is very important to define what failure is.<\/strong> Death can be defined as failure and being alive as success. In that case, we have defined a \u2018hard end point\u2019; there is no arguing about the outcome.<\/p>\n\n\n\n<p>However, survival analysis has been extended beyond estimating survival rates in cancer patients. It is also been used to estimate survival following total joint replacement. In this case, it is not so easy to define a \u2018hard end point\u2019. Later, we will discuss the implications of an end point that is not \u2018hard\u2019 in more detail.<\/p>\n\n\n\n<p>For now it is important to realise that: <strong>In survival analysis it is essential to define a \u2018hard end point\u2019 for the event of interest.<\/strong><\/p>\n\n\n\n<p><strong>Life Table Survival Analysis<\/strong><\/p>\n\n\n\n<p>It is easiest to explain <strong>life table survival analysis<\/strong> with an example. Lets look at 10 patients who have been diagnosed with cancer. The date of diagnosis is shown in the 2<sup>nd<\/sup> column of the table below. Analysis was performed on 1\/2\/2001.<\/p>\n\n\n\n<p>Patients who were alive at 1\/2\/2001, had this date inserted in the 3<sup>rd<\/sup> column (date last follow up). If the patient died, the date of death was inserted in the 3<sup>rd<\/sup> column. The 4<sup>th<\/sup> column indicates which patients died and which patients were alive:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival1.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"253\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival1.png\" alt=\"\" class=\"wp-image-3740\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival1.png 359w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival1-300x211.png 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><\/figure>\n\n\n\n<p>The data can also be shown in a graph:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"483\" height=\"307\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival2.png\" alt=\"\" class=\"wp-image-3741\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival2.png 483w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival2-300x191.png 300w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\" \/><\/figure>\n\n\n\n<p>Patients who died are indicated in black and survivors in grey.<\/p>\n\n\n\n<p>Next, the follow up between the two events (date of diagnosis and date of death \/ last follow up) is calculated for every patient:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"453\" height=\"233\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival3.png\" alt=\"\" class=\"wp-image-3742\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival3.png 453w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival3-300x154.png 300w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/figure>\n\n\n\n<p>In total, there are 10 patients. All these patients have a follow up between 0 and 5 years. However, some patients have a follow up that is longer than others. This has to be taken into account if we want to calculate the probability of survival.<\/p>\n\n\n\n<p>The probability of survival is calculated at <strong><em>yearly intervals<\/em><\/strong> (see table below). We started with 10 patients. Therefore, there were 10 patients at the beginning of year 1. From the table we can see that all patients had a follow up of more than 1 year. Therefore, at the start of the 2<sup>nd<\/sup> year there were still 10 patients.<\/p>\n\n\n\n<p>Five patients had a follow up between 1 and 2 years. Two of these two patients died and 3 patients were still alive at review. The 3 patients who were still alive have only been observed for <strong><em>part<\/em><\/strong> of the second year. They could still die during the remainder of that year. These 3 patients are called <strong><em>withdrawn from follow up<\/em><\/strong>.<\/p>\n\n\n\n<p>Patients who have been withdrawn from follow up are also called <strong><em>\u2018censored\u2019<\/em><\/strong>; in other words the event of interest (death) was not observed. Similarly, patients are called <strong><em>\u2018uncensored\u2019<\/em><\/strong> if the event of interest (death) was observed. So, in the 2<sup>nd<\/sup> year, 2 patients were <em>uncensored<\/em> and 3 patients were <em>censored<\/em>.<\/p>\n\n\n\n<p>At the beginning of the 3<sup>rd<\/sup> year there were 5 patients left. 2 patients had a follow up between 2 and 3 years. One of these patients died (uncensored) and 1 patient withdrew from follow up (censored). Consequently, at the start of the 4<sup>th<\/sup> year there were only 3 patients left. Two patients withdrew from follow up during the 4<sup>th<\/sup> year and none died. This left only 1 patient at the start of year 5. This patient had a follow up of just over 4 years and consequently withdrew during the 5<sup>th<\/sup> year. All these figures have been inserted in the table below:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival4.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"319\" height=\"247\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival4.png\" alt=\"\" class=\"wp-image-3743\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival4.png 319w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival4-300x232.png 300w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/figure>\n\n\n\n<p>It must be clear that the number of patients at the start of a year, minus the patients withdrawn in that year minus the patients who died in that year make up the number of patients at the start of the next year. In other words: the number of patients at the start of a year minus the number <strong><em>censored<\/em><\/strong> minus the number <strong><em>uncensored<\/em><\/strong> in that year equals the number at the start of the next year. <\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(NStartYear &#8211; Censored &#8211;  Uncensored  =NStartNextYear \\)<script src=\"https:\/\/pcool.dyndns.org\/wp-includes\/js\/dist\/hooks.min.js?ver=dd5603f07f9220ed27f1\" id=\"wp-hooks-js\"><\/script>\n<script src=\"https:\/\/pcool.dyndns.org\/wp-includes\/js\/dist\/i18n.min.js?ver=c26c3dc7bed366793375\" id=\"wp-i18n-js\"><\/script>\n<script id=\"wp-i18n-js-after\">\nwp.i18n.setLocaleData( { 'text direction\\u0004ltr': [ 'ltr' ] } );\n\/\/# sourceURL=wp-i18n-js-after\n<\/script>\n<script  async src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjax\/2.7.7\/MathJax.js?config=TeX-MML-AM_CHTML\" id=\"mathjax-js\"><\/script>\n<\/div>\n\n\n\n<p>For example, at the first year: there were 10 patients at the start, minus 0 patients who withdrew, minus 0 patients who died in that year. This equals 10 patients at the start of year 2.<\/p>\n\n\n\n<p>Or:<\/p>\n\n\n\n<p>10 \u2013 0 \u2013 0 = 10<\/p>\n\n\n\n<p>Similarly, for the 2<sup>nd<\/sup> year:<\/p>\n\n\n\n<p>10 \u2013 3 \u2013 2 = 5<\/p>\n\n\n\n<p>And the 3<sup>rd<\/sup> year:<\/p>\n\n\n\n<p>5 \u2013 1 \u2013 1 = 3<\/p>\n\n\n\n<p>For the 4<sup>th<\/sup> year:<\/p>\n\n\n\n<p>3 \u2013 2 \u2013 0 = 1<\/p>\n\n\n\n<p>And the 5<sup>th<\/sup> year:<\/p>\n\n\n\n<p>1 \u2013 1 = 0<\/p>\n\n\n\n<p>Patients who withdrew from follow up were observed for only part of that year. We know that they were alive at the date of last follow up and that the event of interest (death) has not occurred. However, there is a possibility that these patients might still die during the remainder of that year. We just don\u2019t have enough follow up to be sure. So, these patients are only at risk of death for part of that year. In other words: <strong>the censored patients are at risk of the event of interest for only part of that year<\/strong>. On average, these patients will only have half the risk.<\/p>\n\n\n\n<p>In the first year, no patients withdrew from follow up. Therefore, we will start with the 2<sup>nd<\/sup> year. In that year 3 patients withdrew from follow up. These 3 patients have only been at risk for half of the 2<sup>nd<\/sup> year. We can say that only 1.5 of these patients have been at risk of death. So, in total 8.5 patients (10 \u2013 1.5) have been at risk of death during the 2<sup>nd<\/sup> year. This has been indicated in the 6<sup>th<\/sup> column in the table below. Similarly, 4.5 patients (5 \u2013 0.5) were at risk in the 3<sup>rd<\/sup> year, 2 (3 \u2013 1) in the 4<sup>th<\/sup> year, 0.5 (1 \u2013 0.5) in the 5<sup>th<\/sup> year and 0 in the last year:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"365\" height=\"247\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival5.png\" alt=\"\" class=\"wp-image-3744\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival5.png 365w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival5-300x203.png 300w\" sizes=\"auto, (max-width: 365px) 100vw, 365px\" \/><\/figure>\n\n\n\n<p>The <a href=\"https:\/\/pcool.dyndns.org\/index.php\/summary-probability\/\" data-type=\"page\" data-id=\"993\">probability<\/a> of the event of interest (death) equals:<\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(Probability(Failure) = \\frac{NumberOfPatientsDied}{NumberOfPatientsAtRisk} \\)<\/div>\n\n\n\n<p>The probability of failure (death) has been calculated at yearly intervals and is indicated in the 7<sup>th<\/sup> column of the table below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"251\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival6.png\" alt=\"\" class=\"wp-image-3745\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival6.png 433w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival6-300x174.png 300w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/figure>\n\n\n\n<p>The probability of survival is:<\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(Probability(Survival) = 1 &#8211; Probability(Failure) \\)<\/div>\n\n\n\n<p>The probability of success (survival) has been calculated at yearly intervals and is shown in the 8<sup>th<\/sup> column in the table below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"250\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival7.png\" alt=\"\" class=\"wp-image-3746\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival7.png 473w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival7-300x159.png 300w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/figure>\n\n\n\n<p>The probability of surviving two years obviously depends on having survived the first year. Similarly, the probability on surviving 3 years depends on having survived year 1 and 2; and so on. As <a href=\"https:\/\/pcool.dyndns.org\/index.php\/summary-probability\/\" data-type=\"page\" data-id=\"993\">discussed<\/a>, these dependent probabilities should be multiplied. Therefore, the <strong>cumulative survival <\/strong>should be calculated. Being a probability, the cumulative survival is a figure between 0 and 1 (or 0% and 100%). <\/p>\n\n\n\n<p>In this example;<\/p>\n\n\n\n<p>The cumulative probability of surviving the 1<sup>st<\/sup> year is 1;<\/p>\n\n\n\n<p>The cumulative probability of surviving the 2<sup>nd<\/sup> year: <\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(1 \\cdot \\frac{6.5}{8.5} \\)<\/div>\n\n\n\n<p>the third year:<\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(1 \\cdot \\frac{6.5}{8.5} \\cdot \\frac{3.5}{4.5} \\)<\/div>\n\n\n\n<p>the 4<sup>th<\/sup> year:<\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(1 \\cdot \\frac{6.5}{8.5} \\cdot \\frac{3.5}{4.5} \\cdot 1 \\)<\/div>\n\n\n\n<p>and in the 5<sup>th<\/sup> year: <\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\(1 \\cdot \\frac{6.5}{8.5} \\cdot \\frac{3.5}{4.5} \\cdot 1 \\cdot 1\\)<\/div>\n\n\n\n<p>The cumulative survival in our example is shown in the last column of the table below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"253\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival8.png\" alt=\"\" class=\"wp-image-3747\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival8.png 491w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival8-300x155.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/figure>\n\n\n\n<p>If we perform the calculation:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival9.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"247\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival9.png\" alt=\"\" class=\"wp-image-3748\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival9.png 493w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival9-300x150.png 300w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\"><\/div>\n\n\n\n<p>Or in percentages:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survial10.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"484\" height=\"258\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survial10.png\" alt=\"\" class=\"wp-image-3728\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survial10.png 484w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survial10-300x160.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/figure>\n\n\n\n<p>The cumulative survival can also be plotted in a graph, as shown below.To indicate that the survival has been calculated at <strong><em>yearly intervals<\/em><\/strong>, the graph is <strong><em>stepped<\/em><\/strong> rather than smooth. <strong>The survival curve is stepped at yearly intervals in life table survival analysis:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"266\" height=\"206\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survivalplot11.png\" alt=\"\" class=\"wp-image-3776\"\/><\/figure>\n\n\n\n<p>In the example, <strong>all<\/strong> patients who did not die were reviewed on 1<sup>st<\/sup> February 2001. In reality however, patients are lost to follow up. How to perform the analysis in this situation? Look at the example again, but now assume that patients number 5, 7 and 10 were lost to follow up. The last time they were seen was on 31<sup>st<\/sup> May 2000. At that time they were alive and well. What happened after is not known. This is summarised in the table below:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival11.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"447\" height=\"229\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival11.png\" alt=\"\" class=\"wp-image-3749\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival11.png 447w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival11-300x154.png 300w\" sizes=\"auto, (max-width: 447px) 100vw, 447px\" \/><\/figure>\n\n\n\n<p>As before, a table can be constructed that shows the number of patients at the start of each year, the number of patients who withdrew (censored) and the patients who died (uncensored):<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival12.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"249\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival12.png\" alt=\"\" class=\"wp-image-3750\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival12.png 316w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival12-300x236.png 300w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/figure>\n\n\n\n<p>The censored patients are only at risk for part of the year. On average, they will have half the risk. The number of patients at risk per year has been calculated and is indicated in the 6<sup>th<\/sup> column of the table below:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival13.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"363\" height=\"249\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival13.png\" alt=\"\" class=\"wp-image-3751\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival13.png 363w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival13-300x206.png 300w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/figure>\n\n\n\n<p>As before, calculate the probability of failure, probability of survival and the cumulative survival:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival14.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"249\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival14.png\" alt=\"\" class=\"wp-image-3752\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival14.png 491w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival14-300x152.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/figure>\n\n\n\n<p>Or in percentages:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival15.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"247\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival15.png\" alt=\"\" class=\"wp-image-3753\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival15.png 470w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival15-300x158.png 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p>Therefore, the cumulative survival, with patients lost to follow up, at 5 years is 52%. This is obviously different to calculated previously (60%), when there were no patients lost to follow up. However, we have counted the patients lost to follow up as <strong><em>censored<\/em><\/strong>. In doing so, we have counted them as a success! It is however possible that these patients have died. We just don\u2019t know (as they are lost to follow up). All we know is that they were alive on the 31<sup>st<\/sup> May 2000. They could have died the following day. What we have calculated is the cumulative survival at 5 years, whilst the 3 patients lost to follow up have been counted as a success. In other words, we have calculated the <strong><em>best-case scenario<\/em><\/strong>. So what is the <strong><em>worst-case scenario<\/em><\/strong>, when all patients lost to follow up are counted as failures (dead)? <\/p>\n\n\n\n<p>Summarised in a table:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival16.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"229\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival16.png\" alt=\"\" class=\"wp-image-3754\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival16.png 437w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival16-300x157.png 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n\n<p>This time, count the patients lost to follow up as having died:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival17.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"323\" height=\"256\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival17.png\" alt=\"\" class=\"wp-image-3755\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival17.png 323w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival17-300x238.png 300w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><\/figure>\n\n\n\n<p>As before, calculate the number of patients at risk:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival18.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"362\" height=\"245\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival18.png\" alt=\"\" class=\"wp-image-3756\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival18.png 362w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival18-300x203.png 300w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/figure>\n\n\n\n<p>The probability of failure, probability of survival and cumulative survival have also been calculated and are summarised in the table below:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival19.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"247\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival19.png\" alt=\"\" class=\"wp-image-3757\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival19.png 472w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival19-300x157.png 300w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/figure>\n\n\n\n<p>Or in percentages:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survival20.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"465\" height=\"247\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival20.png\" alt=\"\" class=\"wp-image-3758\" srcset=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival20.png 465w, https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survival20-300x159.png 300w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/figure>\n\n\n\n<p>So, we have now calculated the <strong><em>best-case scenario<\/em><\/strong> and the <strong><em>worst-case scenario<\/em><\/strong>. The cumulative survival at 5 years is at best 52% and at worst 28%. The reality is probably somewhere in between these two values. The <strong><em>best-<\/em><\/strong> and <strong><em>worst-case scenarios<\/em><\/strong> survival curves are shown in one graph:<a href=\"http:\/\/pcool.dyndns.org:8080\/statsbook\/wp-content\/uploads\/survivalplot21.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"232\" height=\"217\" src=\"https:\/\/pcool.dyndns.org\/wp-content\/uploads\/2025\/06\/survivalplot21.png\" alt=\"\" class=\"wp-image-3777\"\/><\/figure>\n\n\n\n<p>The <strong><em>best-case scenario<\/em><\/strong> is indicated in black and the <strong><em>worst-case scenario<\/em><\/strong> in grey. <strong>Patients who are censored are either lost to follow up, or the event of interest has not yet occurred. <\/strong>For patients who are lost to follow up, worst- and best-case scenarios can be calculated. In reality, the cumulative survival probably lies somewhere in between these two extremes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the name implies, survival analysis was developed to analyse the survival of cancer patients. It estimates the probability of survival after a period of time. The probability of survival can be calculated at yearly intervals. With these figures, a survival curve can be constructed. Survival analysis is very useful as it allows comparison of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-522","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/pages\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/comments?post=522"}],"version-history":[{"count":2,"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/pages\/522\/revisions"}],"predecessor-version":[{"id":4934,"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/pages\/522\/revisions\/4934"}],"wp:attachment":[{"href":"https:\/\/pcool.dyndns.org\/index.php\/wp-json\/wp\/v2\/media?parent=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}