<?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 estimates for categorical variables in a Logistic regression - PROC Genmod in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732805#M228347</link>
    <description>&lt;P&gt;Your output is impossible to read as presented. Can you present the output in readable fashion? (screen capture is okay)&lt;/P&gt;</description>
    <pubDate>Sat, 10 Apr 2021 22:44:43 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-04-10T22:44:43Z</dc:date>
    <item>
      <title>How to get estimates for categorical variables in a Logistic regression - PROC Genmod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732804#M228346</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm computing a&amp;nbsp;Logistic regression&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to get RRs. I have a combination of binary and categorical variables.&amp;nbsp; My output current gives me beta estimates for the binary variables accurately, however it gives me only one Beta estimate for the categorical variable and it seems as though it is treating them as binary variables. For my main categorical variable county designation it has three levels (Urban, Rural, Frontier). Here is my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GENMOD DATA= Test DESCENDING;
	CLASS CntyDes (ref = 'Urban') / param = ref;
	MODEL UTD (event = 'Yes') = CntyDes / dist = bin link = log;
	ESTIMATE 'BetaFrontier' CntyDes 1 / exp;
	RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Contrast Estimate ResultsLabel Mean Estimate Mean L'Beta Estimate StandardError Alpha L'Beta Chi-Square Pr&amp;nbsp;&amp;gt;&amp;nbsp;ChiSqConfidence Limits Confidence LimitsBetaFrontierExp(BetaFrontier)&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0.6874&lt;/TD&gt;&lt;TD&gt;0.5099&lt;/TD&gt;&lt;TD&gt;0.9266&lt;/TD&gt;&lt;TD&gt;-0.3749&lt;/TD&gt;&lt;TD&gt;0.1524&lt;/TD&gt;&lt;TD&gt;0.05&lt;/TD&gt;&lt;TD&gt;-0.6735&lt;/TD&gt;&lt;TD&gt;-0.0762&lt;/TD&gt;&lt;TD&gt;6.05&lt;/TD&gt;&lt;TD&gt;0.0139&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0.6874&lt;/TD&gt;&lt;TD&gt;0.1047&lt;/TD&gt;&lt;TD&gt;0.05&lt;/TD&gt;&lt;TD&gt;0.5099&lt;/TD&gt;&lt;TD&gt;0.9266&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;The contrast estimate results give me the beta estimate of the Frontier designation but nothing for the Rural one. Is there a way to add the rural designation to the estimate statement or even just have the rural one come up in the Beta output instead of the Frontier one?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 22:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732804#M228346</guid>
      <dc:creator>sierranalani</dc:creator>
      <dc:date>2021-04-10T22:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get estimates for categorical variables in a Logistic regression - PROC Genmod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732805#M228347</link>
      <description>&lt;P&gt;Your output is impossible to read as presented. Can you present the output in readable fashion? (screen capture is okay)&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 22:44:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732805#M228347</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-10T22:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get estimates for categorical variables in a Logistic regression - PROC Genmod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732890#M228378</link>
      <description>&lt;P&gt;Updated with the output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sierranalani_0-1618165131219.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57369i7DCD34C41B671C82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sierranalani_0-1618165131219.png" alt="sierranalani_0-1618165131219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 18:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732890#M228378</guid>
      <dc:creator>sierranalani</dc:creator>
      <dc:date>2021-04-11T18:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get estimates for categorical variables in a Logistic regression - PROC Genmod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732898#M228382</link>
      <description>&lt;P&gt;The MODEL statement should show that there are estimates for all levels of CNTYDES . Since you are getting a estimate for just Frontier, I am guessing that there is missing data in your data set for the other levels. Please check to make sure the other levels appear in your data set, and that UTD is not missing for each of the other levels. Also please check the log for ERRORs or WARNINGs about missing data.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 18:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-estimates-for-categorical-variables-in-a-Logistic/m-p/732898#M228382</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-11T18:57:01Z</dc:date>
    </item>
  </channel>
</rss>

