<?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: error when using randgen in IML in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-when-using-randgen-in-IML/m-p/108197#M810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The NORMALIMIX family was added in SAS/IML 12.1, which shipped with SAS 9.3m2.&lt;/P&gt;&lt;P&gt;To find your version of SAS, look at the top of the SAS Log when you start SAS, or following the instructions in this article: &lt;A href="http://blogs.sas.com/content/iml/2013/08/26/determine-sas-version-at-run-time/" title="http://blogs.sas.com/content/iml/2013/08/26/determine-sas-version-at-run-time/"&gt; Determine the version of SAS software at run time - The DO Loop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 16:45:42 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2013-10-09T16:45:42Z</dc:date>
    <item>
      <title>error when using randgen in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-when-using-randgen-in-IML/m-p/108196#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to generate a random number from a mixture normal distribution but got an error message that the matrices do not conform to the operation. Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc iml;&lt;/P&gt;&lt;P&gt;call randseed(12345);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p = {0.2 0.5 0.3};&amp;nbsp; mu = {0 5 10}; sig = {1 1 2};&lt;/P&gt;&lt;P&gt;call randgen(x, 'NORMALMIX',p,mu,sig); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print x;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:54:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-when-using-randgen-in-IML/m-p/108196#M809</guid>
      <dc:creator>Huiping</dc:creator>
      <dc:date>2013-10-09T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: error when using randgen in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-when-using-randgen-in-IML/m-p/108197#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The NORMALIMIX family was added in SAS/IML 12.1, which shipped with SAS 9.3m2.&lt;/P&gt;&lt;P&gt;To find your version of SAS, look at the top of the SAS Log when you start SAS, or following the instructions in this article: &lt;A href="http://blogs.sas.com/content/iml/2013/08/26/determine-sas-version-at-run-time/" title="http://blogs.sas.com/content/iml/2013/08/26/determine-sas-version-at-run-time/"&gt; Determine the version of SAS software at run time - The DO Loop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 16:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/error-when-using-randgen-in-IML/m-p/108197#M810</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-10-09T16:45:42Z</dc:date>
    </item>
  </channel>
</rss>

