<?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: How to create a frequency table with two variables in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677281#M23778</link>
    <description>&lt;P&gt;You use the * to indicate a "cross" in the tables statement&lt;/P&gt;
&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables RACE * sex_o;
run;&lt;/PRE&gt;
&lt;P&gt;You can use () to compare multiple variables with one or more other groups of variables.&lt;/P&gt;
&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables (RACE othervar) * (sex_o  somevar);
run;&lt;/PRE&gt;
&lt;P&gt;would create tables for race*sex_o, race*somevar, othervar*sex_o and othervar*somevar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 16:20:37 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-08-17T16:20:37Z</dc:date>
    <item>
      <title>How to create a frequency table with two variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677278#M23777</link>
      <description>&lt;P&gt;Hello there!&amp;nbsp;&lt;/P&gt;&lt;P&gt;My instructions were to create a frequency table for race AND sexual orientation showing percent as well as frequency? What am I doing wrong?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables RACE AND sex_o;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Aug 2020 16:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677278#M23777</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-17T16:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a frequency table with two variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677281#M23778</link>
      <description>&lt;P&gt;You use the * to indicate a "cross" in the tables statement&lt;/P&gt;
&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables RACE * sex_o;
run;&lt;/PRE&gt;
&lt;P&gt;You can use () to compare multiple variables with one or more other groups of variables.&lt;/P&gt;
&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables (RACE othervar) * (sex_o  somevar);
run;&lt;/PRE&gt;
&lt;P&gt;would create tables for race*sex_o, race*somevar, othervar*sex_o and othervar*somevar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 16:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677281#M23778</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-17T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a frequency table with two variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677294#M23779</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 16:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-frequency-table-with-two-variables/m-p/677294#M23779</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-17T16:39:45Z</dc:date>
    </item>
  </channel>
</rss>

