<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Estimating Survival Times with Left-Truncated &amp;amp; Right-Censored Data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Survival-Times-with-Left-Truncated-amp-Right-Censored/m-p/448889#M23468</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The context of my question is that I am trying to estimate&amp;nbsp;average, median or mean,&amp;nbsp;time&amp;nbsp;tourists spend abroad and average number of times they spend&amp;nbsp;by analyzing their credit card history abroad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data is in the following format where one row represents one vacation period for one cardholder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Card_ID&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Last&lt;/SPAN&gt;&lt;SPAN&gt;_Foreign_Trans_Dt&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Last_Foreign_Trans_Dt&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Left_Truncated ={0 if there exists a domestic transaction in the observation period prior to the vacation, 1 if&amp;nbsp;a domestic transaction in the observation period&amp;nbsp;does not exist prior to the vacation}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Right_Censored ={0 if there exists a domestic transaction in the observation period after the vacation, 1 if a domestic transaction in the&amp;nbsp;observation period&amp;nbsp;does not exist&amp;nbsp;after the vacation (i.e. cardholder is assumed to be still on vacation)}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Time ={Last_Foreign_Trans_Dt -&amp;nbsp;Last_Foreign_Trans_Dt, in days}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Transactions ={Number of transactions made in vacation period}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As a consequence of&amp;nbsp;how the&amp;nbsp;data is formatted, Card_ID can be repeated (the same Card_ID on a different row represents a different vacation period for that cardholder).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how do I estimate time spent abroad given that some vacations are left-truncated (i.e. unsure when they started) and some are right-censored (they are still on vacation). If the data was only right-censored and did not feature any left-truncation then PROC LIFETEST would be suitable. I've read, however, that PROC LIFETEST cannot deal with left-truncation but that PROC PHREG can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know please how I should approach this, should I be using PROC PHREG?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 08:08:35 GMT</pubDate>
    <dc:creator>edmb</dc:creator>
    <dc:date>2018-03-27T08:08:35Z</dc:date>
    <item>
      <title>Estimating Survival Times with Left-Truncated &amp; Right-Censored Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Survival-Times-with-Left-Truncated-amp-Right-Censored/m-p/448889#M23468</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The context of my question is that I am trying to estimate&amp;nbsp;average, median or mean,&amp;nbsp;time&amp;nbsp;tourists spend abroad and average number of times they spend&amp;nbsp;by analyzing their credit card history abroad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data is in the following format where one row represents one vacation period for one cardholder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Card_ID&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Last&lt;/SPAN&gt;&lt;SPAN&gt;_Foreign_Trans_Dt&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Last_Foreign_Trans_Dt&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Left_Truncated ={0 if there exists a domestic transaction in the observation period prior to the vacation, 1 if&amp;nbsp;a domestic transaction in the observation period&amp;nbsp;does not exist prior to the vacation}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Right_Censored ={0 if there exists a domestic transaction in the observation period after the vacation, 1 if a domestic transaction in the&amp;nbsp;observation period&amp;nbsp;does not exist&amp;nbsp;after the vacation (i.e. cardholder is assumed to be still on vacation)}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Time ={Last_Foreign_Trans_Dt -&amp;nbsp;Last_Foreign_Trans_Dt, in days}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Transactions ={Number of transactions made in vacation period}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As a consequence of&amp;nbsp;how the&amp;nbsp;data is formatted, Card_ID can be repeated (the same Card_ID on a different row represents a different vacation period for that cardholder).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how do I estimate time spent abroad given that some vacations are left-truncated (i.e. unsure when they started) and some are right-censored (they are still on vacation). If the data was only right-censored and did not feature any left-truncation then PROC LIFETEST would be suitable. I've read, however, that PROC LIFETEST cannot deal with left-truncation but that PROC PHREG can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know please how I should approach this, should I be using PROC PHREG?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 08:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Survival-Times-with-Left-Truncated-amp-Right-Censored/m-p/448889#M23468</guid>
      <dc:creator>edmb</dc:creator>
      <dc:date>2018-03-27T08:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Estimating Survival Times with Left-Truncated &amp; Right-Censored Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Survival-Times-with-Left-Truncated-amp-Right-Censored/m-p/450026#M23523</link>
      <description>&lt;P&gt;Can you assume first foreign transaction is start date and go from there?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 19:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Survival-Times-with-Left-Truncated-amp-Right-Censored/m-p/450026#M23523</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2018-03-30T19:12:23Z</dc:date>
    </item>
  </channel>
</rss>

