Data defines the model by dint of genetic programming, producing the best decile table.


SAS Code for Reshaping 3x5 Dataset into 5x3 Dataset
Bruce Ratner, PhD. 
Live chat by Boldchat
Live chat by Boldchat




data IN;
input name $ x1 - x4;
cards;
AR 12 23 34 45
BR 21 32 43 54
CR 09 98 87 76
;
run;

proc
print;
title2 ' input IN ';
run;

proc transpose data=IN out=IN_transposed;
var x1 - x4;
id name;
run;

proc print data=IN_transposed;
title2 ' IN_transposed ';
run;

data IN_transposed;
set    IN_transposed;
rename _NAME_ = Variable;

proc print data=IN_transposed;
title2 ' IN_transposed with Variable name ';
run;


For more information about this article, call Bruce Ratner at 516.791.3544 or 1 800 DM STAT-1; or e-mail at br@dmstat1.com.
Sign-up for a free GenIQ webcast: Click here.