<?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 Syntax for exponents in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822170#M34966</link>
    <description>&lt;P&gt;What is the correct syntax for the following calculation (see image)?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-07-07 at 3.15.08 PM.png" style="width: 552px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73041i66C92DA1C80F5C54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-07-07 at 3.15.08 PM.png" alt="Screen Shot 2022-07-07 at 3.15.08 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 22:19:03 GMT</pubDate>
    <dc:creator>_maldini_</dc:creator>
    <dc:date>2022-07-07T22:19:03Z</dc:date>
    <item>
      <title>Syntax for exponents</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822170#M34966</link>
      <description>&lt;P&gt;What is the correct syntax for the following calculation (see image)?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-07-07 at 3.15.08 PM.png" style="width: 552px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73041i66C92DA1C80F5C54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-07-07 at 3.15.08 PM.png" alt="Screen Shot 2022-07-07 at 3.15.08 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 22:19:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822170#M34966</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2022-07-07T22:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for exponents</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822171#M34967</link>
      <description>&lt;P&gt;Use the &lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/lefunctionsref/n0ocutx9jgosdln17xg1z75jmkbv.htm" target="_self"&gt;EXP() function&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 22:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822171#M34967</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-07T22:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for exponents</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822172#M34968</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1-0.9144**(exp(60.69-61.18))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;EXP or CONSTANT('e') function for e&lt;/P&gt;
&lt;P&gt;** for exponential&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 22:31:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822172#M34968</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-07T22:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for exponents</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822334#M34979</link>
      <description>&lt;P&gt;Whoops. I'm getting an "Invalid argument to function" error. What am I doing wrong here?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-07-08 at 11.33.47 AM.png" style="width: 822px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73076i700DF13CDB825DCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-07-08 at 11.33.47 AM.png" alt="Screen Shot 2022-07-08 at 11.33.47 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 18:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822334#M34979</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2022-07-08T18:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for exponents</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822345#M34980</link>
      <description>&lt;P&gt;The number being generated is too large for a computer to represent.&amp;nbsp;E to those exponents in a regular calculator errors out so something is wrong somewhere in your formulas. Guessing units?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 19:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822345#M34980</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-08T19:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for exponents</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822426#M34991</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36911"&gt;@_maldini_&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that there are &lt;EM&gt;two&lt;/EM&gt; errors in your calculation:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Looking at the source of your formula, the&amp;nbsp;&lt;A href="https://www.ahajournals.org/doi/10.1161/01.cir.0000437741.48606.98" target="_blank" rel="noopener"&gt;2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk&lt;/A&gt;, it appears that the "mean" value occurring in the argument of the EXP function is a &lt;SPAN&gt;race- and sex-specific&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;constant&lt;/EM&gt; based on older studies. This is confirmed by the "&lt;SPAN&gt;Calculation Details and Variables" under the online calculator found in &lt;A href="https://www.merckmanuals.com/medical-calculators/ACCAHA2013-ja.htm" target="_blank" rel="noopener"&gt;https://www.merckmanuals.com/medical-calculators/ACCAHA2013-ja.htm&lt;/A&gt;. Only the "individual sum" term is calculated from individual measurements. The formulas for &lt;FONT face="courier new,courier"&gt;ind_sum_blk_f&lt;/FONT&gt; and&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;mean_blk_f&lt;/FONT&gt;&amp;nbsp;in your code, however, show that you calculate both the sum and the mean from the same set of values, which is definitely wrong. According to either of the two sources linked above the relevant mean value (here: for black females) is &lt;FONT face="courier new,courier"&gt;mean_blk_f=&lt;STRONG&gt;86.61&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;I would expect realistic "individual sum" values to be about the same order of magnitude as the constant "mean" values. Note that all continuous measurements (such as cholesterol) are &lt;EM&gt;logarithmized&lt;/EM&gt; in the formula. So, extreme outliers leading to individual sums in the thousands (cf. your 11187, etc.) should be completely impossible and indicate that one or more values used must be "way off," like not logarithmized or having the wrong unit, as Reeza has already suggested.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 09 Jul 2022 10:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-for-exponents/m-p/822426#M34991</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-07-09T10:23:38Z</dc:date>
    </item>
  </channel>
</rss>

