<?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 How to generate a regression curve for a binary dependent variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776658#M38043</link>
    <description>&lt;P&gt;Hi everyone, Please bear with me.&lt;/P&gt;&lt;P&gt;I'm confused to finish this model alone.&lt;/P&gt;&lt;P&gt;There is a discrete independent variable and a binary dependent variable (percentage).&lt;/P&gt;&lt;P&gt;I can use proc glimmix to generate the figure below. But how can i generate a regression curve by&amp;nbsp; Legendre polynomials like in&amp;nbsp;the second figure?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="J6JKF38A]6GX5GC%V@(1NX8.png" style="width: 558px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65071iEE22A878865F31E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="J6JKF38A]6GX5GC%V@(1NX8.png" alt="J6JKF38A]6GX5GC%V@(1NX8.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="~(WJ24Y27JXLVJWKGMOY@VB.png" style="width: 755px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65072i7FF9D94154635657/image-size/large?v=v2&amp;amp;px=999" role="button" title="~(WJ24Y27JXLVJWKGMOY@VB.png" alt="~(WJ24Y27JXLVJWKGMOY@VB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 02:52:46 GMT</pubDate>
    <dc:creator>LiHZ</dc:creator>
    <dc:date>2021-10-27T02:52:46Z</dc:date>
    <item>
      <title>How to generate a regression curve for a binary dependent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776658#M38043</link>
      <description>&lt;P&gt;Hi everyone, Please bear with me.&lt;/P&gt;&lt;P&gt;I'm confused to finish this model alone.&lt;/P&gt;&lt;P&gt;There is a discrete independent variable and a binary dependent variable (percentage).&lt;/P&gt;&lt;P&gt;I can use proc glimmix to generate the figure below. But how can i generate a regression curve by&amp;nbsp; Legendre polynomials like in&amp;nbsp;the second figure?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="J6JKF38A]6GX5GC%V@(1NX8.png" style="width: 558px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65071iEE22A878865F31E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="J6JKF38A]6GX5GC%V@(1NX8.png" alt="J6JKF38A]6GX5GC%V@(1NX8.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="~(WJ24Y27JXLVJWKGMOY@VB.png" style="width: 755px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65072i7FF9D94154635657/image-size/large?v=v2&amp;amp;px=999" role="button" title="~(WJ24Y27JXLVJWKGMOY@VB.png" alt="~(WJ24Y27JXLVJWKGMOY@VB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 02:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776658#M38043</guid>
      <dc:creator>LiHZ</dc:creator>
      <dc:date>2021-10-27T02:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a regression curve for a binary dependent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776707#M38045</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can fit a spline if you just want to know about the overall "trend".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want&amp;nbsp;&lt;SPAN&gt;Legendre (orthogonal) polynomials, they are in SAS/IML&amp;nbsp;&lt;/SPAN&gt;ORPOL Function&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3 class="xis-title"&gt;&amp;nbsp;&lt;/H3&gt;</description>
      <pubDate>Wed, 27 Oct 2021 11:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776707#M38045</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-10-27T11:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a regression curve for a binary dependent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776750#M38049</link>
      <description>&lt;P&gt;See &lt;A href="http://support.sas.com/kb/35189" target="_self"&gt;this note&lt;/A&gt; that (in addition to estimating odds ratios) shows fitting a quadratic or spline model and producing a plot.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 14:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776750#M38049</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-10-27T14:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a regression curve for a binary dependent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776753#M38050</link>
      <description>&lt;P&gt;If you fit a curve, then you are assuming that the independent variable (group) is continuous. But you said it is discrete. So which is it?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 14:58:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-a-regression-curve-for-a-binary-dependent/m-p/776753#M38050</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-10-27T14:58:06Z</dc:date>
    </item>
  </channel>
</rss>

