Hello Everyone, i have a triangle upper matrix like that: data triangle_upper_matrix;
infile datalines delimiter=',';
input varname $ var1 $ var2 $ var3 $;
datalines;
var1, x11, x12, x13
var2, , x22, x23
var3, , ,x33
;;;
run;
and i want calculate the squared matrix, in order to the value in the lower portion of the matrix, like: data Squared;
infile datalines delimiter=',';
input varname $ var1 $ var2 $ var3 $;
datalines;
var1, x11, x12, x13
var2, x12, x22, x23
var3, x13, x23, x33
;;;
run; any suggests? RESTRICTION: usually i used R but in my situation i havn't and also i don't have proc IML and after that i need to develop the same thing but in a dinamically way with a MACROPROGRAM where the only input is a dataset and without know number of variable and work thank you in advance have a nice day MC
... View more