<?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: Median Output for domain with proc surveymeans in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891869#M352301</link>
    <description>Indeed, I was looking for domainquantiles! Thanks a lot for the answer and the hint.</description>
    <pubDate>Thu, 31 Aug 2023 05:55:30 GMT</pubDate>
    <dc:creator>Steph_C4</dc:creator>
    <dc:date>2023-08-31T05:55:30Z</dc:date>
    <item>
      <title>Median Output for domain with proc surveymeans</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891701#M352246</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to have a sas table with the&amp;nbsp;median output for domains with proc surveymeans.&lt;/P&gt;&lt;P&gt;If I do this for the mean it works perfect like in the exemple:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;proc surveymeans data=sashelp.cars mean;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; var MSRP;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; domain Make;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; ods output statistics=test1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; domain =test2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Replacing the mean with the median i don't get any output sas tables (test1 and test2) anymore. The median results are displayed, but no sas table anymore.&lt;/DIV&gt;&lt;DIV&gt;I think there is another ods output command for doing that, but I can't remember it. (And haven't found it here so far)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can someone help me out?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Steph&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Aug 2023 13:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891701#M352246</guid>
      <dc:creator>Steph_C4</dc:creator>
      <dc:date>2023-08-30T13:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Median Output for domain with proc surveymeans</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891737#M352250</link>
      <description>&lt;P&gt;You can get a list of the output object using Ods trace. Example:(don't forget to turn off or your log gets busy)&lt;/P&gt;
&lt;PRE&gt;ods trace on;
proc surveymeans data=sashelp.cars median;
  var MSRP; 
  domain Make;
run;

ods trace off;&lt;/PRE&gt;
&lt;P&gt;Which shows:&lt;/P&gt;
&lt;PRE&gt;Output Added:
-------------
Name:       Summary
Label:      Data Summary
Template:   Stat.SurveyMeans.Factoid
Path:       Surveymeans.Summary
-------------

Output Added:
-------------
Name:       Statistics
Label:      Statistics
Template:   Stat.SurveyMeans.Statistics
Path:       Surveymeans.Statistics
-------------

Output Added:
-------------
Name:       Quantiles
Label:      Quantiles
Template:   Stat.SurveyMeans.Quantiles
Path:       Surveymeans.Quantiles
-------------

Output Added:
-------------
Name:       DomainQuantiles
Label:      Quantiles for Make Domains
Template:   Stat.SurveyMeans.DomainQuantiles
Path:       Surveymeans.DomainAnalysis.DomainQuantiles
-------------

&lt;/PRE&gt;
&lt;P&gt;So it looks like you want an ODS output for Domainquantiles.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 14:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891737#M352250</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-30T14:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Median Output for domain with proc surveymeans</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891869#M352301</link>
      <description>Indeed, I was looking for domainquantiles! Thanks a lot for the answer and the hint.</description>
      <pubDate>Thu, 31 Aug 2023 05:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-Output-for-domain-with-proc-surveymeans/m-p/891869#M352301</guid>
      <dc:creator>Steph_C4</dc:creator>
      <dc:date>2023-08-31T05:55:30Z</dc:date>
    </item>
  </channel>
</rss>

