<?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: Proc Report (Not getting Min and Mean of same variable) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384878#M91987</link>
    <description>&lt;P&gt;Thank you for sending me the answer. I tried &amp;nbsp;and it worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 08:12:21 GMT</pubDate>
    <dc:creator>Divya_Joseph</dc:creator>
    <dc:date>2017-08-02T08:12:21Z</dc:date>
    <item>
      <title>Proc Report (Not getting Min and Mean of same variable)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384848#M91969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc Report Data=Cars;&lt;BR /&gt;Column MSRP Length;&lt;BR /&gt;Define MSRP/Max;&lt;BR /&gt;Define Length/Min;&lt;BR /&gt;Define Length/Mean;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I got only the Mean of Length variable . I didn't get the Minimum of Length variable. Anyone help me what is the problem of this code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 02:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384848#M91969</guid>
      <dc:creator>Divya_Joseph</dc:creator>
      <dc:date>2017-08-02T02:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report (Not getting Min and Mean of same variable)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384852#M91974</link>
      <description>&lt;P&gt;You need to create aliases. A nice example can be found at:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#n0ldy84v9j7463n1jjkloe7av38c.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#n0ldy84v9j7463n1jjkloe7av38c.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 04:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384852#M91974</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-08-02T04:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report (Not getting Min and Mean of same variable)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384853#M91975</link>
      <description>&lt;P&gt;Since, you want to&amp;nbsp;perform analysis on same column and represent it in 2 separate columns of your report as min and mean, you will have to create aliases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your code should be something like ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc Report Data=Cars;
Column MSRP Length=Length_min Length=Length_mean;
Define MSRP/Max;
Define Length_min/Min;
Define Length_mean/Mean;
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have assumed that MSRP and Length variables are numeric in your dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More information can be found on the&amp;nbsp;SAS documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#n0ldy84v9j7463n1jjkloe7av38c.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#n0ldy84v9j7463n1jjkloe7av38c.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 04:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384853#M91975</guid>
      <dc:creator>subobscure</dc:creator>
      <dc:date>2017-08-02T04:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report (Not getting Min and Mean of same variable)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384878#M91987</link>
      <description>&lt;P&gt;Thank you for sending me the answer. I tried &amp;nbsp;and it worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 08:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Not-getting-Min-and-Mean-of-same-variable/m-p/384878#M91987</guid>
      <dc:creator>Divya_Joseph</dc:creator>
      <dc:date>2017-08-02T08:12:21Z</dc:date>
    </item>
  </channel>
</rss>

