Be sure that Minitab knows where to find your downloaded macro. Choose . Under Macro location browse to the location where you save macro files.
If you use an older web browser, when you click the Download button, the file may open in Quicktime, which shares the .mac file extension with Minitab macros. To save the macro, right-click the Download button and choose Save target as.
The design must be balanced and replicated, and the levels of the factors must be numeric, not text. Center points are not allowed.
Suppose the factors are in C1 and C2 and the response is in C3. You want to use a significance level of 0.01.
%ANOM2FACT C3 C1 C2;
ALPHA .01.
Click Run.
What does the line for the interaction show?
If the factors A and B each have 2 levels, then the length of the vertical line for the interaction is the absolute value of the effect of the interaction. In a 2 level design, the effect is twice the coefficient.
How to calculate the endpoints for the interaction line?
Let A1 represent the low level of A and A2 represent the high level of A. Let B1 represent the low level of B and B2 represent the high level of B. Given that the design is replicated at least once, the interaction between A and B can be written as
AB = .5( 1 1 A B + 2 2 A B ) - .5( 1 2 A B + 2 1 A B ), where
1 1 A B is the mean of the response values where A and B are both at the low level.
A B is the mean of the response values where A and B are both at the high level. 1 2 A B denotes the mean response where A is at its low level and B is at its high level. 2 1 A B denotes the mean response where A is at its high level and B is at its low level.
In notation suggested by Ott(1975), the interaction AB can be re-expressed as
AB = ( L - U)
where L = .5( 1 1 A B + 2 2 A B ) is the mean of the response data for the factor combinations where the two factors have the same (Like) subscripts. Therefore, L is the mean of the response data at the Like subscripts.
U = .5( 1 2 A B + 2 1 A B ) is the mean of the response data for the factor combinations where the two factors have different (Unlike) subscripts. Therefore, U is the mean of the response data at the Unlike subscripts.