<?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 How do I Compare the frequency of values for specific variables from two tables in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/648070#M36034</link>
    <description>&lt;P&gt;I'm a SAS EG user and have limited experience with direct SAS programming. I'm currently using SAS EG version 8.2 Update 1 (8.2.1.1223). I would like to accomplish this project in SAS EG if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables with the same variables and I would like to compare the two tables. Each table has the same 50 variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to compare the frequency of values for 28 of the variables shared between the two tables by showing the total frequency for each value within those variables in each table. Additionally, I would like to see the percent change in those frequencies between the two tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in SAS EG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance is appreciated - Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 15:26:09 GMT</pubDate>
    <dc:creator>runningjay</dc:creator>
    <dc:date>2020-05-15T15:26:09Z</dc:date>
    <item>
      <title>How do I Compare the frequency of values for specific variables from two tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/648070#M36034</link>
      <description>&lt;P&gt;I'm a SAS EG user and have limited experience with direct SAS programming. I'm currently using SAS EG version 8.2 Update 1 (8.2.1.1223). I would like to accomplish this project in SAS EG if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables with the same variables and I would like to compare the two tables. Each table has the same 50 variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to compare the frequency of values for 28 of the variables shared between the two tables by showing the total frequency for each value within those variables in each table. Additionally, I would like to see the percent change in those frequencies between the two tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in SAS EG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance is appreciated - Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 15:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/648070#M36034</guid>
      <dc:creator>runningjay</dc:creator>
      <dc:date>2020-05-15T15:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Compare the frequency of values for specific variables from two tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/648073#M36035</link>
      <description>&lt;P&gt;Yes it's possible. It's not possible to do it in one step though, using EG tasks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create a summary table for table 1 - use a task, store it to a dataset&lt;/P&gt;
&lt;P&gt;2. Create a summary table for table 2 - use a task, store it to a dataset&lt;/P&gt;
&lt;P&gt;3. Merge the two data sets by the common key variable, your category. Use Query Builder here&lt;/P&gt;
&lt;P&gt;4. Create a computed column that will calculate the difference. Either use Query Builder again or modify your code from Step #3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 15:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/648073#M36035</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-15T15:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Compare the frequency of values for specific variables from two tables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/651207#M36124</link>
      <description>&lt;P&gt;Thanks for the insight and the steps on how to do this. I appreciate the help.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 20:05:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-Compare-the-frequency-of-values-for-specific-variables/m-p/651207#M36124</guid>
      <dc:creator>runningjay</dc:creator>
      <dc:date>2020-05-27T20:05:02Z</dc:date>
    </item>
  </channel>
</rss>

