sir i am having the same problem; I am doing AMMI analysis in SAS. 489 proc iml; NOTE: IML Ready 490 use outres2; 491 read all into reside; 492 ngen=nrow(resid); 493 nenv=ncol(resid); 494 use stats2; 495 read var {mse} into msem; 496 read var {dfe} into dfem; 497 use stats3; 498 read var {nrep} into nrep; 499 call svd (U, L, V, resid); ERROR: (execution) Matrix has not been set to a value. operation : SVD at line 499 column 1 operands : resid resid 0 row 0 col (type ?, size 0) statement : CALL at line 499 column 1 500 minimo=min(ngen,nenv); 501 L=L[1:Minimo,]; ERROR: (execution) Matrix has not been set to a value. operation : [ at line 501 column 4 operands : L, *LIT1004, Minimo, L 0 row 0 col (type ?, size 0) *LIT1004 1 row 1 col (numeric) 1 minimo 1 row 1 col (numeric) 0 statement : ASSIGN at line 501 column 1 502 ss =(L ## 2)*nrep; ERROR: (execution) Matrix has not been set to a value. operation : ## at line 502 column 1 operands : L, *LIT1005 L 0 row 0 col (type ?, size 0) *LIT1005 1 row 1 col (numeric) 2 statement : ASSIGN at line 502 column 1 503 suma=sum(ss); ERROR: (execution) Matrix has not been set to a value. operation : SUM at line 503 column 9 operands : ss SS 0 row 0 col (numeric) statement : ASSIGN at line 503 column 1 504 porcent=((1/suma) # ss)*100; ERROR: (execution) Matrix has not been set to a value. operation : / at line 504 column 12 operands : *LIT1006, suma *LIT1006 1 row 1 col (numeric) 1 suma 0 row 0 col (type ?, size 0) statement : ASSIGN at line 504 column 1 505 porcenta=0; 506 do i=1 to minimo; 507 df=(ngen-1)+(nenv-1)-(2*i-1); 508 dfa=dfa//df; 509 porceacu=porcent[i,]; 510 porcenta=porcenta+porceacu; 511 porcenac=porcenac//porcenta; 512 end; 513 options ps=5000 ls=78 nodate; 514 goptions device=cgmmwwc gsfname=biplot gsfmode=replace; 515 title1 'Analysis of Variance with the adjusted means'; 516 title2 'no corrected by the number of replicates'; NOTE: Exiting IML. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE IML used (Total process time): real time 2:01:53.09 cpu time 1:03.56 its the middle of code, i can send the whole code if needed , please help.
... View more