<?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: Multiple Variables in PROC FREQ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452055#M114047</link>
    <description>&lt;P&gt;Can you demostrate in a table what do you mean?&lt;/P&gt;
&lt;P&gt;Please post a sample data and the frequency table you want to achive.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2018 19:01:28 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2018-04-06T19:01:28Z</dc:date>
    <item>
      <title>Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452053#M114046</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to create a table displaying the frequencies of multiple variables compared to one variable using PROC FREQ? I'm using SAS 9.4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brittany Coote&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 18:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452053#M114046</guid>
      <dc:creator>bcoote</dc:creator>
      <dc:date>2018-04-06T18:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452055#M114047</link>
      <description>&lt;P&gt;Can you demostrate in a table what do you mean?&lt;/P&gt;
&lt;P&gt;Please post a sample data and the frequency table you want to achive.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:01:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452055#M114047</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-04-06T19:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452062#M114051</link>
      <description>&lt;P&gt;Do you mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=have;
    tables x*y;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452062#M114051</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-06T19:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452064#M114052</link>
      <description>&lt;P&gt;Are you looking for something like?:&lt;/P&gt;
&lt;PRE&gt;proc freq data=sashelp.class;
  tables sex*(age height weight);
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:14:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452064#M114052</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-04-06T19:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452072#M114053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This table illustrates what I would like to display.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452072#M114053</guid>
      <dc:creator>bcoote</dc:creator>
      <dc:date>2018-04-06T19:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452076#M114056</link>
      <description>&lt;P&gt;That is the format I am using, but I am trying to avoid having to do it for multiple variables. Is there a way to just compare multiple variables to one variable via frequencies?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:32:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452076#M114056</guid>
      <dc:creator>bcoote</dc:creator>
      <dc:date>2018-04-06T19:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452092#M114060</link>
      <description>&lt;P&gt;The following code uses a data set you should have available. It does something similar to what you show but with out example input data it isn't obvious whether we need to sum something or are using counts. Run this and see if the results are at all like what you want.&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=sashelp.cars;
   class make ;
   class type;
   class origin;
  tables type origin,
         (all='All makes' make)*( colpctn n)
         ;
run;&lt;/PRE&gt;
&lt;P&gt;There are options and things that can change things like row or column headings, formats of values shown. ODS style choices or overrides in the code can remove cell boundaries, change background/foreground colors, fonts and lots of stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 20:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/452092#M114060</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-06T20:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/532331#M145860</link>
      <description>&lt;P&gt;Is there a way to have an statement similar to this one come up with only one table rather than multiple tables? kind of like a demographics table comparing 2 different population (i.e. Smokers and Non Smokers).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 23:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/532331#M145860</guid>
      <dc:creator>aespinarey</dc:creator>
      <dc:date>2019-02-02T23:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/532431#M145890</link>
      <description>&lt;P&gt;Yes there is, but post your question in a new thread as this one is already closed. Plus, in the new thread you post, include some sample data (in the form of a datastep), as well as what you want the output to look like.&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>Sun, 03 Feb 2019 17:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/532431#M145890</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2019-02-03T17:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Variables in PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/599716#M173171</link>
      <description>&lt;P&gt;How do I get 2 variables and 1 column of frequency (called number of subjects) into a table?&amp;nbsp; Right now, I have the variables ID and&amp;nbsp; site and I need number of patients without the frequency heading.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the table would be&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; Site&amp;nbsp; &amp;nbsp; &amp;nbsp;number of patients (given by freqency)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 03:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Variables-in-PROC-FREQ/m-p/599716#M173171</guid>
      <dc:creator>heatherjae15</dc:creator>
      <dc:date>2019-10-28T03:01:06Z</dc:date>
    </item>
  </channel>
</rss>

