<?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: Why does the dataset I generated with my proc means table look different than my proc means tabl in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917976#M1769</link>
    <description>Thank you so much!!!</description>
    <pubDate>Mon, 26 Feb 2024 22:52:41 GMT</pubDate>
    <dc:creator>wwwckk</dc:creator>
    <dc:date>2024-02-26T22:52:41Z</dc:date>
    <item>
      <title>Why does the dataset I generated with my proc means table look different than my proc means table?</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917974#M1767</link>
      <description>&lt;P&gt;/* FOLLOWING ARE MY CODES */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title "Base salary discrepancy within ranks";&lt;/P&gt;&lt;P&gt;title2 "By Gender";&lt;BR /&gt;PROC MEANS DATA=MD_Data&amp;nbsp; mean;&lt;BR /&gt;VAR 'Base Salary'n;&lt;BR /&gt;CLASS 'Department Name'n Grade Gender;&lt;BR /&gt;output out = PayGap;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The new dataset 'PayGap' looks different from the PROC MEANS table I generated. Why and how to fix it?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 22:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917974#M1767</guid>
      <dc:creator>wwwckk</dc:creator>
      <dc:date>2024-02-26T22:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the dataset I generated with my proc means table look different than my proc means tabl</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917975#M1768</link>
      <description>&lt;P&gt;Because it does &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Different output options can generate differently styled output).&lt;BR /&gt;&lt;BR /&gt;Use the STACKODS option and ODS OUTPUT statement to get a table that looks like the output though. &lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p17h6q7ygvkl1sn13qzf947dundi.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p17h6q7ygvkl1sn13qzf947dundi.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/463737"&gt;@wwwckk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;/* FOLLOWING ARE MY CODES */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title "Base salary discrepancy within ranks";&lt;/P&gt;
&lt;P&gt;title2 "By Gender";&lt;BR /&gt;PROC MEANS DATA=MD_Data&amp;nbsp; mean;&lt;BR /&gt;VAR 'Base Salary'n;&lt;BR /&gt;CLASS 'Department Name'n Grade Gender;&lt;BR /&gt;output out = PayGap;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The new dataset 'PayGap' looks different from the PROC MEANS table I generated.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 22:49:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917975#M1768</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-02-26T22:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the dataset I generated with my proc means table look different than my proc means tabl</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917976#M1769</link>
      <description>Thank you so much!!!</description>
      <pubDate>Mon, 26 Feb 2024 22:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917976#M1769</guid>
      <dc:creator>wwwckk</dc:creator>
      <dc:date>2024-02-26T22:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the dataset I generated with my proc means table look different than my proc means tabl</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917990#M1770</link>
      <description>&lt;P&gt;Because you asked for the DEFAULT output dataset instead of telling the OUTPUT statement what you actually wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should generate a dataset that is much closer.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;output out = PayGap  mean=;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Read the documentation on what the OUTPUT statement can do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are really desperate you could try using ODS OUTPUT statement to snag a copy of the data that the proc used to generate the printed report.&amp;nbsp; But since that was structure designed to be PRINTED and not ANALYZED it will usually require a fair amount of work to make it useful.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 03:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Why-does-the-dataset-I-generated-with-my-proc-means-table-look/m-p/917990#M1770</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-27T03:55:00Z</dc:date>
    </item>
  </channel>
</rss>

