<?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: How to get the P-trend from proc genmod procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698561#M33695</link>
    <description>If I use the 'proc genmod' procedure, can it be like this:&lt;BR /&gt;&lt;BR /&gt;proc genmod;&lt;BR /&gt;model y("event=1")=X2;&lt;BR /&gt;run;</description>
    <pubDate>Fri, 13 Nov 2020 00:49:19 GMT</pubDate>
    <dc:creator>critiasun</dc:creator>
    <dc:date>2020-11-13T00:49:19Z</dc:date>
    <item>
      <title>How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698135#M33676</link>
      <description>&lt;P&gt;Good evening! Everyone! I am working on &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.baidu.com/link?url=gWAC3_ilTP53-2ua1yFl7TFoj7CV1Ak77pjgvDCAFmtyA_bQwfGqlpTq3bNzegL_7nDHVjW-hy0HIcRb0UpfngsKVKx-t8UUtYZBAsWwckwN7Hsa75lRzOfSeZE7f2l1" target="_blank" rel="noopener"&gt;Generalized Linear Model&lt;/A&gt;，Variable&amp;nbsp;X2 has 4 value(1,2,3,4), now I can see a trend from Variable&amp;nbsp;X2 , but I can not find the default parameter&amp;nbsp; to get the P-trend, How to do it?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 12:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698135#M33676</guid>
      <dc:creator>critiasun</dc:creator>
      <dc:date>2020-11-11T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698155#M33678</link>
      <description>&lt;P&gt;If you want to test for trend over the levels of X2, that implies that its levels are ordered. If the values 1,2,3,4 reflect the spacing between its levels, then specify X2 in the MODEL statement but not in the CLASS statement. The single p-value that you get for X2 will be a test of its linear effect on the response function.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 14:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698155#M33678</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-11-11T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698256#M33679</link>
      <description>&lt;P&gt;I had gotten rid of X2 from class statement, the results showed as follow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trend test.png" style="width: 743px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51580i30BD33821EECD662/image-size/large?v=v2&amp;amp;px=999" role="button" title="trend test.png" alt="trend test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what you&amp;nbsp;mean is this results(ChiSquare=120.96, P&amp;lt;0.0001) is the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;linear effect(P-trend)&lt;/SPAN&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 00:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698256#M33679</guid>
      <dc:creator>critiasun</dc:creator>
      <dc:date>2020-11-12T00:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698391#M33686</link>
      <description>&lt;P&gt;No, those are results from CONTRAST or ESTIMATE statements. I am referring to the test of X2 in the Parameter Estimates table.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 14:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698391#M33686</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-11-12T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698442#M33691</link>
      <description>Could you show me how to write the statement， can you give me an example?&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Nov 2020 16:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698442#M33691</guid>
      <dc:creator>critiasun</dc:creator>
      <dc:date>2020-11-12T16:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698529#M33692</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic;
model y(event="1") = x2;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The test of X2 is a test of its linear effect on the logit (log odds). You could have additional variables in the model and that is still true.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 21:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698529#M33692</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-11-12T21:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698561#M33695</link>
      <description>If I use the 'proc genmod' procedure, can it be like this:&lt;BR /&gt;&lt;BR /&gt;proc genmod;&lt;BR /&gt;model y("event=1")=X2;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 13 Nov 2020 00:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698561#M33695</guid>
      <dc:creator>critiasun</dc:creator>
      <dc:date>2020-11-13T00:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698674#M33705</link>
      <description>&lt;P&gt;If you are fitting a logistic model, the best tool is PROC LOGISTIC. PROC GENMOD can also be used, but since GENMOD fits a broader class of models than just logistic models, you need to specify the DIST=BINOMIAL option to tell GENMOD to fit a logistic model:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model y(event="1") = x2 / dist=binomial;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that this assumes that the response variable, Y, takes on values 0 or 1 and that Y=1 is considered the event of interest.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 14:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698674#M33705</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-11-13T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698961#M33717</link>
      <description>&lt;P&gt;I fitted GENMOD model as follow:&lt;BR /&gt;proc genmod desc data=tot;&lt;BR /&gt;model GDM= X2/ dist = binomial;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;the results as follow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="genmod-test.png" style="width: 813px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51690i8C1CB96381B3038C/image-size/large?v=v2&amp;amp;px=999" role="button" title="genmod-test.png" alt="genmod-test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this the linear results like trend?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 14:43:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/698961#M33717</guid>
      <dc:creator>critiasun</dc:creator>
      <dc:date>2020-11-15T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/699353#M33729</link>
      <description>&lt;P&gt;Yes. The large Wald chi-square for X2, 355.62, is significant (p&amp;lt;0.0001) indicating a non-zero trend on the log odd of the event level which is the first level of GSM as shown in the Response Profile table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 02:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/699353#M33729</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-11-17T02:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the P-trend from proc genmod procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/699456#M33734</link>
      <description>Question has been solved with your help! Thank you very much !&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2020 11:32:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-the-P-trend-from-proc-genmod-procedure/m-p/699456#M33734</guid>
      <dc:creator>critiasun</dc:creator>
      <dc:date>2020-11-17T11:32:39Z</dc:date>
    </item>
  </channel>
</rss>

