<?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: Comparing predicted probabilities in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943083#M47085</link>
    <description>&lt;P&gt;I see. Here are the notes I received:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: A newer version of the NLMEANS macro is available at&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;this location: &lt;A href="http://support.sas.com/" target="_blank" rel="noopener"&gt;http://support.sas.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NOTE: A newer version of the NLESTIMATE macro is available at&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;this location: &lt;A href="http://support.sas.com/" target="_blank" rel="noopener"&gt;http://support.sas.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;WARNING: The final Hessian matrix is not positive definite, and therefore the estimated covariance&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;matrix is not full rank and may be unreliable.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The variance of some parameter estimates is&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;zero or some parameters are linearly related to other parameters.&lt;/P&gt;&lt;P&gt;NOTE: The NLMEANS macro used 1.14 seconds.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Sep 2024 22:01:32 GMT</pubDate>
    <dc:creator>eajanio</dc:creator>
    <dc:date>2024-09-08T22:01:32Z</dc:date>
    <item>
      <title>Comparing predicted probabilities</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943074#M47081</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the lsmeans command with the ilink option to calculate the predicted probability of obtaining the outcome for each combination of categories in my interaction. My question is in regards to interpreting the output. Specifically, can I compare the predicted probabilities using the confidence intervals associated with each value in the "Means" column? And, how does this table differ from the second&amp;nbsp;Differences of txdistanc*AllSVI_ter Least Squares Means table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;"H:\desktop\DataAnalysis" &lt;SPAN&gt;descending&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&amp;nbsp;txdistancetri1 (&lt;SPAN&gt;ref&lt;/SPAN&gt;=&lt;SPAN&gt;'1'&lt;/SPAN&gt;) AllSVI_tert0 (&lt;SPAN&gt;ref&lt;/SPAN&gt;=&lt;SPAN&gt;'1'&lt;/SPAN&gt;) /&lt;SPAN&gt;param&lt;/SPAN&gt;=glm;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;model&lt;/SPAN&gt; totdelaybi = AllSVI_tert0 txdistancetri1 AllSVI_tert0*txdistancetri1 &amp;nbsp;;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lsmeans&lt;/SPAN&gt; AllSVI_tert0*txdistancetri1/&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ilink&lt;/SPAN&gt; diff;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&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="eajanio_0-1725818521310.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100098i9FBF2C55B1835AE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eajanio_0-1725818521310.png" alt="eajanio_0-1725818521310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eajanio_1-1725818562399.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100099i4A8046933F97F778/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eajanio_1-1725818562399.png" alt="eajanio_1-1725818562399.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 18:02:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943074#M47081</guid>
      <dc:creator>eajanio</dc:creator>
      <dc:date>2024-09-08T18:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing predicted probabilities</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943076#M47082</link>
      <description>&lt;P&gt;The Estimate value in the Differences table is the difference in log odds (logits) and the test is a test of that difference. To directly estimate and test the difference in the predicted probabilities, whose estimates are in the Mean column of the first LSMEANS table, you can use the NLMeans macro as shown in &lt;A href="http://support.sas.com/kb/37228" target="_self"&gt;this note&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 19:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943076#M47082</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-09-08T19:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing predicted probabilities</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943077#M47083</link>
      <description>&lt;P&gt;Thank you for your reply. This is helpful. Below is my code and the associated output. Can you please explain how to interpret the table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;"H:\desktop\DataAnalysis" &lt;SPAN&gt;descending&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt; txdistancetri1 (&lt;SPAN&gt;ref&lt;/SPAN&gt;=&lt;SPAN&gt;'1'&lt;/SPAN&gt;) AllSVI_tert0 (&lt;SPAN&gt;ref&lt;/SPAN&gt;=&lt;SPAN&gt;'1'&lt;/SPAN&gt;) /&lt;SPAN&gt;param&lt;/SPAN&gt;=glm;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;model&lt;/SPAN&gt; totdelaybi = AllSVI_tert0 txdistancetri1 AllSVI_tert0*txdistancetri1 &amp;nbsp;;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lsmeans&lt;/SPAN&gt; AllSVI_tert0*txdistancetri1/ &lt;SPAN&gt;ilink&lt;/SPAN&gt; e &lt;SPAN&gt;or&lt;/SPAN&gt; &lt;SPAN&gt;cl&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;store&lt;/SPAN&gt; LogFit;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ods&lt;/SPAN&gt; &lt;SPAN&gt;output&lt;/SPAN&gt; coef=Coeffs;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;NLMeans&lt;/I&gt;&lt;/STRONG&gt;(instore=LogFit, coef=Coeffs, link=logit,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;title=Differences of A Means)&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="eajanio_0-1725824438750.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100100i427B992954CB8D37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eajanio_0-1725824438750.png" alt="eajanio_0-1725824438750.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 19:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943077#M47083</guid>
      <dc:creator>eajanio</dc:creator>
      <dc:date>2024-09-08T19:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing predicted probabilities</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943081#M47084</link>
      <description>The missing standard errors suggest that you might have had model fitting problems. Post the complete PROC LOGISTIC output or better yet, post your input SAS data set.</description>
      <pubDate>Sun, 08 Sep 2024 21:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943081#M47084</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-09-08T21:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing predicted probabilities</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943083#M47085</link>
      <description>&lt;P&gt;I see. Here are the notes I received:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: A newer version of the NLMEANS macro is available at&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;this location: &lt;A href="http://support.sas.com/" target="_blank" rel="noopener"&gt;http://support.sas.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NOTE: A newer version of the NLESTIMATE macro is available at&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;this location: &lt;A href="http://support.sas.com/" target="_blank" rel="noopener"&gt;http://support.sas.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;WARNING: The final Hessian matrix is not positive definite, and therefore the estimated covariance&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;matrix is not full rank and may be unreliable.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The variance of some parameter estimates is&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;zero or some parameters are linearly related to other parameters.&lt;/P&gt;&lt;P&gt;NOTE: The NLMEANS macro used 1.14 seconds.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 22:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943083#M47085</guid>
      <dc:creator>eajanio</dc:creator>
      <dc:date>2024-09-08T22:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing predicted probabilities</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943096#M47086</link>
      <description>That is the log not the output. Show all of the tables produced by proc logistic. But it would be better if you attached the data set that proc logistic ran against so that the results can be replicated.</description>
      <pubDate>Mon, 09 Sep 2024 03:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-predicted-probabilities/m-p/943096#M47086</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-09-09T03:47:04Z</dc:date>
    </item>
  </channel>
</rss>

