<?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: Macro for logistic regression of outcome with more than two categories in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949138#M42641</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467084"&gt;@Frankzzf&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I apologize for not being clear.&lt;BR /&gt;i mean a marco that could output word documents with created OR tables from logistic procedure&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Macros are not needed. You can use ODS RTF or ODS WORD. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="myfile.rtf";
proc logistic data=...;
...
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 27 Oct 2024 13:15:03 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2024-10-27T13:15:03Z</dc:date>
    <item>
      <title>Macro for logistic regression of outcome with more than two categories</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949109#M42635</link>
      <description>&lt;P&gt;I'm estimating odds ratio between m_pattern (three categories) and&amp;nbsp;c_pattern (three categories) with the following code.&lt;/P&gt;&lt;P&gt;I found macro for logistics regression with ordinal outcomes, but I failed to find macro for outcomes with more than two categories.&lt;/P&gt;&lt;P&gt;I wonder if there are macro for batch analysis and auto OR table ouput?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc logistic data=diet.dietary;
class
m_pattern2 (param=ref ref="1");
model c_pattern2 (ref="1")=m_pattern2 /link=glogit rl cl;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Oct 2024 04:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949109#M42635</guid>
      <dc:creator>Frankzzf</dc:creator>
      <dc:date>2024-10-27T04:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for logistic regression of outcome with more than two categories</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949112#M42636</link>
      <description>&lt;P&gt;I don't understand what you are trying to do .&lt;/P&gt;
&lt;P&gt;You should know if your response/Y variable is nominal variable,you would get TWO model separatedly (1 vs 3 and 2 vs 3 if take 3 as a reference level).&lt;/P&gt;
&lt;P&gt;And check the example of Doc:&lt;/P&gt;
&lt;P&gt;Nominal Response Data: Generalized Logits Model&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_logistic_examples04.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_logistic_examples04.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1730009854970.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101813i117743EBDE69AAB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1730009854970.png" alt="Ksharp_0-1730009854970.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 06:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949112#M42636</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-10-27T06:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for logistic regression of outcome with more than two categories</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949113#M42637</link>
      <description>And better post it at Stat Forum, since it is a question about Statisical Model/Theory.&lt;BR /&gt;The experts of Statistic &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;  &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;  would see it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Oct 2024 07:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949113#M42637</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-10-27T07:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for logistic regression of outcome with more than two categories</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949132#M42639</link>
      <description>&lt;P&gt;PROC LOGISTIC should do this without a macro. What is it you want that PROC LOGISTIC doesn't do?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 10:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949132#M42639</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-10-27T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for logistic regression of outcome with more than two categories</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949137#M42640</link>
      <description>I apologize for not being clear.&lt;BR /&gt;i mean a marco that could output word documents with created OR tables from logistic procedure&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Oct 2024 12:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949137#M42640</guid>
      <dc:creator>Frankzzf</dc:creator>
      <dc:date>2024-10-27T12:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for logistic regression of outcome with more than two categories</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949138#M42641</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467084"&gt;@Frankzzf&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I apologize for not being clear.&lt;BR /&gt;i mean a marco that could output word documents with created OR tables from logistic procedure&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Macros are not needed. You can use ODS RTF or ODS WORD. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="myfile.rtf";
proc logistic data=...;
...
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Oct 2024 13:15:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Macro-for-logistic-regression-of-outcome-with-more-than-two/m-p/949138#M42641</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-10-27T13:15:03Z</dc:date>
    </item>
  </channel>
</rss>

