<?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 logistic design variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710270#M218614</link>
    <description>&lt;P&gt;You're welcome. I think the output shown in your initial post doesn't match your code, though: The output indicates that &lt;FONT face="courier new,courier"&gt;ref=first&lt;/FONT&gt; was specified for &lt;EM&gt;all three&lt;/EM&gt; CLASS variables (which can be done easily by putting &lt;FONT face="courier new,courier"&gt;ref=first&lt;/FONT&gt;&amp;nbsp;to the end of the CLASS statement, i.e., after the slash), whereas your code specifies it for &lt;FONT face="courier new,courier"&gt;severity_baseline&lt;/FONT&gt; only (and leaves the default, &lt;FONT face="courier new,courier"&gt;ref=last&lt;/FONT&gt;, for the other two variables unchanged).&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 20:06:39 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2021-01-08T20:06:39Z</dc:date>
    <item>
      <title>proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710158#M218558</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lrackley_0-1610113195208.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53304iE90E7DA0FE180471/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lrackley_0-1610113195208.png" alt="lrackley_0-1610113195208.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain the design variables to me? I want to use moderate severity_baseline as reference, treatment A as reference, and 0 or no steroid use as reference. If the design variables is 0, does that mean it's reference?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 13:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710158#M218558</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-08T13:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710179#M218569</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181158"&gt;@tarheel13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your design variable values look like you're using what is called &lt;EM&gt;reference cell coding&lt;/EM&gt; (see documentation of the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_logistic_syntax05.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;CLASS statement&lt;/A&gt; and section "REFERENCE | REF" in "&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect012.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Other Parameterizations&lt;/A&gt;"). Then PROC LOGISTIC creates one design variable with values 0 and 1 for each of the three dichotomous CLASS variables and, yes, the reference level is that where the design variable is 0. By default, the procedure would use the &lt;EM&gt;last&lt;/EM&gt; ordered level (formatted value) as the reference level, so I assume that you (correctly) specified &lt;FONT face="courier new,courier"&gt;ref=first&lt;/FONT&gt; or individual reference levels, e.g., &lt;FONT face="courier new,courier"&gt;baseline_steroid(ref='0')&lt;/FONT&gt; in your code. The parameter estimate will then refer to the other level, meaning that, e.g., for a patient with treatment ...B the corresponding estimate is added to the remaining terms in the linear function modeling the logit. Hence, if the estimate is positive, the modeled probability is increased (compared to the reference level, treatment ...A), everything else being the same.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 15:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710179#M218569</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-01-08T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710265#M218613</link>
      <description>&lt;P&gt;Thank you so much! I am newer to proc logistic. Yes, the values are 2 for moderate and 3 for severe in severity_baseline and I need moderate so I put ref=first as you said.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lrackley_0-1610133849778.png" style="width: 1532px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53328iC553DFAD49868974/image-dimensions/1532x119?v=v2" width="1532" height="119" role="button" title="lrackley_0-1610133849778.png" alt="lrackley_0-1610133849778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 19:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710265#M218613</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-08T19:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710270#M218614</link>
      <description>&lt;P&gt;You're welcome. I think the output shown in your initial post doesn't match your code, though: The output indicates that &lt;FONT face="courier new,courier"&gt;ref=first&lt;/FONT&gt; was specified for &lt;EM&gt;all three&lt;/EM&gt; CLASS variables (which can be done easily by putting &lt;FONT face="courier new,courier"&gt;ref=first&lt;/FONT&gt;&amp;nbsp;to the end of the CLASS statement, i.e., after the slash), whereas your code specifies it for &lt;FONT face="courier new,courier"&gt;severity_baseline&lt;/FONT&gt; only (and leaves the default, &lt;FONT face="courier new,courier"&gt;ref=last&lt;/FONT&gt;, for the other two variables unchanged).&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710270#M218614</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-01-08T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710273#M218616</link>
      <description>&lt;P&gt;Yes, I actually left them alone because I don't know which drug is placebo and then in the specs I have, it did not say what ref to use for baseline steroid use. I just need the predicted probability plot from proc logistic. What is the best way to output that? I am trying to put it in an RTF and think I got it but it's still keeping "The Logistic Procedure" and I don't need that in there. I just need my title statements and the graph itself.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lrackley_0-1610136451380.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53329i5B6BC217D9BBE2F1/image-dimensions/600x123?v=v2" width="600" height="123" role="button" title="lrackley_0-1610136451380.png" alt="lrackley_0-1610136451380.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710273#M218616</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-08T20:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710292#M218622</link>
      <description>&lt;P&gt;To suppress the unwanted "procedure title" just add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods noproctitle;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;before the PROC LOGISTIC step.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:54:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710292#M218622</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-01-08T20:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic design variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710342#M218649</link>
      <description>Thanks! I found that too after I already replied to this haha</description>
      <pubDate>Sat, 09 Jan 2021 02:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-logistic-design-variables/m-p/710342#M218649</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-09T02:07:58Z</dc:date>
    </item>
  </channel>
</rss>

