s
Last modified 2009-08-25
This spreadsheet produces graphs and tests to explore the nature of a 2-way interaction in regression.
You must first enter the coefficients from the regression equation in the dark blue
Then you must enter the maximum and minimum values for X1 (the IV on the X-axis) in the purple boxes.
Then you must enter the values X2 will take on the different lines in the plot, along with labels for these lines in the
Finally, if you want to obtain tests of whether each simple slope is significant, you must enter the sample size and t
Graphs will appear in the worksheet entitled "Graphs." The middle three values will be used in the 3-line graph.
Estimates of each simple slope coefficient and a test whether it is significantly different from zero will appearin the
X2 Coefficient
X1 Coefficient (IV represented by
Constant (IV on the X-axis) separate lines)
4 6 2
Variance of Variance of
Sample Size X1 Coefficient X1*X2 Coefficient
100 2 0.4
This and other Excel spreadsheets are available at http://www.stat-help.com
X1*X2 Coefficient
-3
12
10
4
Low X2
2
Med X2
0 High X2
-2
-4
-6
-8
-1 1
15
10
5
Very Low X2
Low X2
0
Med X2
High X2
-5 Very High X2
-10
-15
-1 1
eatures of the graphs.