<?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 help to make a table of Bad rates with Proc tabulate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95571#M27048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding to Astounding note, and N gives number of records considered and Sum yields number of bad. I use this approach a lot as my customers will almost always ask something like "How many bad?" or "How many records?" when seeing 0 or 100 percent, or some value above/below a theshold of interest, for some group. It heads off follow-up request to provide all 3 up front. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 15:34:04 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-04-04T15:34:04Z</dc:date>
    <item>
      <title>Need help to make a table of Bad rates with Proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95569#M27046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I want to use proc tabluate to make a cross tab of bad rates using a variable bad that is 1 if the observation is bad and 0 otherwise.&amp;nbsp; My sample code is attached. As I see the main issue, I want to treat bad as a class and analysis variable in order to get the sum of the bads and divide by the number of observations.&amp;nbsp; I know I can't do that.&amp;nbsp; I'm sure there is a very elegant way to do this.&amp;nbsp; Many thanks for people's time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Teresa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 21:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95569#M27046</guid>
      <dc:creator>ABanker</dc:creator>
      <dc:date>2013-04-02T21:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to make a table of Bad rates with Proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95570#M27047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not the first person trying to do this the hard way.&amp;nbsp; With a 0/1 variable, make it an analysis variable and calculate the mean.&amp;nbsp; That's the same as the sum of the "bads" divided by the number of observations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 00:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95570#M27047</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-04-03T00:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to make a table of Bad rates with Proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95571#M27048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding to Astounding note, and N gives number of records considered and Sum yields number of bad. I use this approach a lot as my customers will almost always ask something like "How many bad?" or "How many records?" when seeing 0 or 100 percent, or some value above/below a theshold of interest, for some group. It heads off follow-up request to provide all 3 up front. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-to-make-a-table-of-Bad-rates-with-Proc-tabulate/m-p/95571#M27048</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-04-04T15:34:04Z</dc:date>
    </item>
  </channel>
</rss>

