<?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: need to perform a large number of proc anova on the same class variable, proc freq for trend as in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/need-to-perform-a-large-number-of-proc-anova-on-the-same-class/m-p/401420#M97386</link>
    <description>&lt;P&gt;1. Create a macro for the procedures, see here:&amp;nbsp;&lt;A href="https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. Capture the results from the ODS tables and store them, see here:&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. Combine ODS output and format for your final results - likely data step and PROC PRINT or REPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS If you're hiring a SAS consultant for programming feel free to email me.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2017 16:09:37 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-10-05T16:09:37Z</dc:date>
    <item>
      <title>need to perform a large number of proc anova on the same class variable, proc freq for trend as well</title>
      <link>https://communities.sas.com/t5/SAS-Programming/need-to-perform-a-large-number-of-proc-anova-on-the-same-class/m-p/401406#M97384</link>
      <description>&lt;P&gt;Dear SAS community&lt;/P&gt;
&lt;P&gt;I have a variable "gene" with 3 possible values (AA, AG, GG). &amp;nbsp; I need to run proc anova to capture the 3 group mean systolic blood pressure (SBP), N of the 3 groups, F value and its P value, (correct for multiple comparison using Turkey) and P values comparing&amp;nbsp;these group means. &amp;nbsp;Would also want to plot the box plots of the 3 groups&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I run this code:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;anova&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;data&lt;/SPAN&gt; = set1;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&amp;nbsp;gene; &lt;SPAN&gt;model&lt;/SPAN&gt;&amp;nbsp;SBP = gene; &lt;SPAN&gt;means&lt;/SPAN&gt;&amp;nbsp;gene&amp;nbsp;/&lt;SPAN&gt;tukey&lt;/SPAN&gt; &lt;SPAN&gt;cldiff&lt;/SPAN&gt;;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But beyond blood pressure I also need to run the same for 200 other continuous variables. &amp;nbsp;Is there a way to generate a table that captures all of the above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also have 50 binary variables that I need to run proc freq for trend against the gene variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts are much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Raymond&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/need-to-perform-a-large-number-of-proc-anova-on-the-same-class/m-p/401406#M97384</guid>
      <dc:creator>rykwong</dc:creator>
      <dc:date>2017-10-05T15:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: need to perform a large number of proc anova on the same class variable, proc freq for trend as</title>
      <link>https://communities.sas.com/t5/SAS-Programming/need-to-perform-a-large-number-of-proc-anova-on-the-same-class/m-p/401420#M97386</link>
      <description>&lt;P&gt;1. Create a macro for the procedures, see here:&amp;nbsp;&lt;A href="https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. Capture the results from the ODS tables and store them, see here:&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. Combine ODS output and format for your final results - likely data step and PROC PRINT or REPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS If you're hiring a SAS consultant for programming feel free to email me.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 16:09:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/need-to-perform-a-large-number-of-proc-anova-on-the-same-class/m-p/401420#M97386</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-05T16:09:37Z</dc:date>
    </item>
  </channel>
</rss>

