<?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 Multiple Logistic Regression Code Help in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951524#M47581</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write code for multiple logistic regression and cannot find what code to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My outcome/y variable is binary (yes or no but recoded to be numeric) and explanatory/x variables are mainly continuous but there is one binary (recoded to be numeric) variable too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone assist me with some basic code for a starting point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 17:30:18 GMT</pubDate>
    <dc:creator>steph_</dc:creator>
    <dc:date>2024-11-21T17:30:18Z</dc:date>
    <item>
      <title>Multiple Logistic Regression Code Help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951524#M47581</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write code for multiple logistic regression and cannot find what code to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My outcome/y variable is binary (yes or no but recoded to be numeric) and explanatory/x variables are mainly continuous but there is one binary (recoded to be numeric) variable too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone assist me with some basic code for a starting point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951524#M47581</guid>
      <dc:creator>steph_</dc:creator>
      <dc:date>2024-11-21T17:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Logistic Regression Code Help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951525#M47582</link>
      <description>&lt;P&gt;Very simple for basic model fit. Assuming your response is Y with values 0 or 1 where 1 is the event of interest and your data set is named MYDATA:&lt;/P&gt;
&lt;P&gt;proc logistic data=mydata;&lt;/P&gt;
&lt;P&gt;class &amp;lt;list any categorical predictors&amp;gt; / param=glm;&lt;/P&gt;
&lt;P&gt;model y(event='1') = &amp;lt;list all predictors, continuous and categorical&amp;gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;See other examples in the&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_logistic_syntax.htm" target="_self"&gt; PROC LOGISTIC documentation&lt;/A&gt; - Getting Started and Examples sections. There are many options for additional information.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951525#M47582</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-11-21T17:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Logistic Regression Code Help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951532#M47583</link>
      <description>&lt;P&gt;Thank you! What does the&amp;nbsp;param=glm mean?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951532#M47583</guid>
      <dc:creator>steph_</dc:creator>
      <dc:date>2024-11-21T17:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Logistic Regression Code Help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951533#M47584</link>
      <description>&lt;P&gt;Again, see that documentation for info on all options, but PARAM=GLM creates the typical 0,1 coded design columns that most people use to represent categorical predictors. But if your only categorical predictors are binary and you already have them coded as 0,1, then you can just omit the CLASS statement.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multiple-Logistic-Regression-Code-Help/m-p/951533#M47584</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-11-21T17:55:49Z</dc:date>
    </item>
  </channel>
</rss>

