<?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: Simulation using SAS in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442683#M4044</link>
    <description>&lt;P&gt;I regret that I do not know which functions are available&amp;nbsp;in SAS V9.0, which was released&amp;nbsp;in 2002. &lt;A href="https://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-software.html" target="_self"&gt;There have been 12 releases of SAS software since then.&lt;/A&gt;&amp;nbsp; Check your documentation to see if the RANDNORMAL function is available. If not, check whether the VNORMAL call is implemented.&amp;nbsp; If neither exists, use PROC SIMNORMAL in SAS/STAT software.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2018 00:49:07 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2018-03-06T00:49:07Z</dc:date>
    <item>
      <title>Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442681#M4043</link>
      <description>&lt;P&gt;I need to simulate multivariate normal data with sas v 9.0&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 00:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442681#M4043</guid>
      <dc:creator>GehadElsayed123</dc:creator>
      <dc:date>2018-03-06T00:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442683#M4044</link>
      <description>&lt;P&gt;I regret that I do not know which functions are available&amp;nbsp;in SAS V9.0, which was released&amp;nbsp;in 2002. &lt;A href="https://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-software.html" target="_self"&gt;There have been 12 releases of SAS software since then.&lt;/A&gt;&amp;nbsp; Check your documentation to see if the RANDNORMAL function is available. If not, check whether the VNORMAL call is implemented.&amp;nbsp; If neither exists, use PROC SIMNORMAL in SAS/STAT software.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 00:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442683#M4044</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-03-06T00:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442689#M4045</link>
      <description>&lt;P&gt;tanks a lot&amp;nbsp; for your a devices and recommendations&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 01:18:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442689#M4045</guid>
      <dc:creator>GehadElsayed123</dc:creator>
      <dc:date>2018-03-06T01:18:25Z</dc:date>
    </item>
    <item>
      <title>Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442709#M4057</link>
      <description>&lt;P&gt;Are there differences between&amp;nbsp; simulating multivariate data and simulating multivariate control charts ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 02:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442709#M4057</guid>
      <dc:creator>GehadElsayed123</dc:creator>
      <dc:date>2018-03-06T02:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442833#M4058</link>
      <description>&lt;P&gt;They are related. Control&amp;nbsp;charts monitor any stationary process. The control limits for the familiar chart are based on normal errors (variation). Many familiar control charts are univariate, which means that they do not consider correlations between several variables. &lt;A href="http://support.sas.com/documentation/cdl/en/qcug/67522/HTML/default/viewer.htm#qcug_overview_sect010.htm" target="_self"&gt;There are control charts for multivariate processes&lt;/A&gt;, but these are not as popular.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can simulate multivariate data from many distributions. If you simulate from a multivariate normal distribution, then the data satisfies the assumptions behind many control charts.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 11:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/442833#M4058</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-03-06T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443088#M4059</link>
      <description>&lt;P&gt;I do this code and find this error , i use SAS V9.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 22:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443088#M4059</guid>
      <dc:creator>GehadElsayed123</dc:creator>
      <dc:date>2018-03-06T22:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443090#M4060</link>
      <description>&lt;P&gt;You're likely not using SAS 9.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run the following and post the version of IML and SAS that you're using.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's also helpful if you include the code and log directly in your post rather than as an attachment, as below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;50   proc iml;
NOTE: IML Ready
51   meu={0 0 0};
52   cov={1 0 0,
53        0 1 0,
54        0 0 1};
55        N=1;
56        NumSample=100;
57
58
59       call vnormal(meu,cov,N);
&lt;STRONG&gt;ERROR: Cannot process data matrix. Data should be a vector.&lt;/STRONG&gt;
&lt;STRONG&gt;ERROR: Execution error as noted previously. (rc=100)&lt;/STRONG&gt;

 operation : VNORMAL at line 59 column 5
 operands  : cov, N

cov      3 rows      3 cols    (numeric)

         1         0         0
         0         1         0
         0         0         1

N      1 row       1 col     (numeric)

         1

 statement : CALL at line 59 column 5
60
61   run;
NOTE: Module MAIN is undefined in IML; cannot be RUN.
61 !     quit;
NOTE: Exiting IML.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IML used (Total process time):
      real time           0.37 seconds
      cpu time            0.03 seconds


&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Mar 2018 22:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443090#M4060</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-06T22:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443091#M4061</link>
      <description>&lt;P&gt;From the most recent documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;H3 class="xis-title"&gt;VNORMAL Call&lt;/H3&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN class=" aa-function"&gt;CALL VNORMAL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(series, mu, sigma, n &amp;lt;, seed&amp;gt; );&lt;/P&gt;
&lt;P&gt;The VNORMAL subroutine generates a multivariate normal random series.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;This function is deprecated.&lt;/STRONG&gt;&lt;/FONT&gt; Instead, you should use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="ng-scope" tabindex="0" href="http://documentation.sas.com/?docsetId=imlug&amp;amp;docsetTarget=imlug_langref_sect375.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" rel="nofollow" data-docset-id="imlug" data-docset-version="14.3" data-original-href="imlug_langref_sect375.htm"&gt;RANDNORMAL function&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to generate random values. The RANDNORMAL function calls the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="ng-scope" tabindex="0" href="http://documentation.sas.com/?docsetId=imlug&amp;amp;docsetTarget=imlug_langref_sect337.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" rel="nofollow" data-docset-id="imlug" data-docset-version="14.3" data-original-href="imlug_langref_sect337.htm"&gt;RANDGEN subroutine&lt;/A&gt;, which has excellent statistical properties. Consequently, the RANDNORMAL function is preferred when you need to generate millions of random numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, this works for me. Note the first parameter is not MU, it's the output series.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
meu={0 0 0};
cov={1 0 0,
     0 1 0,
	 0 0 1};
	 N=1;
	 NumSample=100;


	call vnormal(out, meu,cov,N);
    print(out);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But you should switch to the&amp;nbsp; newer versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link to documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=imlug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=imlug_langref_sect531.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=imlug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=imlug_langref_sect531.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 22:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443091#M4061</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-06T22:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443137#M4062</link>
      <description>&lt;P&gt;i need to know how&amp;nbsp; can&amp;nbsp; simulate multivariate control charts with SAS v 9.00&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 01:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443137#M4062</guid>
      <dc:creator>GehadElsayed123</dc:creator>
      <dc:date>2018-03-07T01:29:22Z</dc:date>
    </item>
    <item>
      <title>Simulation using SAS</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443146#M4063</link>
      <description>&lt;P&gt;&lt;SPAN&gt;i need to know how&amp;nbsp; can&amp;nbsp; simulate multivariate control charts with SAS v 9.00&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 01:49:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Simulation-using-SAS/m-p/443146#M4063</guid>
      <dc:creator>GehadElsayed123</dc:creator>
      <dc:date>2018-03-07T01:49:34Z</dc:date>
    </item>
  </channel>
</rss>

