<?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: When SAS applies QMETHOD=P2 in PROC MEANS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721705#M223718</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you mean, they either can or can't be affected, is it your point?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards,&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 22:33:11 GMT</pubDate>
    <dc:creator>Phil_NZ</dc:creator>
    <dc:date>2021-02-24T22:33:11Z</dc:date>
    <item>
      <title>When SAS applies QMETHOD=P2 in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721700#M223713</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When running the proc means to a dataset, I face a normal problem that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;WARNING: A shortage of memory has caused the quantile computations to terminate prematurely for QMETHOD=OS. Consider using 
         QMETHOD=P2.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In particular, while all of the summary characteristics work, only median spot the "." in my result with the normal PROC MEANS&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=merge_treat_con n nmiss mean median std min max skew kurt;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1614203750067.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55135i9BD9262BE6F2E781/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_0-1614203750067.png" alt="My97_0-1614203750067.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I use the option&amp;nbsp;&lt;CODE class=" language-sas"&gt;QMETHOD=P2&lt;/CODE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=merge_treat_con n nmiss mean median std min max skew kurt qmethod=p2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_1-1614203846575.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55136i0BEB8F69E71D3068/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_1-1614203846575.png" alt="My97_1-1614203846575.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And a quick comparison between these two Tables of the result, it seems that they only differ in the "median" column, so I deem that option qmethod=p2 only affects the unsolvable column while using proc means without this option, other results would remain the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please let me know if I fell into any fallacy?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 21:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721700#M223713</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-24T21:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: When SAS applies QMETHOD=P2 in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721701#M223714</link>
      <description>QMETHOD affects only the percentiles. So anything related to quartiles or percentiles are affected. In the statistics you've chosen to display that would only be the median but the first and third quartiles would also be affected.</description>
      <pubDate>Wed, 24 Feb 2021 22:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721701#M223714</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-24T22:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: When SAS applies QMETHOD=P2 in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721702#M223715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply, so it also means that the 1st and 99th percentile also been affected, am I correct? Just want to cross-check if it is the case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 22:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721702#M223715</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-24T22:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: When SAS applies QMETHOD=P2 in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721703#M223716</link>
      <description>Yes, they can be affected, they may not be though that's the catch.</description>
      <pubDate>Wed, 24 Feb 2021 22:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721703#M223716</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-24T22:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: When SAS applies QMETHOD=P2 in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721705#M223718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you mean, they either can or can't be affected, is it your point?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards,&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 22:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721705#M223718</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-24T22:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: When SAS applies QMETHOD=P2 in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721711#M223722</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply, so it also means that the 1st and 99th percentile also been affected, am I correct? Just want to cross-check if it is the case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The documentation says:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV class="xis-procStatement"&gt;
&lt;DIV class="xis-procStatementSyntax"&gt;
&lt;DIV class="xis-syntaxDescription"&gt;
&lt;DIV class="xis-optionalArgGroup"&gt;
&lt;DIV id="p18tj2sqwwl2wmn15pnha8y6ri44" class="xis-argDescriptionPair"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryTip"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;When QMETHOD=P2, reliable estimations of some quantiles (P1,P5,P95,P99) might not be possible for some data sets.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 24 Feb 2021 22:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/When-SAS-applies-QMETHOD-P2-in-PROC-MEANS/m-p/721711#M223722</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-02-24T22:55:47Z</dc:date>
    </item>
  </channel>
</rss>

