<?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: PROC FCMP Warning in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882437#M43215</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;, it is working. Thanks.&lt;/P&gt;&lt;P&gt;It is the same as the normal CDF normal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stepik_0-1687786651205.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85395i01A8AF941C927C48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stepik_0-1687786651205.png" alt="Stepik_0-1687786651205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 13:38:14 GMT</pubDate>
    <dc:creator>Stepik</dc:creator>
    <dc:date>2023-06-26T13:38:14Z</dc:date>
    <item>
      <title>PROC FCMP Warning</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882422#M43213</link>
      <description>&lt;P&gt;Dear team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone explain the next Warning and how it can be resolved inside the PROC FCMP function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N = CDF('NORMALTGAUSS', 1);&lt;/P&gt;&lt;P&gt;R2 = (y*N);&lt;/P&gt;&lt;P&gt;if n='false' and x ne 1 then RA = R2*m;&lt;/P&gt;&lt;P&gt;else...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: The variable 'n' should not be the result of the '=' operation because it is a read-only argument to 'RA'. Any changes&lt;BR /&gt;to this argument will not be returned from 'RA'. Use the OUTARGS statement to allow return values.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 12:34:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882422#M43213</guid>
      <dc:creator>Stepik</dc:creator>
      <dc:date>2023-06-26T12:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FCMP Warning</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882431#M43214</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/443295"&gt;@Stepik&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variable names in SAS are case-insensitive, so &lt;FONT face="courier new,courier"&gt;n&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;N&lt;/FONT&gt; are the same. Most likely you used&amp;nbsp;&lt;FONT face="courier new,courier"&gt;n&lt;/FONT&gt;&amp;nbsp;as an argument (more precisely:&amp;nbsp; a &lt;EM&gt;character&lt;/EM&gt; argument) to function &lt;FONT face="courier new,courier"&gt;RA&lt;/FONT&gt; in the FUNCTION statement, but then you use &lt;FONT face="courier new,courier"&gt;N&lt;/FONT&gt;&amp;nbsp;like a numeric variable to store a probability. Just use a different name for this numeric variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm curious where in the documentation you found a 'NORMALTGAUSS' distribution. Is it different from the 'NORMAL' distribution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hint: It's best practice in the SAS Support Communities to show the &lt;EM&gt;entire&lt;/EM&gt; log of a DATA or PROC step if you get an unexpected note, warning or error. (Use the window opened with the &amp;lt;/&amp;gt; button to preserve formatting of the pasted log text.) In this case we would have seen the FUNCTION statement with the argument &lt;FONT face="courier new,courier"&gt;n&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 13:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882431#M43214</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-06-26T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FCMP Warning</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882437#M43215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;, it is working. Thanks.&lt;/P&gt;&lt;P&gt;It is the same as the normal CDF normal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stepik_0-1687786651205.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85395i01A8AF941C927C48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stepik_0-1687786651205.png" alt="Stepik_0-1687786651205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 13:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-FCMP-Warning/m-p/882437#M43215</guid>
      <dc:creator>Stepik</dc:creator>
      <dc:date>2023-06-26T13:38:14Z</dc:date>
    </item>
  </channel>
</rss>

