Help using Base SAS procedures

allocation matrix

Reply
Occasional Contributor
Posts: 17

allocation matrix

Hi,

I am working with IML and I want to obtain a matrix of coefficient by assigning element by element something like this :
%macro cal(arguments);
.
.
.
%do ind=1 %to n;
%do sim=1 %to p;
.
.
.
proc iml;
.
.
.
RVCC[&ind,∼]=trace(s)/sqrt(trace(w**2)*trace(w2**2));
.
.
%end;
%end;
.
.
.
%mend


I have this error : "Matrix RVCC has not been set to a value"

Why do this occur?! Any one can help me?


Sincerly,

Nad
Super Contributor
Super Contributor
Posts: 3,174

Re: allocation matrix

Suggest you re-post in the IML forum.

Scott Barry
SBBWorks, Inc.
Occasional Contributor
Posts: 17

Re: allocation matrix

thanks! I do it !
Ask a Question
Discussion stats
  • 2 replies
  • 105 views
  • 0 likes
  • 2 in conversation