<?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 for a categorical variable, one ML estimate is significant, but Type 3 is not. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540298#M27102</link>
    <description>&lt;P&gt;Without any of the output or input&amp;nbsp; data the only question I will attempt to answer at this point is about surveylogistic. You should use proc surveylogistic if your data comes from a complex sample design such as stratified or clustered or just about anything other than a simple random sample. The options and requirements&amp;nbsp;for analysis would depend on the sample design.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 23:57:11 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-03-04T23:57:11Z</dc:date>
    <item>
      <title>PROC LOGISTIC for a categorical variable, one ML estimate is significant, but Type 3 is not.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540228#M27098</link>
      <description>&lt;P&gt;I applied PROC LOGISTIC to predict a binary outcome variable, coded as 0 and 1. I have eleven predictors. Seven predictors are binary (VAR1 - VAR7), three predictors are continuous variable (VAR9 - VAR 11), and one predictor is categorical with four levels (VAR8: EDU4).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the four-level categorical variable,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) I found the "type 3 analysis of effects" was not significant (df = 3, chi-sq = 6.1259, p =0.1055).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, one of the three estimates in "Analysis of Maximum Likelihood Estimates" was significant (df = 1, estimate = 0.9442, chi-sq = 5.2407, p = 0.0221) when"one level compared to the reference level" (Bachelor's degree or above vs. high school and some post-secondary).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture5.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture5.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture6.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture6.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture7.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture7.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, should I interpret this variable has a significant effect on my binary outcome?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(3) In the model, I applied WEIGHT statement in PROC LOGISTIC. Should I use PROC SURVEYLOGISTIC to get a better estimate?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG"&gt;&lt;img src="https://communities.sas.com/skins/images/E0BB18E7DAA53C21BC28740CEA0E38DA/responsive_peak/images/image_not_found.png" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my SAS code using PROC LOGISTIC:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC LOGISTIC data=SDE descending;&lt;BR /&gt;CLASS VAR1 VAR2 VAR3 VAR4 VAR5 VAR6 VAR7 VAR8 / desc order = formatted param = ref;&lt;BR /&gt;model DV&amp;nbsp;= VAR1&amp;nbsp;VAR2 VAR3 VAR4 VAR5 VAR6 VAR7 VAR8 VAR9 VAR10 VAR11 / lackfit rsquare;&lt;BR /&gt;weight RESPWT;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your insights.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 21:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540228#M27098</guid>
      <dc:creator>Orange1984</dc:creator>
      <dc:date>2019-03-04T21:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC for a categorical variable, one ML estimate is significant, but Type 3 is not.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540298#M27102</link>
      <description>&lt;P&gt;Without any of the output or input&amp;nbsp; data the only question I will attempt to answer at this point is about surveylogistic. You should use proc surveylogistic if your data comes from a complex sample design such as stratified or clustered or just about anything other than a simple random sample. The options and requirements&amp;nbsp;for analysis would depend on the sample design.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 23:57:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540298#M27102</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-04T23:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC for a categorical variable, one ML estimate is significant, but Type 3 is not.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540302#M27103</link>
      <description>&lt;P&gt;The two tests are not testing the same thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you get a not significant (p=0.1055) p-value for the Type 3 test, this means that the slopes (regression coefficients) of the four different levels of EDU4 are not statistically different from each other — &lt;EM&gt;i.e.&lt;/EM&gt; they are all the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When one of the estimates for the levels of EDU4 is significant (p=0.0221), this means the slope for this level is significantly different than zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are not testing the same thing. One does not imply the other.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 01:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-for-a-categorical-variable-one-ML-estimate-is/m-p/540302#M27103</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-03-05T01:40:19Z</dc:date>
    </item>
  </channel>
</rss>

