<?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: (execution) Matrix has not been set to a value. in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/704261#M5351</link>
    <description>&lt;P&gt;If the problem is solved, could you mark one of the answers and close the thread? Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 19:36:57 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2020-12-07T19:36:57Z</dc:date>
    <item>
      <title>ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695507#M5306</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         proc iml;
 NOTE: IML Ready
 74         
 75         print 'Question 1';
 76         call randseed(123);
 77         aplha=5;
 78         nvec={250};
 79         num_sim=10000;
 80         
 81         free keep1;
 82         do i=1 to nrow(nvec);
 83         n=nvec[i,];
 84         
 84       !  do j=1 to num_sim;
 85         
 85       !  u=randfun(n,'uniform',0,1);
 86         
 86       !  x=4/((1-u)**(1/alpha));
 87         
 87       !  mme=(mean(x)/(mean(x)-4));
 88         
 88       !  keep1=keep1//(n||num_sim||mme);
 89         
 89       !  end;
 90         end;
 NOTE: Module RANDFUN loaded from the storage SASHELP.IMLMLIB.
 ERROR: (execution) Matrix has not been set to a value.
 
  operation : / at line 86 column 16
  operands  : *LIT1013, alpha
 
 *LIT1013      1 row       1 col     (numeric)
 
          1
 
 alpha      0 row       0 col     (type ?, size 0)
 
 
  statement : ASSIGN at line 86 column 2
 91         
 92         free keep2;
 93         do k=1 to nrow(keep1) by num_sim;
 94         e_mme=mean(keep1[k:k+(num_sim-1),3]);
 95         bias_mme=e_mme-aplha;
 96         var_mme=var(keep1[k:k+(num_sim-1),3]);
 97         mse_mme=var_mme-bias_mme##2;
 98         keep2=keep2//(e_mme||bias_mme||var_mme||mse_mme);
 99         end;
 100        
 101        free results;
 102        results=nvec||keep2;
 103        colnames_keep3='n'||'E[mme]'||'Bias[mme]'||'var[mme]'||'mse[mme]';
 104        print results[colname=colnames_keep3];
 105        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.02 seconds
       user cpu time       0.02 seconds
       system cpu time     0.00 seconds
       memory              2080.78k
       OS Memory           30884.00k
       Timestamp           10/30/2020 03:08:08 PM
       Step Count                        24  Switch Count  0
       Page Faults                       0
       Page Reclaims                     1065
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 106        
 107        
 108        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 120        &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695507#M5306</guid>
      <dc:creator>Hen07</dc:creator>
      <dc:date>2020-10-30T15:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695509#M5307</link>
      <description>&lt;PRE class="language-sas"&gt;&lt;CODE&gt;  operation : / at line 86 column 16
  operands  : *LIT1013, alpha&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this not indicate the problem clearly enough? What is at Line 86, column 16? It is looking for a matrix named ALPHA, which does not exist.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:21:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695509#M5307</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-30T15:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695568#M5308</link>
      <description>&lt;P&gt;You have a typo in the program.&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;aplha=5;&lt;/LI-CODE&gt;
&lt;P&gt;should be&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;alpha=5;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 18:09:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695568#M5308</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-10-30T18:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695640#M5309</link>
      <description>Better post it at IML forum. Maybe you want this :&lt;BR /&gt;&lt;BR /&gt;x=4/((1-u)**(1/alpha));&lt;BR /&gt;--&amp;gt;&lt;BR /&gt;x=4/((1-u)##(1/alpha));</description>
      <pubDate>Sat, 31 Oct 2020 11:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695640#M5309</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-10-31T11:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695641#M5310</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Better post it at IML forum.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Done.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 11:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/695641#M5310</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-31T11:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: (execution) Matrix has not been set to a value.</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/704261#M5351</link>
      <description>&lt;P&gt;If the problem is solved, could you mark one of the answers and close the thread? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 19:36:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/ERROR-execution-Matrix-has-not-been-set-to-a-value/m-p/704261#M5351</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-12-07T19:36:57Z</dc:date>
    </item>
  </channel>
</rss>

