<?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 run proc anova and proc freq for trend for a large number of variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401565#M97447</link>
    <description>&lt;P&gt;many thanks to all&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 00:34:58 GMT</pubDate>
    <dc:creator>rykwong</dc:creator>
    <dc:date>2017-10-06T00:34:58Z</dc:date>
    <item>
      <title>need to run proc anova and proc freq for trend for a large number of variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401402#M97382</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:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401402#M97382</guid>
      <dc:creator>rykwong</dc:creator>
      <dc:date>2017-10-05T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: need to run proc anova and proc freq for trend for a large number of variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401545#M97440</link>
      <description>&lt;P&gt;proc anova supports multiple dependents.&amp;nbsp; proc freq supports multiple variables too.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc anova data=sashelp.class;
   class sex;
   model age height weight = sex;
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Oct 2017 22:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401545#M97440</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-10-05T22:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: need to run proc anova and proc freq for trend for a large number of variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401565#M97447</link>
      <description>&lt;P&gt;many thanks to all&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 00:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/need-to-run-proc-anova-and-proc-freq-for-trend-for-a-large/m-p/401565#M97447</guid>
      <dc:creator>rykwong</dc:creator>
      <dc:date>2017-10-06T00:34:58Z</dc:date>
    </item>
  </channel>
</rss>

