{"id":47,"date":"2021-05-10T13:16:38","date_gmt":"2021-05-10T17:16:38","guid":{"rendered":"http:\/\/blogs.bu.edu\/gagnon\/?p=47"},"modified":"2021-05-10T13:16:38","modified_gmt":"2021-05-10T17:16:38","slug":"calculating-number-needed-to-treat-for-survival-models","status":"publish","type":"post","link":"https:\/\/blogs.bu.edu\/gagnon\/2021\/05\/10\/calculating-number-needed-to-treat-for-survival-models\/","title":{"rendered":"Calculating Number Needed to Treat for Survival Models"},"content":{"rendered":"<p>I&#8217;ve recently had to calculate number-needed-to-treat for a survival model.\u00a0 I&#8217;ve found code by\u00a0Austin [<em>Absolute risk reductions and numbers needed to treat can be obtained from adjusted survival models for time-to-event outcomes\u00a0<\/em>Journal of Clinical Epidemiology 63 (2010) 46-55] and turned it into a SAS macro that can be found here:\u00a0<a href=\"http:\/\/people.bu.edu\/gagnon\/NNTsurv.sas\" target=\"_blank\">NNTsurv.sas<\/a>\u00a0.<\/p>\n<p>Most of the work is turning it into a macro and taking advantage of some new SAS options that speeds up the calculation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve recently had to calculate number-needed-to-treat for a survival model.\u00a0 I&#8217;ve found code by\u00a0Austin [Absolute risk reductions and numbers needed to treat can be obtained from adjusted survival models for time-to-event outcomes\u00a0Journal of Clinical Epidemiology 63 (2010) 46-55] and turned it into a SAS macro that can be found here:\u00a0NNTsurv.sas\u00a0. Most of the work is [&hellip;]<\/p>\n","protected":false},"author":4379,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/posts\/47"}],"collection":[{"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/users\/4379"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":1,"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":48,"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/posts\/47\/revisions\/48"}],"wp:attachment":[{"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bu.edu\/gagnon\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}