<?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 GENMOD Interpretation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960978#M48141</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;This is the fitted predicted value from PROC GENMOD (screenshot above). I'm trying to dichotomize it, with the intent to answer questions such as, these levels of factor X (used as a predictor in my model) have a higher predicted value than other levels of factor X.&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The slopes of the model coefficients will tell you if higher X produces bigger predicted values or not.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Mar 2025 18:52:01 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2025-03-05T18:52:01Z</dc:date>
    <item>
      <title>PROC GENMOD Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960950#M48136</link>
      <description>&lt;P&gt;I am using PROC GENMOD as follows for a binomial logistic regression. I'm trying to find the best way to present the end results to the users. Any suggestions? One approach I tried was to dichotomize my predicted variable based on the rate of the actual y-variable (e.g., if the actual y-variable rate is, say, 10%, then I would dichotomize my predicted variable for any values above 0.10 to be "yes" else "no"). Doing so results in a far higher predicted rate than my actual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After researching this, I saw some posts mention "p = " as an option to add to the output setting. That didn't seem to make much difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the dichotomization I tried as well within a proc sql routine as I was trying to compare the predicted vs. actual. In the end, I'd like to say, by whatever factor(s) or levels therein I group by, the predicted % is this compared to the actual %&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(case when fit_bd gt 0.10 then 1 else 0 end) as fit_bdbinary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GENMOD DATA= &amp;amp;BegDset. DESCENDING;
CLASS &amp;amp;ClassCharVars. &amp;amp;ClassNumVars.;
MODEL bd_flag = &amp;amp;ClassCharVars. &amp;amp;ClassNumVars. &amp;amp;ContVars. / DIST=binomial LINK=logit;
WEIGHT model_weight;
ODS OUTPUT parameterEstimates=&amp;amp;BetasDset.;
OUTPUT OUT= &amp;amp;OutputDset. /* p = prob */ PREDICTED=fit_bd;
RUN;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Mar 2025 14:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960950#M48136</guid>
      <dc:creator>shl007</dc:creator>
      <dc:date>2025-03-05T14:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960952#M48137</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/216466"&gt;@shl007&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am using PROC GENMOD as follows for a binomial logistic regression. I'm trying to find the best way to present the end results to the users. Any suggestions? One approach I tried was to dichotomize my predicted variable based on the rate of the actual y-variable (e.g., if the actual y-variable rate is, say, 10%, then I would dichotomize my predicted variable for any values above 0.10 to be "yes" else "no"). Doing so results in a far higher predicted rate than my actual.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Changing the data and refitting the model doesn't particularly strike me as a good way to present the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exactly what part of the output are you struggling with? What message do you want to get across? What question is this analysis trying to answer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show us the output as a screen capture? (Please use the Insert Photos icon; do not attach files)&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 879px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/91641i24282B42CFE94122/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 15:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960952#M48137</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2025-03-05T15:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960965#M48139</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fit PROC GENMOD" style="width: 160px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105166i9AE3CCB7BB8EE0B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-03-05_12-07-49.png" alt="fit PROC GENMOD" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;fit PROC GENMOD&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 17:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960965#M48139</guid>
      <dc:creator>shl007</dc:creator>
      <dc:date>2025-03-05T17:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960967#M48140</link>
      <description>&lt;P&gt;This is the fitted predicted value from PROC GENMOD (screenshot above). I'm trying to dichotomize it, with the intent to answer questions such as, these levels of factor X (used as a predictor in my model) have a higher predicted value than other levels of factor X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have estimates of the various levels/groups in factor X. So I would like to say which groups in factor X have a higher predicted likelihood.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A purely hypothetical example (keeping this generic) may be, if factor X is state, which states correspond to a higher predicted likelihood or higher predicted percentage per PROC GENMOD. That is why I started down the path of dichotomizing the predicted output variable from PROC GENMOD to compare my yes values there to the actuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since dichotomizing the predicted variable didn't seem to be working, I tried taking the mean of the predicted fitted variable below ("bkt" is the factor variable whose levels I'm interested in describing/comparing/contrasting the predicted fit; "flag" is the actual dichotonomous outcome as a reference variable). The code is still running as I type this so am seeing how it turns out, but I had hoped dichotomizing would have worked.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-03-05_13-17-01.png" style="width: 484px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105167i4CDEDCB169C13B23/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-03-05_13-17-01.png" alt="2025-03-05_13-17-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 18:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960967#M48140</guid>
      <dc:creator>shl007</dc:creator>
      <dc:date>2025-03-05T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960978#M48141</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;This is the fitted predicted value from PROC GENMOD (screenshot above). I'm trying to dichotomize it, with the intent to answer questions such as, these levels of factor X (used as a predictor in my model) have a higher predicted value than other levels of factor X.&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The slopes of the model coefficients will tell you if higher X produces bigger predicted values or not.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 18:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Interpretation/m-p/960978#M48141</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2025-03-05T18:52:01Z</dc:date>
    </item>
  </channel>
</rss>

