<?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 Comparison in a logistic model at a specific level of dep variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966450#M48560</link>
    <description>&lt;P&gt;Dear SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the this graph, I would like to know if the percentage of PeelColor 3 (red)&amp;nbsp; is significantly different between the Variety BL516 and Hass for the Season 2021.&amp;nbsp;PeelColor is the dep categorical variable (ordinal) with more than 2 levels.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palolix_2-1747183129762.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106914i338223CAA496F849/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palolix_2-1747183129762.png" alt="palolix_2-1747183129762.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I am correct, with an lsmestimate statement I should be able to answer that, so this is the code I am using. However I would like to know how to specify the level of the dep var (PeelColor=3) for this comparison.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=one desc;&lt;BR /&gt;where Season=2021;&lt;BR /&gt;class Variety/param=glm;&lt;BR /&gt;model PeelColor= Variety/ link=clogit/*y is ordinal*/ ;&lt;BR /&gt;lsmeans Variety/diff;&lt;BR /&gt;lsmestimate Variety 'BL516 vs Hass' 0 0 0 0 0 1 0 0 0 0 -1/adjust=simulate(seed=1);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would greatly appreciate your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 00:50:10 GMT</pubDate>
    <dc:creator>palolix</dc:creator>
    <dc:date>2025-05-14T00:50:10Z</dc:date>
    <item>
      <title>Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966450#M48560</link>
      <description>&lt;P&gt;Dear SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the this graph, I would like to know if the percentage of PeelColor 3 (red)&amp;nbsp; is significantly different between the Variety BL516 and Hass for the Season 2021.&amp;nbsp;PeelColor is the dep categorical variable (ordinal) with more than 2 levels.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palolix_2-1747183129762.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106914i338223CAA496F849/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palolix_2-1747183129762.png" alt="palolix_2-1747183129762.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I am correct, with an lsmestimate statement I should be able to answer that, so this is the code I am using. However I would like to know how to specify the level of the dep var (PeelColor=3) for this comparison.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=one desc;&lt;BR /&gt;where Season=2021;&lt;BR /&gt;class Variety/param=glm;&lt;BR /&gt;model PeelColor= Variety/ link=clogit/*y is ordinal*/ ;&lt;BR /&gt;lsmeans Variety/diff;&lt;BR /&gt;lsmestimate Variety 'BL516 vs Hass' 0 0 0 0 0 1 0 0 0 0 -1/adjust=simulate(seed=1);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would greatly appreciate your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 00:50:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966450#M48560</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2025-05-14T00:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966452#M48562</link>
      <description>&lt;P&gt;A logistic model for this is overkill. For what you want, you can just use PROC FREQ since you are only looking at data for 2021. Also, I would assume that PeelColor is a nominal response, not ordinal, unless you are really interested in the color frequency. Effectively, you just have data for a 2x2 table with Variety as the rows and PeelColor (red vs anything else) as the columns. So, create a ColorRed variable which is 1 for Red and 0 otherwise and the use PROC FREQ:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq; 
where season=2021;
table variety*colorred/chisq;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This tests whether the proportions of ColorRed in the two varieties are equal.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 01:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966452#M48562</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2025-05-14T01:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966457#M48565</link>
      <description>As StatDave said, no need PROC LOGISTIC. &lt;BR /&gt;PROC FREQ + riskdiff option OR relrisk option is more than suffice.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/23/003.html" target="_blank"&gt;https://support.sas.com/kb/23/003.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/57/798.html" target="_blank"&gt;https://support.sas.com/kb/57/798.html&lt;/A&gt;</description>
      <pubDate>Wed, 14 May 2025 02:06:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966457#M48565</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-05-14T02:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966497#M48567</link>
      <description>&lt;P&gt;Thank you so much for your reply StatDave, that makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will then apply these steps for every level of the dep var PeelColor I'm interested in, in order to get a 2x2 table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data one1; set one;&lt;BR /&gt;if PeelColor=3 then ColorRed=1;&lt;BR /&gt;else ColorRed=0;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq data=one1; &lt;BR /&gt;where Season=2021 and Variety in('BL516', 'Hass');&lt;BR /&gt;table Variety*colorRed/chisq riskdiff;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 15:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966497#M48567</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2025-05-14T15:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966498#M48568</link>
      <description>&lt;P&gt;Thank you very much Ksharp for this useful option!&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 15:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966498#M48568</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2025-05-14T15:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966511#M48571</link>
      <description>&lt;P&gt;I have a question; Is the two-sided Pearson chi-square test&amp;nbsp; in the Fisher's Exact Test Table the one that will tell me if&amp;nbsp; the proportions for ColorRed (1) are significantly different between the two Varieties?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE summary="Page Layout"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="c t"&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Freq: Cross-Tabular Freq Table" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l t stacked_cell header" scope="col"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l t header top_stacked_value" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t header middle_stacked_value" scope="col"&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t header middle_stacked_value" scope="col"&gt;Row Pct&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t header bottom_stacked_value" scope="col"&gt;Col Pct&lt;/TH&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Freq: Cross-Tabular Freq Table" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c header" colspan="4" scope="colgroup"&gt;Table&amp;nbsp;of&amp;nbsp;Variety&amp;nbsp;by&amp;nbsp;Colorred&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="c b header" rowspan="2" scope="col"&gt;Variety&lt;/TH&gt;
