<?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 do I Identify/Sum the THREE highest values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303397#M64437</link>
    <description>&lt;P&gt;You need some basic array processing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Declare an array&lt;/P&gt;
&lt;P&gt;array ais(*) abd_ais ext_ais .... ; *list of ais vars;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Set to 75 if necessary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If max(of ais(*))&amp;gt;5 then iss=75;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Else sure the 3 largest values - Use LARGEST() function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;else iss = largest(1, of ais(*))**2 + largest(2, of ais(*))**2 + largest(3, of ais(*))**2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Oct 2016 23:49:21 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-08T23:49:21Z</dc:date>
    <item>
      <title>How do I Identify/Sum the THREE highest values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303393#M64433</link>
      <description />
      <pubDate>Tue, 11 Oct 2016 07:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303393#M64433</guid>
      <dc:creator>Bree_Anderson</dc:creator>
      <dc:date>2016-10-11T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Identify/Sum the THREE highest values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303394#M64434</link>
      <description>&lt;P&gt;Are you summing based on rows or columns? It's not clear. Please post what your output would be for sample data and the code you have so far.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 23:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303394#M64434</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-08T23:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Identify/Sum the THREE highest values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303396#M64436</link>
      <description />
      <pubDate>Tue, 11 Oct 2016 07:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303396#M64436</guid>
      <dc:creator>Bree_Anderson</dc:creator>
      <dc:date>2016-10-11T07:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Identify/Sum the THREE highest values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303397#M64437</link>
      <description>&lt;P&gt;You need some basic array processing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Declare an array&lt;/P&gt;
&lt;P&gt;array ais(*) abd_ais ext_ais .... ; *list of ais vars;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Set to 75 if necessary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If max(of ais(*))&amp;gt;5 then iss=75;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Else sure the 3 largest values - Use LARGEST() function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;else iss = largest(1, of ais(*))**2 + largest(2, of ais(*))**2 + largest(3, of ais(*))**2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 23:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-Identify-Sum-the-THREE-highest-values/m-p/303397#M64437</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-08T23:49:21Z</dc:date>
    </item>
  </channel>
</rss>

