Answered step by step
Verified Expert Solution
Question
1 Approved Answer
% macro yates 3 s ( data , kk , n ) ; / * YATES ALGORITHM TO COMPUTE EFFECTS FOR A THREE - LEVEL
macro yatessdatakkn;
YATES ALGORITHM TO COMPUTE EFFECTS FOR A THREELEVEL EXPERIMENT
data input data step. see example at end for read in
kk power of
number of steps in the Yates Computations
number of variables
n length of data array kk when full factorial, else nfraction or block size
MACRO keeper;
keep do ito &kk; step&i end;
MEND; DATA IS READ INTO cc&n; data yates; set &data; keeper;
put "Data"; DEFINE COLUMN ARRAYS, ONE ADDITIONAL COLUMN FOR YATES STDZ EFECT IS ALLOWED FOR;
array s cc&n
do jto &n;
do ito &kk;
array s&i&n
s&i&j;
end; end;
mend;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started