proc transpose data=test out=test_o;
by Dependent;
id VarComp;
var Estimate;
run;
data _null_;
set test_o;
put var_family_=;
put var_block_=;
run;
最后日志中显示结果如下:
Var_family_=0.08521
Var_block_=0.03555
NOTE: There were 1 observations read from the data set WORK.TEST_O.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds