<?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: Interpreting GEE estimates for continues outcomes using Proc genmod; in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/938650#M46833</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thanks for your detailed explanations Stave. I am actually&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;modeling raw BP values over time (BP1 (baseline) and BP2(first follow-up). And Var1 is typo. Also, there are few time-variant covariates, for example physical activity; PA_base and PA_follow, and I have created a single variable PA_change with PROC TRANSPOSE. Thanks in advance for your furtther explanations!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 11:26:47 GMT</pubDate>
    <dc:creator>Kunko</dc:creator>
    <dc:date>2024-08-08T11:26:47Z</dc:date>
    <item>
      <title>Interpreting GEE estimates for continues outcomes using Proc genmod;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/909432#M45142</link>
      <description>&lt;P&gt;Hi every one;&lt;/P&gt;
&lt;P&gt;I am using proc genmod to calculate the mean change in blood pressure from baseline to the first follow-up in association with tertiles of Health Eating Index score. I am using the following code for this purpose:&lt;/P&gt;
&lt;P&gt;proc genmod data=BP_long order=internal;&lt;BR /&gt;class HEI_Tertile time var1 var1 var3/ref=first;&lt;BR /&gt;model ChangeBP=time HEI_Tertile var1 var1 var3 var4 var5 /type3 lrci;&lt;BR /&gt;repeated subject=codea/type=exch corrw;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;However, I am having unexpected results for the mean changes, where high consumers of healthy diet in the top tertile had more increased BP. I am not sure whether this is related to the coding here or transposing of the data to a long foramt. I used the following for transposing and then renamed;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sort; by Id; run;&lt;BR /&gt;proc transpose data=BP_wide out=BP_long;&lt;BR /&gt;var BP1-BP2;&lt;BR /&gt;by id;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;*Renaming the transposed variable;&lt;BR /&gt;data BP_long;&lt;BR /&gt;set BP_long (rename=(col1=ChangeBP));&lt;BR /&gt;If _Name_ = 'BP1' then Time= 1;&lt;BR /&gt;Else if _Name_= 'BP2' then Time=2;&lt;BR /&gt;Drop _Name_ _label_;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 11:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/909432#M45142</guid>
      <dc:creator>Kunko</dc:creator>
      <dc:date>2023-12-22T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting GEE estimates for continues outcomes using Proc genmod;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/909847#M45161</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;could give you a more definitive answer, but here is what I am thinking: First off, I see var1 repeated in both the class and model statements. I am guessing this is a typo, and the second instance should be var2. Next, you have two continuous covariates - is there any possibility that these are partially confounded with the levels of time or of the tertiles for HEI? That could lead to a Simpson's paradox situation. Additionally, you might have an issue with your Change variable - it is only defined at time=2, so there really isn't a reason to include time in the model. My final comment would be about changing from wide to long. I often have trouble using PROC TRANSPOSE to do wide to long, and so have usually resorted to a DATA step approach. In this case though, I don't see a need to change to long format, as you are not modeling raw BP values over time, but rather ChangeBP with the various covariates listed. If the independent variables have different values over time, I have a different concern - how do you associate those with the change from baseline? Do the values at baseline have the same effect as the values at first follow-up? Should you be fitting two separate variables - for example, var1_base and var1_follow, var2_base and var2_follow, etc.?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 14:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/909847#M45161</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-12-28T14:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting GEE estimates for continues outcomes using Proc genmod;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/927476#M46152</link>
      <description>&lt;P&gt;Thanks for your explanations. I am actually&amp;nbsp;&lt;SPAN&gt;t modeling raw BP values over time (BP1 (baseline) and BP2(first follow-up). And Var1 is typo.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 07:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/927476#M46152</guid>
      <dc:creator>Kunko</dc:creator>
      <dc:date>2024-05-08T07:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Interpreting GEE estimates for continues outcomes using Proc genmod;</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/938650#M46833</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for your detailed explanations Stave. I am actually&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;modeling raw BP values over time (BP1 (baseline) and BP2(first follow-up). And Var1 is typo. Also, there are few time-variant covariates, for example physical activity; PA_base and PA_follow, and I have created a single variable PA_change with PROC TRANSPOSE. Thanks in advance for your furtther explanations!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 11:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interpreting-GEE-estimates-for-continues-outcomes-using-Proc/m-p/938650#M46833</guid>
      <dc:creator>Kunko</dc:creator>
      <dc:date>2024-08-08T11:26:47Z</dc:date>
    </item>
  </channel>
</rss>

