<?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 List of functions that operate on columns of a matrix in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216635#M2247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I've scanned the SAS/IML® 13.2 User’s Guide (UG) and didn't find a list of of functions that operate on the columns of an NxM array, returning a 1XM vector of results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;So I made this list:&amp;nbsp; CV&amp;nbsp; KURTOSIS&amp;nbsp; MEAN&amp;nbsp; MEDIAN&amp;nbsp; SKEWNESS&amp;nbsp; STANDARD&amp;nbsp; VAR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Did I miss any?&amp;nbsp;&amp;nbsp; Is this list somewhere in the UG?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 15:09:15 GMT</pubDate>
    <dc:creator>stevo642</dc:creator>
    <dc:date>2015-05-18T15:09:15Z</dc:date>
    <item>
      <title>List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216635#M2247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I've scanned the SAS/IML® 13.2 User’s Guide (UG) and didn't find a list of of functions that operate on the columns of an NxM array, returning a 1XM vector of results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;So I made this list:&amp;nbsp; CV&amp;nbsp; KURTOSIS&amp;nbsp; MEAN&amp;nbsp; MEDIAN&amp;nbsp; SKEWNESS&amp;nbsp; STANDARD&amp;nbsp; VAR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Did I miss any?&amp;nbsp;&amp;nbsp; Is this list somewhere in the UG?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 15:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216635#M2247</guid>
      <dc:creator>stevo642</dc:creator>
      <dc:date>2015-05-18T15:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216636#M2248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you are primarily interested in descriptive statistics for each column. You can add the following functions:&lt;/P&gt;&lt;P&gt;COUNTMISS&lt;BR /&gt;COUNTN&lt;BR /&gt;COUNTUNIQUE&lt;BR /&gt;MAD&lt;BR /&gt;QNTL&lt;BR /&gt;QUARTILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, subscript reduction operators enable you to perform columnwise operations:&lt;BR /&gt;SUM via x[+, ];&lt;BR /&gt;PROD via x[#, ];&lt;BR /&gt;MAX via x[&amp;lt;&amp;gt;, ]; &lt;BR /&gt;MIN via x[&amp;gt;&amp;lt;, ]; &lt;BR /&gt;Index of maximum via x[&amp;lt;:&amp;gt;, ];&lt;BR /&gt;Index of minimum via x[&amp;gt;:&amp;lt;, ];&lt;BR /&gt;SSQ via x[##, ];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 12:44:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216636#M2248</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-05-19T12:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216637#M2249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick -- thank you -- great reply -- this is exactly what I'm interested in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I found QNTL last night going through your helpful&lt;STRONG&gt;&lt;A href="http://blogs.sas.com/content/iml/files/2011/10/IMLTipSheet.pdf"&gt; tip sheet&lt;/A&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 13:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216637#M2249</guid>
      <dc:creator>stevo642</dc:creator>
      <dc:date>2015-05-19T13:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216638#M2250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I don't make a mistake, these data step function also could be applied to IML.&lt;/P&gt;&lt;P&gt;Check it at the bottom of IML documentation, you can find them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: xia keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 13:53:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216638#M2250</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-19T13:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216639#M2251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xia -- I'm not sure I understand -- can you provide an example(s)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 15:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216639#M2251</guid>
      <dc:creator>stevo642</dc:creator>
      <dc:date>2015-05-19T15:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216640#M2252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the DATA step function are applied elementwise.&amp;nbsp; For example, if x is a matrix then y=sin(x) returns a matrix of the same size such that y[i,j] = sin(x[i,j]).&amp;nbsp; The OP is asking about functions that operate on each column of an (n x p) matrix and produce a (1 x p) vector of results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 17:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216640#M2252</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-05-19T17:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: List of functions that operate on columns of a matrix</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216641#M2253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick is absolutely right. But there are already some IML version of these function . Like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = {1 0,&lt;/P&gt;&lt;P&gt;2 1,&lt;/P&gt;&lt;P&gt;4 2,&lt;/P&gt;&lt;P&gt;8 3,&lt;/P&gt;&lt;P&gt;16 . };&lt;/P&gt;&lt;P&gt;kurt = kurtosis(x);&lt;/P&gt;&lt;P&gt;print kurt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = {5 1 10,&lt;/P&gt;&lt;P&gt;6 2 3,&lt;/P&gt;&lt;P&gt;6 8 5,&lt;/P&gt;&lt;P&gt;6 7 9,&lt;/P&gt;&lt;P&gt;7 2 13};&lt;/P&gt;&lt;P&gt;mean = mean(x);&lt;/P&gt;&lt;P&gt;print mean;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = {1 3,&lt;/P&gt;&lt;P&gt;2 3,&lt;/P&gt;&lt;P&gt;4 9,&lt;/P&gt;&lt;P&gt;10 0};&lt;/P&gt;&lt;P&gt;med = median(x);&lt;/P&gt;&lt;P&gt;print med;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are all column operation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 13:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/List-of-functions-that-operate-on-columns-of-a-matrix/m-p/216641#M2253</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-20T13:14:26Z</dc:date>
    </item>
  </channel>
</rss>

