<?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: error when used proc genmod （GEE modelling） in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824400#M40873</link>
    <description>&lt;P&gt;Thank you for your reply! I will try! Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 16:10:01 GMT</pubDate>
    <dc:creator>KKAY</dc:creator>
    <dc:date>2022-07-20T16:10:01Z</dc:date>
    <item>
      <title>error when used proc genmod （GEE modelling）</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824210#M40868</link>
      <description>&lt;P&gt;I read a paper which introduced the the proc genmod to build the partial proportional odds model. I copy the code and run. It is OK .&lt;/P&gt;&lt;P&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;data ppom;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;input id y x1 x2@@;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;cards;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;1 2 0 1 17 2 1 0 33 1 1 0&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;2 1 0 1 18 0 0 0 34 0 1 0&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;3 2 0 0 19 0 0 1 35 2 0 1&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /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t;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;data ppom2;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;set ppom;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;yy=(y=3); logit=3;output;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;yy=(y ge 2);logit=2; output;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;yy=(y ge 1);logit=1;output;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;proc genmod desc;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;class id logit;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;model yy=x1 x2 logit logit*x1/link=logit dist=bin type3;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;repeated subject=id/type=un;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;But if I changed the few numbers, it&amp;nbsp;showed there are errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;ERROR: Error in computing the variance function.&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;ERROR: Error in parameter estimate covariance computation.&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;ERROR: Error in estimation routine.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Why? The errors did not always come. But it did. For example I changed the y=0 when id=33 as following&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;data ppom;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;set ppom;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;if id=33 then y=0;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;data ppom2;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;set ppom;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;yy=(y=3); logit=3;output;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;yy=(y ge 2);logit=2; output;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;yy=(y ge 1);logit=1;output;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;proc genmod desc;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;class id logit;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;model yy=x1 x2 logit logit*x1/link=logit dist=bin type3;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;repeated subject=id/type=un;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 18:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824210#M40868</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-07-19T18:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: error when used proc genmod （GEE modelling）</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824254#M40869</link>
      <description>&lt;P&gt;Is anyone could help me?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 22:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824254#M40869</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-07-19T22:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: error when used proc genmod （GEE modelling）</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824334#M40870</link>
      <description>&lt;P&gt;Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp; could give you a hand ?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824334#M40870</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-07-20T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: error when used proc genmod （GEE modelling）</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824355#M40871</link>
      <description>&lt;P&gt;That method is not necessary. It is now easy to fit a partial proportional odds model or a fully nonproportional odds model using the UNEQUALSLOPES and/or EQUALSLOPES options. The following fits the fully nonproportional odds model.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=ppom;
model y=x1 x2 / unequalslopes;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See &lt;A href="http://support.sas.com/kb/22954" target="_self"&gt;this note&lt;/A&gt; that provides much more detail and an example of fitting both the&amp;nbsp;partial proportional odds model and fully nonproportional odds model.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824355#M40871</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-07-20T13:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: error when used proc genmod （GEE modelling）</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824399#M40872</link>
      <description>&lt;P&gt;Thank you very much! I will learn about what you suggest and try.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 16:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824399#M40872</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-07-20T16:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: error when used proc genmod （GEE modelling）</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824400#M40873</link>
      <description>&lt;P&gt;Thank you for your reply! I will try! Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 16:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-when-used-proc-genmod-GEE-modelling/m-p/824400#M40873</guid>
      <dc:creator>KKAY</dc:creator>
      <dc:date>2022-07-20T16:10:01Z</dc:date>
    </item>
  </channel>
</rss>

