<?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: 2x2 Frequency Table - Add Totals in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696282#M212639</link>
    <description>&lt;P&gt;Wouldn't that only get me the number of males and females in dataset?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Nov 2020 17:58:17 GMT</pubDate>
    <dc:creator>amarikow57</dc:creator>
    <dc:date>2020-11-03T17:58:17Z</dc:date>
    <item>
      <title>2x2 Frequency Table - Add Totals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696275#M212636</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS, so this is probably a simple solution. Attached is the PROC CONTENTS of my data and the results from PROC FREQ. Below is the code I used.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=Homework.inpatientAmountoregon;
	table bene_sex_ident_cd*inpatientTotalAmount;
title "Gender Total Payments";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't really care about the frequency within each interval of inpatientTotalAmount. I only want the total payments made for each gender. How would I go about making a 2x2 table to display that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 17:39:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696275#M212636</guid>
      <dc:creator>amarikow57</dc:creator>
      <dc:date>2020-11-03T17:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: 2x2 Frequency Table - Add Totals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696276#M212637</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I only want the total payments made for each gender.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How about this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=Homework.inpatientAmountoregon;
	table bene_sex_ident_cd;
title "Gender Total Payments";
run;&lt;/CODE&gt;&lt;/PRE&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>Tue, 03 Nov 2020 17:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696276#M212637</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-03T17:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: 2x2 Frequency Table - Add Totals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696282#M212639</link>
      <description>&lt;P&gt;Wouldn't that only get me the number of males and females in dataset?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 17:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696282#M212639</guid>
      <dc:creator>amarikow57</dc:creator>
      <dc:date>2020-11-03T17:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: 2x2 Frequency Table - Add Totals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696283#M212640</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=Homework.inpatientAmountoregon;
	table bene_sex_ident_cd;
    weight inpatientTotalAmount;
title "Gender Total Payments";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 18:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696283#M212640</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-03T18:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: 2x2 Frequency Table - Add Totals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696286#M212643</link>
      <description>&lt;P&gt;Yes! I figured out how to do it with PROC SUMMARY too, and the numbers match up. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 18:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/2x2-Frequency-Table-Add-Totals/m-p/696286#M212643</guid>
      <dc:creator>amarikow57</dc:creator>
      <dc:date>2020-11-03T18:18:21Z</dc:date>
    </item>
  </channel>
</rss>

