<?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: Proc genmod with normal distribution, log link, unstructured variance-covariance and strata in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934449#M46590</link>
    <description>&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 18:32:55 GMT</pubDate>
    <dc:creator>Liamb</dc:creator>
    <dc:date>2024-07-02T18:32:55Z</dc:date>
    <item>
      <title>Proc genmod with normal distribution, log link, unstructured variance-covariance and strata</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934434#M46588</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm looking for SAS code to calculate the difference between two groups using the Generalized Estimating Equation (GEE) with normal distribution assumptions, log link functions, unstructured variance-covariance structure and stratification factor (strata).&lt;/P&gt;
&lt;P&gt;I found the following code in the SAS help but it doesn't specify the variance-covariance structure and strata options&lt;/P&gt;
&lt;PRE&gt;proc genmod data=nor;
   model y = x / dist = normal
                 link = log;
   output out       = Residuals
          pred      = Pred
          resraw    = Resraw
          reschi    = Reschi
          resdev    = Resdev
          stdreschi = Stdreschi
          stdresdev = Stdresdev
          reslik    = Reslik;
run;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 16:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934434#M46588</guid>
      <dc:creator>Liamb</dc:creator>
      <dc:date>2024-07-02T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc genmod with normal distribution, log link, unstructured variance-covariance and strata</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934445#M46589</link>
      <description>&lt;P&gt;Assuming that you want to use GEE because you have multiple observations or subjects within the strata and you want to allow for those responses to be correlated, then the following does the analysis you are suggesting. PROC GEE is the recommended procedure for fitting GEE models, though you could use the same syntax with GENMOD. But note that if the number of observations within a stratum is large, the model with the unstructured correlation matrix could be hard to estimate. Since GEE protects for incorrect structure, many just use simple structures like TYPE=IND or EXCH.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gee;
class strata group;
model y=group / link=log;
repeated subject=strata / type=un;
lsmeans group / diff;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 17:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934445#M46589</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-07-02T17:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc genmod with normal distribution, log link, unstructured variance-covariance and strata</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934449#M46590</link>
      <description>&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 18:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-genmod-with-normal-distribution-log-link-unstructured/m-p/934449#M46590</guid>
      <dc:creator>Liamb</dc:creator>
      <dc:date>2024-07-02T18:32:55Z</dc:date>
    </item>
  </channel>
</rss>

