<?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: Receiving this NOTE: Invalid argument(s) to the exponential operator &amp;quot;**&amp;quot; at line x co in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863185#M340990</link>
    <description>&lt;P&gt;Do you maybe have 0**0 or an overflow problem? They would both cause that note.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1    data _null_ ;
2      x=0**0 ;
NOTE: Invalid argument(s) to the exponential operator "**".
3    run ;


4
5    data _null_ ;
6      x=2**10000 ;
NOTE: Invalid argument(s) to the exponential operator "**".
7    run ;
&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Mar 2023 13:47:44 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2023-03-09T13:47:44Z</dc:date>
    <item>
      <title>Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x column xx.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863175#M340986</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am deriving one variable with exponential operator and receiving this note.How can we rectify this ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data lb;
set _lb;
GFR_CKEPI = 101 * min((LBSTRESN/kappa),1)**alpha * max((LBSTRESN/kappa),1)** -1*(3.209) * 0.88**AgeAtLB * SEX_factor2 * RACEO;&amp;nbsp;
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863175#M340986</guid>
      <dc:creator>sah_biostat</dc:creator>
      <dc:date>2023-03-09T13:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x co</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863185#M340990</link>
      <description>&lt;P&gt;Do you maybe have 0**0 or an overflow problem? They would both cause that note.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1    data _null_ ;
2      x=0**0 ;
NOTE: Invalid argument(s) to the exponential operator "**".
3    run ;


4
5    data _null_ ;
6      x=2**10000 ;
NOTE: Invalid argument(s) to the exponential operator "**".
7    run ;
&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863185#M340990</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-03-09T13:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x co</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863192#M340994</link>
      <description>&lt;P&gt;I guess this is due to big constant number.Can we rectify this?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:17:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863192#M340994</guid>
      <dc:creator>sah_biostat</dc:creator>
      <dc:date>2023-03-09T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x co</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863197#M340997</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/427929"&gt;@sah_biostat&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am deriving one variable with exponential operator and receiving this note.How can we rectify this ?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;data lb;
set _lb;
GFR_CKEPI = 101 * min((LBSTRESN/kappa),1)**alpha * max((LBSTRESN/kappa),1)** -1*(3.209) * 0.88**AgeAtLB * SEX_factor2 * RACEO;&amp;nbsp;
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please, from now on when you have errors in the log, show us the ENTIRE log for this step (DATA step or PROC).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863197#M340997</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-09T14:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x co</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863216#M341005</link>
      <description>&lt;P&gt;What do your values of ALPHA look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you generate this equation with a SAS model procedure? If so, maybe this could be done as scoring data using the information from the model.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863216#M341005</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-03-09T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x co</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863229#M341007</link>
      <description>&lt;P&gt;There is a limit on the largest integer, that varies by OS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;13   data _null_ ;
14     x=constant('big') ;
15     put x= ;
16   run ;

x=1.797693E308
&lt;/PRE&gt;
&lt;P&gt;If your number is bigger that, I think you're out of luck.&amp;nbsp; See e.g.:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/lrcon/9.4/p0ji1unv6thm0dn1gp4t01a1u0g6.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/lrcon/9.4/p0ji1unv6thm0dn1gp4t01a1u0g6.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/quot-Largest-Integer-Represented-Exactly-quot-NOT-Exactly/td-p/619766" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/quot-Largest-Integer-Represented-Exactly-quot-NOT-Exactly/td-p/619766&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863229#M341007</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-03-09T16:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving this NOTE: Invalid argument(s) to the exponential operator "**" at line x co</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863384#M341058</link>
      <description>&lt;P&gt;You most probably have an overflow error. The actual final value may not overflow, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One possibility is to calculate the logarithm of what you want first:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;log_GFR_CKEPI = log(101) +log(min((LBSTRESN/kappa),1))*alpha -log(max((LBSTRESN/kappa),1))+log(3.209) +log(0.88)*AgeAtLB +log(SEX_factor2)+ log(RACEO);
GFR_CKEPI=exp(log_GFR_CKEPI);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;That way, you can do the calculation, even if there is an overflow along the way - you will then only get an error message from the EXP function if the final value overflows.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 08:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Receiving-this-NOTE-Invalid-argument-s-to-the-exponential/m-p/863384#M341058</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2023-03-10T08:49:37Z</dc:date>
    </item>
  </channel>
</rss>

