<?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: Is there another way to invoke the data in SAS/IML other than importing it from an excel file? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628273#M5002</link>
    <description>&lt;P&gt;Any SAS data set can be used in PROC IML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the PROC IML command &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=imlug&amp;amp;docsetTarget=imlug_langref_sect543.htm&amp;amp;locale=en" target="_self"&gt;USE&lt;/A&gt; and the PROC IML command &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=imlug&amp;amp;docsetTarget=imlug_langref_sect406.htm&amp;amp;locale=en" target="_self"&gt;READ&lt;/A&gt; to get the SAS data sets into IML.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 16:38:15 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-02-28T16:38:15Z</dc:date>
    <item>
      <title>Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628267#M5001</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using SAS/IML for few months now. I would like to use different sets of data to undertake some calculations related to Experimental Designs, the only way I am aware of is to import the data from an excel file to be then read into arrays in sas/iml. This way of importing data is making some of the calculations very hard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the different ways of setting the data to be used particularly in SAS/IML.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to save different sets of data in files and call them into SAS/IML. Is that possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 16:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628267#M5001</guid>
      <dc:creator>DJ20</dc:creator>
      <dc:date>2020-02-28T16:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628273#M5002</link>
      <description>&lt;P&gt;Any SAS data set can be used in PROC IML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the PROC IML command &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=imlug&amp;amp;docsetTarget=imlug_langref_sect543.htm&amp;amp;locale=en" target="_self"&gt;USE&lt;/A&gt; and the PROC IML command &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=imlug&amp;amp;docsetTarget=imlug_langref_sect406.htm&amp;amp;locale=en" target="_self"&gt;READ&lt;/A&gt; to get the SAS data sets into IML.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 16:38:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628273#M5002</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-28T16:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628288#M5003</link>
      <description>&lt;P&gt;Is it read and used in a similar way as data from an excel file. Is there any advantages of using the SAS data set?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 18:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628288#M5003</guid>
      <dc:creator>DJ20</dc:creator>
      <dc:date>2020-02-28T18:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628290#M5004</link>
      <description>&lt;P&gt;The advantage of using a SAS data set is that it is not an Excel file. But maybe you have something else in mind?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 18:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628290#M5004</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-28T18:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628300#M5005</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had hope that using a different method to import data will make some calculations easier to tackle.&lt;/P&gt;&lt;P&gt;Right now, first I have to import the data from excel then read and assign each column to an array separately. Is there a way to put the whole data set in a matrix at once?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 18:49:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628300#M5005</guid>
      <dc:creator>DJ20</dc:creator>
      <dc:date>2020-02-28T18:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628303#M5006</link>
      <description>&lt;P&gt;Yes you can read an entire SAS data set into PROC IML as a matrix. Please look at the examples in the documentation that I linked to.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 18:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628303#M5006</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-28T18:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628320#M5007</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to read all the variables into a matrix however I had to read the numerical&amp;nbsp; _NUM_ and character _CHAR_&amp;nbsp; variables separately even though I tried using _ALL_ to print all variable into one matrix but its not working. Are you aware of any reasons that can cause such a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, is it possible to read the headings of the columns from excel as well?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 20:23:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628320#M5007</guid>
      <dc:creator>DJ20</dc:creator>
      <dc:date>2020-02-28T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628323#M5008</link>
      <description>&lt;P&gt;Character variables and numeric variables need to be in separate matrices. In PROC IML, you have to refer to a matrix by its matrix name, I don't think you can refer to specific columns by some other name. So maybe most of the data goes into one matrix, and another part of the data goes into a different matrix, allowing you to have somewhat meaningful matrix names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can change the way matrices are display, to have meaningful column names, but that only affect the display of the matrices and not calculations done with the matrices.&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=imlug&amp;amp;docsetTarget=imlug_workmatrix_sect026.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=imlug&amp;amp;docsetTarget=imlug_workmatrix_sect026.htm&amp;amp;locale=en&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 20:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628323#M5008</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-28T20:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628709#M5015</link>
      <description>&lt;P&gt;Nice one mate. That was very useful. Now my data matrices are looking so much better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you very much,&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 10:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628709#M5015</guid>
      <dc:creator>DJ20</dc:creator>
      <dc:date>2020-03-02T10:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there another way to invoke the data in SAS/IML other than importing it from an excel file?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628718#M5016</link>
      <description>&lt;P&gt;For an overview, see &lt;A href="https://blogs.sas.com/content/iml/2012/01/16/reading-all-variables-into-a-matrix.html" target="_self"&gt;"Reading ALL variables INTO a matrix."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paige said, "&lt;SPAN&gt;I don't think you can refer to specific columns by some other name," but that is not actually correct. You can &lt;A href="https://blogs.sas.com/content/iml/2012/10/01/access-rows-or-columns-of-a-matrix-by-names.html" target="_self"&gt;access rows or columns of a matrix by names.&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;However, maybe what Paige meant is that this feature is not always useful in complex programs, which is an opinion that I agree with.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 10:39:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-there-another-way-to-invoke-the-data-in-SAS-IML-other-than/m-p/628718#M5016</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-03-02T10:39:25Z</dc:date>
    </item>
  </channel>
</rss>