&lt;TH class="c b header" colspan="3" scope="colgroup"&gt;Colorred&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;0&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;1&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;Total&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;BL516&lt;/TH&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;224&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;37.27&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;74.42&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;44.01&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;77&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;12.81&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;25.58&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;83.70&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;301&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;50.08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;Hass&lt;/TH&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;285&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;47.42&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;95.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;55.99&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;2.50&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;5.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;16.30&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;300&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;49.92&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data middle_stacked_value"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;Total&lt;/TH&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;509&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;84.69&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;92&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;15.31&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD class="r t stacked_cell data"&gt;
&lt;TABLE border="0" width="100%" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r t data top_stacked_value"&gt;601&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r t data bottom_stacked_value"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="proctitle"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="c proctitle"&gt;Statistics for Table of Variety by Colorred&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;A name="IDX4108" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Freq: Chi-Square Tests" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l b header" scope="col"&gt;Statistic&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;DF&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Value&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Prob&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Chi-Square&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;49.0915&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Likelihood Ratio Chi-Square&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;53.0439&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Continuity Adj. Chi-Square&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;47.5168&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Mantel-Haenszel Chi-Square&lt;/TH&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="r data"&gt;49.0098&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Phi Coefficient&lt;/TH&gt;
&lt;TD class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="r data"&gt;-0.2858&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Contingency Coefficient&lt;/TH&gt;
&lt;TD class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="r data"&gt;0.2748&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Cramer's V&lt;/TH&gt;
&lt;TD class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="r data"&gt;-0.2858&lt;/TD&gt;
&lt;TD class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;A name="IDX4109" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Freq: Fisher's Exact Test" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c b header" colspan="2" scope="colgroup" width="211.1px"&gt;Fisher's Exact Test&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row" width="150px"&gt;Cell (1,1) Frequency (F)&lt;/TH&gt;
&lt;TD width="61.1px" class="r data"&gt;224&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row" width="150px"&gt;Left-sided Pr &amp;lt;= F&lt;/TH&gt;
&lt;TD width="61.1px" class="r data"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row" width="150px"&gt;Right-sided Pr &amp;gt;= F&lt;/TH&gt;
&lt;TD width="61.1px" class="r data"&gt;1.0000&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row" width="150px"&gt;&amp;nbsp;&lt;/TH&gt;
&lt;TD width="61.1px" class="r data"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row" width="150px"&gt;Table Probability (P)&lt;/TH&gt;
&lt;TD width="61.1px" class="r data"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row" width="150px"&gt;Two-sided Pr &amp;lt;= P&lt;/TH&gt;
&lt;TD width="61.1px" class="r data"&gt;&lt;STRONG&gt;&amp;lt;.0001&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 May 2025 19:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966511#M48571</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2025-05-14T19:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966513#M48572</link>
      <description>&lt;P&gt;Yes, the Pearson Chi-Square test will test the equality of the two proportions as detailed in this usage note.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/22/561.html" target="_blank"&gt;22561 - Testing the equality of two or more proportions from independent samples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you want an exact test, then you can report Fisher's exact test.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 19:38:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966513#M48572</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2025-05-14T19:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966517#M48573</link>
      <description>&lt;P&gt;Thanks. So should I use the&amp;nbsp;&lt;SPAN&gt;Fisher's exact test (two -sided Pr&amp;lt;=P) in case the cell counts are too small, but otherwise the Chi square test I get with the chisq option?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 20:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966517#M48573</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2025-05-14T20:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966519#M48574</link>
      <description>Yes, that is a reasonable approach.</description>
      <pubDate>Wed, 14 May 2025 20:32:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966519#M48574</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2025-05-14T20:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison in a logistic model at a specific level of dep variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966523#M48575</link>
      <description>&lt;P&gt;Great, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 22:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparison-in-a-logistic-model-at-a-specific-level-of-dep/m-p/966523#M48575</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2025-05-14T22:23:21Z</dc:date>
    </item>
  </channel>
</rss>

