Solved – General linear model with interaction term in SPSS

ancovainteractionlinear modelregressionspss

Following my question here, I will be most grateful for further assistance to clear my confusion.

The confusion is because I have read in many places that when you use ANCOVA in GLM (in SPSS), the effect of the covariate is controlled. I am unsure why it should be controlled in my case below (unless I am wrongly interpreting what a 'covariate' means). Or using the wrong test!

Question 1

What is the best method to analyse the following problem in SPSS?

I am looking at how the relationship between A and B behaves or differs based on gender. In other words, how does gender impact on the relationship between A and B. A and B are interval variables. A is the independent and B is the dependent variable. Gender, of course, is a categorical variable. (The nature of the variables, as I understand it, makes factorial ANOVA inappropriate, leading to a choice of ANCOVA for this example.)

My understanding is that B goes in the dependent variable box, gender goes in the factor box and A goes in the covariate box in SPSS GLM (univariate).

Question 2

*****What does the interaction mean?****

I understand I can get an interaction between A and gender, which then means that A and gender have a joint effect on B. If this is significant, does it mean that gender affects the relationship between A and B.

Question 3

Should I look at the effect of A and gender separately or only focus on the interaction between A and gender?

I am very new to GLM and it is fascinating (if I can get it right!).

Best Answer

Be sure that you added the interaction term (and the main effects) in the Model subdialog and parameter estimates in the Options subdialog. With just one covariate and one dichotomous categorical variable, you are just estimating two separate regression lines. If there is no interaction term, the lines are parallel. the gender=0 * A and gender=1*A terms tell you the two slopes (assuming gender is coded 0/1) The Test of Between-Subject effects tells you whether the interaction is significant.

If you haven't already done so, look in Case Studies>GLM for a short tutorial on how it works and how to interpret the output. That's no substitute for a real textbook, but it's a good quick start.

Related Question