<?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 Computing simple Descriptive/Summary stats? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147878#M297545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 36 different datasets and I am in need to&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; compute the entire descriptives such as mean, min,max, standard deviation etc like proc means &lt;STRONG&gt;for all numeric variables&lt;/STRONG&gt; in each dataset and do a&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Boxplot&lt;/STRONG&gt;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;2. Count/ establish frequency for all character variables&amp;nbsp; in each dataset?&lt;/P&gt;&lt;P&gt;3. Route the output to a ODS pdf file format report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the best solution/proc.I seek an expert help in establishing an optimised way to compute without having to write a 36 proc steps, which is rather tedius considering what if i have 100 tables in future. How to loop and macrotise it? An example with a code would be of great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2014 13:34:59 GMT</pubDate>
    <dc:creator>MarkWik</dc:creator>
    <dc:date>2014-12-12T13:34:59Z</dc:date>
    <item>
      <title>Computing simple Descriptive/Summary stats?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147878#M297545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 36 different datasets and I am in need to&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; compute the entire descriptives such as mean, min,max, standard deviation etc like proc means &lt;STRONG&gt;for all numeric variables&lt;/STRONG&gt; in each dataset and do a&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Boxplot&lt;/STRONG&gt;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;2. Count/ establish frequency for all character variables&amp;nbsp; in each dataset?&lt;/P&gt;&lt;P&gt;3. Route the output to a ODS pdf file format report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the best solution/proc.I seek an expert help in establishing an optimised way to compute without having to write a 36 proc steps, which is rather tedius considering what if i have 100 tables in future. How to loop and macrotise it? An example with a code would be of great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 13:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147878#M297545</guid>
      <dc:creator>MarkWik</dc:creator>
      <dc:date>2014-12-12T13:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Computing simple Descriptive/Summary stats?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147879#M297546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the code for one iteration? Do you have a naming convention for your datasets, how do you identify which need to be summarized? &lt;/P&gt;&lt;P&gt;You can search at lexjansen.com for macros that summarize data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 14:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147879#M297546</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-12T14:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Computing simple Descriptive/Summary stats?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147880#M297547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Reeza is correct. Before you "macrotise" a program, you have to have at least 1 working program as a model of the code you want to generate. So the place to start, when you want to "macrotise" a process so it is repeatable is with a working SAS program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; These papers might help you get started using SAS macro variables and writing simple SAS Macro programs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings13/120-2013.pdf" title="https://support.sas.com/resources/papers/proceedings13/120-2013.pdf"&gt;https://support.sas.com/resources/papers/proceedings13/120-2013.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi28/056-28.pdf" title="http://www2.sas.com/proceedings/sugi28/056-28.pdf"&gt;http://www2.sas.com/proceedings/sugi28/056-28.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 14:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147880#M297547</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-12-12T14:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Computing simple Descriptive/Summary stats?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147881#M297548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make a macro contains proc means to get what you need ,then use call execute to go through all of these 36 tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 06:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computing-simple-Descriptive-Summary-stats/m-p/147881#M297548</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-12-14T06:22:34Z</dc:date>
    </item>
  </channel>
</rss>

