<?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: a macro to generate summary statistics in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311592#M67390</link>
    <description>sorry about that, I have included a screenshot instead  of the microsoft excel</description>
    <pubDate>Tue, 15 Nov 2016 02:54:36 GMT</pubDate>
    <dc:creator>rykwong</dc:creator>
    <dc:date>2016-11-15T02:54:36Z</dc:date>
    <item>
      <title>a macro to generate summary statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311577#M67382</link>
      <description>&lt;P&gt;Dear SAS communities,&lt;/P&gt;
&lt;P&gt;I need to generate a table of summary statistics like this attached example. &amp;nbsp;Would like to use proc freq for categorical and proc ttest for continuous variables. &amp;nbsp;The flexibility of switching to other procedures such as proc glm or proc npar1way is even better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does any one know of a easy to use MACRO for this purpose (just plug in location of dataset, desired list of variables to compare, class)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks a million!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 01:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311577#M67382</guid>
      <dc:creator>rykwong</dc:creator>
      <dc:date>2016-11-15T01:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: a macro to generate summary statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311581#M67385</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Microsoft-formatted files have a built-in ability to carry unwanted and nefarious payloads.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is very likely that no one will take the risk to look at your excel file.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 04:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311581#M67385</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-11-15T04:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: a macro to generate summary statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311589#M67389</link>
      <description>&lt;P&gt;I have a few, if you email me I can send you one. Not sure it's exactly what you want but should get you started.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also look for papers on lexjansen.com. These are commonly called Table 1 or Table of characteristics.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 02:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311589#M67389</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-15T02:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: a macro to generate summary statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311592#M67390</link>
      <description>sorry about that, I have included a screenshot instead  of the microsoft excel</description>
      <pubDate>Tue, 15 Nov 2016 02:54:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311592#M67390</guid>
      <dc:creator>rykwong</dc:creator>
      <dc:date>2016-11-15T02:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: a macro to generate summary statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311593#M67391</link>
      <description>&lt;P&gt;thanks so much Reeza. &amp;nbsp;but how do I email you, sorry I am new to the SAS communities.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13138i1D387D60FEFC26B6/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Screen Shot 2016-11-14 at 9.52.48 PM.png" title="Screen Shot 2016-11-14 at 9.52.48 PM.png" /&gt;</description>
      <pubDate>Tue, 15 Nov 2016 02:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/311593#M67391</guid>
      <dc:creator>rykwong</dc:creator>
      <dc:date>2016-11-15T02:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: a macro to generate summary statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/312048#M67608</link>
      <description>&lt;P&gt;Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;has instructions on turning SAS data sets into data step code we can run to duplicate your data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your image post shows a p-value then you are apparently doing some test. What test would that be? Do you already have all those values and are just trying to show the table or do you need to generate the statistics and then show a table? If the later then you need to provide a much more detailed description of your existing data and what you are attempting to portray.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 17:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/a-macro-to-generate-summary-statistics/m-p/312048#M67608</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-11-16T17:12:49Z</dc:date>
    </item>
  </channel>
</rss>

