you are right, I am here trying to find the eigenvalues of a correlation matrix which is 179*14 matrix. Tried running following command as you said, but got same errors. proc princomp data=THC; run; /* 95% confidence intervals for the first to fifth eigenvalues */ proc iml; reset print; R=corr(THC); eig=eigval(R); E=eigvec(R); alpha=0.05; zright=quantile("Normal", 1-alpha/2); CI_1_lower=eig[1]/(1+zright*sqrt(2/179)); CI_1_upper=eig[1]/(1-zright*sqrt(2/179)); CI_2_lower=eig[2]/(1+zright*sqrt(2/179)); CI_2_upper=eig[2]/(1-zright*sqrt(2/179)); CI_3_lower=eig[3]/(1+zright*sqrt(2/179)); CI_3_upper=eig[3]/(1-zright*sqrt(2/179)); CI_4_lower=eig[4]/(1+zright*sqrt(2/179)); CI_4_upper=eig[4]/(1-zright*sqrt(2/179)); CI_5_lower=eig[5]/(1+zright*sqrt(2/179)); CI_5_upper=eig[5]/(1-zright*sqrt(2/179)); ERROR: (execution) Matrix has not been set to a value. operation : CORR at line 75 column 7 operands : THC THC 0 row 0 col (type ?, size 0) statement : ASSIGN at line 75 column 1 76 77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 89
... View more