<?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: Determining if two categorical variables are the same in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Determining-if-two-categorical-variables-are-the-same/m-p/368548#M87908</link>
    <description>&lt;P&gt;if fruit1 =fruit2 then group = 1;&lt;/P&gt;
&lt;P&gt;else group=2;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 01:11:09 GMT</pubDate>
    <dc:creator>kiranv_</dc:creator>
    <dc:date>2017-06-20T01:11:09Z</dc:date>
    <item>
      <title>Determining if two categorical variables are the same</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-if-two-categorical-variables-are-the-same/m-p/368542#M87905</link>
      <description>&lt;P&gt;I want to determine whether 2 categorical variables are the same. For example, for the dataset below called FRUIT, I want the group variable to be 1 if they are the same (fruit1 and fruit2 are identical) and 2 if they are not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="0" border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;fruit1&lt;/TD&gt;&lt;TD&gt;fruit2&lt;/TD&gt;&lt;TD&gt;group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Apple&lt;/TD&gt;&lt;TD&gt;Apple&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Banana&lt;/TD&gt;&lt;TD&gt;Apple&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Orange&lt;/TD&gt;&lt;TD&gt;Orange&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 00:42:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-if-two-categorical-variables-are-the-same/m-p/368542#M87905</guid>
      <dc:creator>BenBrady</dc:creator>
      <dc:date>2017-06-20T00:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Determining if two categorical variables are the same</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-if-two-categorical-variables-are-the-same/m-p/368548#M87908</link>
      <description>&lt;P&gt;if fruit1 =fruit2 then group = 1;&lt;/P&gt;
&lt;P&gt;else group=2;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 01:11:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-if-two-categorical-variables-are-the-same/m-p/368548#M87908</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-06-20T01:11:09Z</dc:date>
    </item>
  </channel>
</rss>

