<?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 match COMPGED scores to 100 or less? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767264#M243226</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/397532"&gt;@Smile1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess you do not have any COMPGED costs below (ore equal to) 100.&lt;/P&gt;
&lt;P&gt;Please check for minimal 'similarity' value after running your PROC SQL without the where clause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or maybe you need some COMPGED modifiers (to ignore case, to remove blanks, to remove quotation marks during / before comparison).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there are WARNINGs or ERRORs in your LOG, please publish your LOG in this thread.&lt;BR /&gt;Make use of the Insert Code icon &amp;lt;/&amp;gt; in the toolbar and paste your LOG in the pop-up window. That way the LOG preserves structure and formatting (and some colors).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sun, 12 Sep 2021 16:11:34 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2021-09-12T16:11:34Z</dc:date>
    <item>
      <title>How to match COMPGED scores to 100 or less?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767252#M243223</link>
      <description>&lt;P&gt;Hi~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To match&amp;nbsp;COMPGED scores to 100 or less, I used compged function as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;libname proj "D:\SASWORK";&lt;BR /&gt;proc sql; *evaluate name similarity with score 0~100;&lt;BR /&gt;create table nameexample&lt;BR /&gt;as select *, compged (lender, mgrname) as similarity&lt;BR /&gt;from proj.periodexample&lt;BR /&gt;where calculated similarity le 100;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no problem from line 1 to 5.&lt;/P&gt;&lt;P&gt;However, when I add 'where calculated similarity le 100;', I can't get the result.&lt;/P&gt;&lt;P&gt;The log message is as follows :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=========================================================&lt;/P&gt;&lt;P&gt;Note : Table WORK.NAMEEXAMPLE created, with 0 rows and 11 columns.&lt;/P&gt;&lt;P&gt;=========================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate it if anyone could give me a help.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 13:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767252#M243223</guid>
      <dc:creator>Smile1</dc:creator>
      <dc:date>2021-09-12T13:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to match COMPGED scores to 100 or less?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767264#M243226</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/397532"&gt;@Smile1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess you do not have any COMPGED costs below (ore equal to) 100.&lt;/P&gt;
&lt;P&gt;Please check for minimal 'similarity' value after running your PROC SQL without the where clause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or maybe you need some COMPGED modifiers (to ignore case, to remove blanks, to remove quotation marks during / before comparison).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there are WARNINGs or ERRORs in your LOG, please publish your LOG in this thread.&lt;BR /&gt;Make use of the Insert Code icon &amp;lt;/&amp;gt; in the toolbar and paste your LOG in the pop-up window. That way the LOG preserves structure and formatting (and some colors).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 16:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767264#M243226</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-09-12T16:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to match COMPGED scores to 100 or less?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767515#M243337</link>
      <description>&lt;P&gt;Note: The main advantage of COMPGED is the ability to modify the costs of edit operations by calling CALL COMPCOST prior to calling the COMPGED function. But you can't do that in SQL... so you might be better using the COMPLEV function instead. It is faster and the results are easier to understand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;complev (lender, mgrname) le 2;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 18:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767515#M243337</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2021-09-13T18:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to match COMPGED scores to 100 or less?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767629#M243393</link>
      <description>Hi Koen,&lt;BR /&gt;&lt;BR /&gt;Thank you so much for your help! I added modifier 'I' as you advised.&lt;BR /&gt;I coded as below and my sas program was finally working. Thank you so much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;==========================================&lt;BR /&gt;libname proj "D:\SASWORK";&lt;BR /&gt;proc sql; *evaluate name similarity with score 0~100;&lt;BR /&gt;create table nameexample&lt;BR /&gt;as select *, compged (lender, mgrname, 'I') as similarity&lt;BR /&gt;from proj.periodexample&lt;BR /&gt;where calculated similarity le 100;&lt;BR /&gt;quit;&lt;BR /&gt;==========================================</description>
      <pubDate>Tue, 14 Sep 2021 08:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767629#M243393</guid>
      <dc:creator>Smile1</dc:creator>
      <dc:date>2021-09-14T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to match COMPGED scores to 100 or less?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767630#M243394</link>
      <description>Thank you for your advice, PG. Now, my COMPGED function is working. I will try to use COMPLEV function as well sooner or later.&lt;BR /&gt;&lt;BR /&gt;Thanks, have a wonderful day! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 14 Sep 2021 08:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-match-COMPGED-scores-to-100-or-less/m-p/767630#M243394</guid>
      <dc:creator>Smile1</dc:creator>
      <dc:date>2021-09-14T08:43:44Z</dc:date>
    </item>
  </channel>
</rss>

