<?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: approximately equal in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509809#M137108</link>
    <description>&lt;P&gt;Hi Tnks for your kindly reply….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;non so much because i don't have a dimension for the around , the around can be bigger but the only i have ….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I find an around of 75 and I have only one more observation , like 20... my result will be 20....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm clear ? excuse for my english…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tecla&lt;/P&gt;</description>
    <pubDate>Fri, 02 Nov 2018 10:42:53 GMT</pubDate>
    <dc:creator>Tecla1</dc:creator>
    <dc:date>2018-11-02T10:42:53Z</dc:date>
    <item>
      <title>approximately equal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509804#M137105</link>
      <description>&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need to take observation that are not stricly &amp;gt; or &amp;lt; of a number but are&amp;nbsp;nearest of a number … which function i need to use?&lt;/P&gt;&lt;P&gt;Many tnks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tecla&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:17:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509804#M137105</guid>
      <dc:creator>Tecla1</dc:creator>
      <dc:date>2018-11-02T10:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: approximately equal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509806#M137106</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let precision=1.0e-6;

data have;
input x y;
cards;
1 1.0001
1 0.9999
1 1.0000001
1 0.9999999
;
run;

proc sql;
    CREATE TABLE equals AS
    SELECT *
    FROM have
    WHERE abs(x-y)&amp;lt;&amp;amp;precision.;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509806#M137106</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2018-11-02T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: approximately equal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509809#M137108</link>
      <description>&lt;P&gt;Hi Tnks for your kindly reply….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;non so much because i don't have a dimension for the around , the around can be bigger but the only i have ….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I find an around of 75 and I have only one more observation , like 20... my result will be 20....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm clear ? excuse for my english…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tecla&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509809#M137108</guid>
      <dc:creator>Tecla1</dc:creator>
      <dc:date>2018-11-02T10:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: approximately equal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509810#M137109</link>
      <description>&lt;P&gt;You can compute the difference between the two values as absolute percentage of of the lowest/highest value&lt;/P&gt;
&lt;P&gt;and check vs some logical limit/&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:55:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509810#M137109</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-11-02T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: approximately equal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509811#M137110</link>
      <description>&lt;P&gt;OK, this perhaps then ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    CREATE TABLE want AS
    SELECT *
    FROM have
    HAVING abs(x-75)=min(abs(x-75));
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509811#M137110</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2018-11-02T10:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: approximately equal</title>
      <link>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509815#M137111</link>
      <description>&lt;P&gt;TNKS SO MUCH !!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 11:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/approximately-equal/m-p/509815#M137111</guid>
      <dc:creator>Tecla1</dc:creator>
      <dc:date>2018-11-02T11:06:34Z</dc:date>
    </item>
  </channel>
</rss>

