Power Transformations
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: ADXTRANS */
/* TITLE: Power Transformations */
/* PRODUCT: QC */
/* SYSTEM: ALL */
/* KEYS: Design of Experiments, */
/* PROCS: */
/* DATA: */
/* */
/* REF: SAS/QC Software: Examples */
/* MISC: ADX Macros are stored in the AUTOCALL library */
/* */
/****************************************************************/
options ps=55 ls=78;
%adxgen;
%adxinit
proc factex;
factors len amp load / nlev=3;
output out=yarn len nvals=(250 300 350)
amp nvals=( 8 9 10)
load nvals=( 40 45 50);
run;
%adxrprt(yarn,failcyc,seed=67890)
proc sort;
by len amp load;
data yarn;
set yarn;
input failcyc @@;
cards;
674 370 292 338 266 210 170 118 90 1414 1198 634 1022 620
438 442 332 220 3636 3184 2000 1568 1070 566 1140 884 360
;
%adxcode(yarn,yarn,len amp load)
%adxqmod(yarn,yarn,len amp load,1)
%adxtrans(yarn,tranyarn,failcyc)