<?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 PROC GENMOD w/ REPEATED is changing estimates! in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-w-REPEATED-is-changing-estimates/m-p/393976#M20567</link>
    <description>&lt;P&gt;Hi Friends, I'm hoping you can help with a modeling conundrum.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm modeling some cost data using generalized linear models (PROC GENMOD). I have multiple observations per person, so I've included the REPEATED statement to account for the correlation between values for the same&amp;nbsp;patient. However, I'm a little confused by the results. As I understand it, including a repeated statement shouldn't change the model estimates, just the CIs/SEs. But I noticed that changing the covariance structure from compund symmetric to autoregressive DOES change the estimates (and by a non-negligible amount!). This is making me wonder if I'm doing something wrong in my code... I've pasted my code below. Aany insight into why I might be getting unexpected changes in the model estimate as a result of changing the covariance structure??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc genmod data=forreg &amp;nbsp;;&lt;BR /&gt; class id&amp;nbsp;bg&amp;nbsp;year / param=ref ref=first;&lt;BR /&gt; model pay = bg&amp;nbsp;year bg*year/ link=log dist=gamma;&lt;BR /&gt;repeated subject=id /type=cs ;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2017 17:48:55 GMT</pubDate>
    <dc:creator>ashlicole</dc:creator>
    <dc:date>2017-09-07T17:48:55Z</dc:date>
    <item>
      <title>PROC GENMOD w/ REPEATED is changing estimates!</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-w-REPEATED-is-changing-estimates/m-p/393976#M20567</link>
      <description>&lt;P&gt;Hi Friends, I'm hoping you can help with a modeling conundrum.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm modeling some cost data using generalized linear models (PROC GENMOD). I have multiple observations per person, so I've included the REPEATED statement to account for the correlation between values for the same&amp;nbsp;patient. However, I'm a little confused by the results. As I understand it, including a repeated statement shouldn't change the model estimates, just the CIs/SEs. But I noticed that changing the covariance structure from compund symmetric to autoregressive DOES change the estimates (and by a non-negligible amount!). This is making me wonder if I'm doing something wrong in my code... I've pasted my code below. Aany insight into why I might be getting unexpected changes in the model estimate as a result of changing the covariance structure??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc genmod data=forreg &amp;nbsp;;&lt;BR /&gt; class id&amp;nbsp;bg&amp;nbsp;year / param=ref ref=first;&lt;BR /&gt; model pay = bg&amp;nbsp;year bg*year/ link=log dist=gamma;&lt;BR /&gt;repeated subject=id /type=cs ;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 17:48:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-w-REPEATED-is-changing-estimates/m-p/393976#M20567</guid>
      <dc:creator>ashlicole</dc:creator>
      <dc:date>2017-09-07T17:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD w/ REPEATED is changing estimates!</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-w-REPEATED-is-changing-estimates/m-p/393994#M20571</link>
      <description>&lt;P&gt;The GEE algorithm is an iterative algorithm that solves for both the parameter estimates and the covariance matrix so you should expect to see differences in both the parameters and the standard errors.&lt;/P&gt;
&lt;P&gt;There will be more specific details here&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_details29.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_details29.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-w-REPEATED-is-changing-estimates/m-p/393994#M20571</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2017-09-07T18:55:36Z</dc:date>
    </item>
  </channel>
</rss>

