{"id":1863,"date":"2011-12-13T16:13:58","date_gmt":"2011-12-13T21:13:58","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=1863"},"modified":"2011-12-13T16:15:04","modified_gmt":"2011-12-13T21:15:04","slug":"are-we-living-longer-or-not","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/are-we-living-longer-or-not\/","title":{"rendered":"Are we living longer &#8211; or not?"},"content":{"rendered":"<p>It is not every day that my refrigerator provides insight into a statistical problem. My daughter gave me this magnet.<\/p>\n<blockquote><p><strong>BIRTHDAYS ARE GOOD FOR YOU. STATISTICS SHOW THAT PEOPLE WHO HAVE THE MOST BIRTHDAYS LIVE THE LONGEST.<\/strong><\/p><\/blockquote>\n<p>which led to my thoughts on life expectancy using open data. Kaiser Permanente collected data on two cohorts of patients, those who were 65 years old or older in 1971 and in 1980. \u00a0After having<a href=\"http:\/\/www.annalsofepidemiology.org\/article\/S1047-2797(96)00054-3\/abstract\"> published some research supported by the National Institute on Aging<\/a>, on topics of interest to themselves and their funding agency, like cardiovascular disease, the investigators made their <a href=\"http:\/\/www.icpsr.umich.edu\/icpsrweb\/ICPSR\/\">data available through ICPSR<\/a> where I downloaded it.<\/p>\n<p>I had read elsewhere that the life expectancy had increased even within that decade. If that is true, I reasoned, looking at the survival curves for people from the 1971 cohort (1) and the 1980 cohort (2) would show some differences.<\/p>\n<p><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/survivalbycohort.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1864\" title=\"survivalbycohort\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/survivalbycohort-300x226.png\" alt=\"\" width=\"300\" height=\"226\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/survivalbycohort-300x226.png 300w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/survivalbycohort.png 650w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>When I look at the survival curves by strata<\/p>\n<p><code>(<\/code><\/p>\n<p>PROC LIFETEST DATA = saslib.death ;<\/p>\n<p>STRATA cohort ;<\/p>\n<p>TIME yrslived *dthflag(0) ;<\/p>\n<p>)<\/p>\n<p>I get the survival curves above and it is pretty clear they are the same. If anything, it looks like Cohort 2, those born later, actually had a slightly higher mortality near the end of the study. \u00a0For those of you who feel uncomfortable just eyeballing the curves, even when they are as close to identical as this, the Log-Rank test \u00a0for equality of strata = 1.27 (p &gt; .25).<\/p>\n<p><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/handsoaps.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-1867\" title=\"handsoaps\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/handsoaps-300x212.jpg\" alt=\"Real hand soaps\" width=\"300\" height=\"212\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/handsoaps-300x212.jpg 300w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/handsoaps.jpg 763w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>And yet, on the other hand, when I did a t-test by age, I found that the 1980 cohort did live significantly longer, with those who turned 65 in 1971 having a mean age at death of 84.7 while those who turned 65 in 1980 had a mean age at death of \u00a085.3 \u00a0(p = .01 ) which leads to the conclusion that people from the 1980 cohort did live longer.<\/p>\n<p>What&#8217;s going on here? This is the point where the getting to know your data part that I am always harping on comes into play. Note that Kaiser-Permanente said that they collected data on people who were 65 <span style=\"text-decoration: underline;\">or older <\/span>\u00a0in 1971 or 1980, not who turned 65.<\/p>\n<p>In fact, the two samples were not the exact same age. The mean age of the 1971 sample was 75.7 and of the 1980 sample 76.1 . So, of that .6 year difference in lifespan, .4 of it existed before the study even started.<\/p>\n<p>What difference would that make? Well, let&#8217;s go back up to my refrigerator magnet. What does the fact that someone has lived to 65 tell you? Most unequivocally that they did not die of anything at an age earlier than 65. They weren&#8217;t killed in the Vietnam War when they were 19 years old, in a car crash with a drunk driver when there were 33, from colon cancer at 56. Because 100% of the population of people who live to 65 have escaped these hazards for the first 65 years of life, they are NOT representative of the population in terms of life expectancy. This is why when you read articles they have statements like, &#8220;For an American male who has lived to age 65, life expectancy is &#8230;.&#8221;<\/p>\n<p>The qualifying phrase is necessary because those who have had more birthdays already are expected to live longer than the general population.<\/p>\n<p>So, I pulled out those who were 65 when the study started and looked at the survival curve<\/p>\n<p style=\"text-align: center;\"><strong>SURVIVAL CURVE FOR PATIENTS AGED 65<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>COHORT 1 (1971) AND COHORT 2 (1980)<\/strong><\/p>\n<p><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/SURVIVAL65.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1868\" title=\"SURVIVAL65\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/SURVIVAL65-300x229.png\" alt=\"Survival curve 65 at start of study\" width=\"300\" height=\"229\" srcset=\"https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/SURVIVAL65-300x229.png 300w, https:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/SURVIVAL65.png 649w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>A t-test of years lived for those in Cohort 1 versus Cohort 2 using only the 290 subjects who were 65 years old at the start of the study produced a very non-significant t-value of .56 (p &gt; .50) .<\/p>\n<p>T-tests for subjects at age 75 and age 85 produced similar results. \u00a0So, based on these data, the answer to the question of at least whether patients of Kaiser Permanente have increased in life expectancy over the 1970s is, &#8220;No&#8221;. This isn&#8217;t a comment on Kaiser Permanente one way or the other, merely an observation that it is unlikely that their patients are completely representative of the population.<br \/>\nJust an aside, a million points to people who put their data on the web and open to all comers. This shows two traits I admire. The first is generosity, allowing someone else to\u00a0benefit from your efforts in collecting the data, with no expectation of return.\u00a0The second is courage. It takes a good amount of courage to publish your results and\u00a0then make your data available so anyone who wants can re-analyze the data and perhaps come up with a competing conclusion. So, props to you.<\/p>\n<p><a href=\"http:\/\/www.etsy.com\/listing\/43242843\/handsoap-set\">P.S. You can buy the hand soaps on etsy<\/a>. I have no affiliation with them, I just thought they were funny.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is not every day that my refrigerator provides insight into a statistical problem. My daughter gave me this magnet. BIRTHDAYS ARE GOOD FOR YOU. STATISTICS SHOW THAT PEOPLE WHO HAVE THE MOST BIRTHDAYS LIVE THE LONGEST. which led to my thoughts on life expectancy using open data. Kaiser Permanente collected data on two cohorts&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15,11],"tags":[],"class_list":["post-1863","post","type-post","status-publish","format-standard","hentry","category-open-data","category-statistics"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/1863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/comments?post=1863"}],"version-history":[{"count":5,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/1863\/revisions"}],"predecessor-version":[{"id":1871,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/1863\/revisions\/1871"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=1863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=1863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=1863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}