<?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 Re: Need help with follow up analysis in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649215#M31147</link>
    <description>&lt;P&gt;Since you don't have unique records for each person, you have six different records, what do you want to see as the output for each person?&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 13:28:39 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-05-20T13:28:39Z</dc:date>
    <item>
      <title>Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649210#M31146</link>
      <description>&lt;P&gt;Hello, I am trying to do some survival analysis and have a dataset that looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-05-20 at 9.13.27 AM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39661i1DF6F2B880B10933/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-05-20 at 9.13.27 AM.png" alt="Screen Shot 2020-05-20 at 9.13.27 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp; you can see the first 6 lines are from the same person. fu_6m to fu_5 are the follow up status from 6 months to 5 years. 0 is dead and 1 is alive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with having one unique observeration per person and having a variable for follow up status at 6 month, 1 year, 2 year .... 5 year&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649210#M31146</guid>
      <dc:creator>Kashvig</dc:creator>
      <dc:date>2020-05-20T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649215#M31147</link>
      <description>&lt;P&gt;Since you don't have unique records for each person, you have six different records, what do you want to see as the output for each person?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649215#M31147</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-20T13:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649217#M31148</link>
      <description>&lt;P&gt;I would like to combine the six records and see for each person something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pers_id&amp;nbsp; &amp;nbsp; &amp;nbsp; px_id&amp;nbsp; &amp;nbsp; &amp;nbsp;fu_6m&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fu_2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fu_5&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;124&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;124&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where 123 has died at follow up at 3 years and 124 has died at follow up at 4 years&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:35:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649217#M31148</guid>
      <dc:creator>Kashvig</dc:creator>
      <dc:date>2020-05-20T13:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649221#M31150</link>
      <description>&lt;P&gt;See the example titled "Comparison of the Marginal and Random Effect Models for Binary Data" in the PROC GEE documentation in the SAS/STAT User's Guide. This shows how the data can be rearranged so that there is observation per measurement. The repeated binary measures data can then be modeled with either a Generalized Estimating Equations model or a random effects model.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:50:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649221#M31150</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-05-20T13:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649223#M31151</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/309638"&gt;@Kashvig&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I would like to combine the six records and see for each person something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pers_id&amp;nbsp; &amp;nbsp; &amp;nbsp; px_id&amp;nbsp; &amp;nbsp; &amp;nbsp;fu_6m&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fu_2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fu_5&lt;/P&gt;
&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;124&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;124&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where 123 has died at follow up at 3 years and 124 has died at follow up at 4 years&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would like you to show the desired output from the input data set, not the desired output from two individuals who were not in the input data set.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649223#M31151</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-20T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649224#M31152</link>
      <description>&lt;P&gt;If I am understanding your Q correctly I would want the output data for lines 1-6 look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pers_id&amp;nbsp; &amp;nbsp; px_id.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fu_6m.&amp;nbsp; &amp;nbsp; &amp;nbsp;fu_1.&amp;nbsp; &amp;nbsp;fu_2.&amp;nbsp; &amp;nbsp; &amp;nbsp;fu_3.&amp;nbsp; &amp;nbsp; fu_4.&amp;nbsp; &amp;nbsp; fu_5&lt;/P&gt;&lt;P&gt;4736884&amp;nbsp; &amp;nbsp;715723&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649224#M31152</guid>
      <dc:creator>Kashvig</dc:creator>
      <dc:date>2020-05-20T13:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649225#M31153</link>
      <description>&lt;P&gt;So are you asking for the sum of the six rows for each patient?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649225#M31153</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-20T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649242#M31156</link>
      <description>&lt;P&gt;I think so, yes&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649242#M31156</guid>
      <dc:creator>Kashvig</dc:creator>
      <dc:date>2020-05-20T14:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649243#M31157</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=have nway;
    class pers_id px_id;
    var fu_6m--fu_5;
    output out=want sum=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 May 2020 14:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649243#M31157</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-20T14:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with follow up analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649246#M31158</link>
      <description>&lt;P&gt;Thank you this worked!&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-follow-up-analysis/m-p/649246#M31158</guid>
      <dc:creator>Kashvig</dc:creator>
      <dc:date>2020-05-20T14:49:32Z</dc:date>
    </item>
  </channel>
</rss>

