<?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: Estimate Mean Quartiles of Logistic Regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752174#M36583</link>
    <description>I think you want the ESTIMATE or ODDSRATIO statement though I'm drawing a blank on the Q1/Q3 quartile portion of that statement.</description>
    <pubDate>Mon, 05 Jul 2021 23:32:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-07-05T23:32:04Z</dc:date>
    <item>
      <title>Estimate Mean Quartiles of Logistic Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752172#M36582</link>
      <description>&lt;P&gt;I've conducted a multivariable logistic regression to assess the impact of various characteristics (demographics, region, disease) on the continuous outcome- days spent in hospital. I'm interested in looking at the Q1 and Q3 quartile information of the adjusted estimate for each of the cohorts I'm looking at. What is the best way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to find how to add that within the ls means statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc logistic data= data;
class gender race education cancer heart_failure cohort
model days= cohort gender age race cancer heart_failure  education;
lsmeans cohort;
run;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 23:27:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752172#M36582</guid>
      <dc:creator>nyc1989</dc:creator>
      <dc:date>2021-07-05T23:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Estimate Mean Quartiles of Logistic Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752174#M36583</link>
      <description>I think you want the ESTIMATE or ODDSRATIO statement though I'm drawing a blank on the Q1/Q3 quartile portion of that statement.</description>
      <pubDate>Mon, 05 Jul 2021 23:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752174#M36583</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-05T23:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Estimate Mean Quartiles of Logistic Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752284#M36589</link>
      <description>&lt;P&gt;I think you are going to have to export a dataset with all of the predicted values for each observation, and then post-process that dataset (probably with PROC MEANS or SUMMARY) to get the quantile estimates.&amp;nbsp; I suppose my question on this approach would be: why not do that with the raw data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other possibility is to use an option on the LSMEANS statement, with ALPHA=0.25 and CL.&amp;nbsp; That should give the 25th percentile as the lower bound and the 75th percentile as the upper bound.&amp;nbsp; From there you can post-process as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 12:54:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752284#M36589</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-07-06T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Estimate Mean Quartiles of Logistic Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752380#M36594</link>
      <description>&lt;P&gt;Thanks the lsmeans alpha solution worked!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 18:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-Mean-Quartiles-of-Logistic-Regression/m-p/752380#M36594</guid>
      <dc:creator>nyc1989</dc:creator>
      <dc:date>2021-07-06T18:27:25Z</dc:date>
    </item>
  </channel>
</rss>

