I am looking at the relationship between two variables using linear regression (Ordinary least squares method) and would like to compare this relationship between different subpopulations. How can I determine if the differences between regression coefficients are significant. Is ANCOVA the appropriate analysis?
1 Answer
$\begingroup$
$\endgroup$
You can do this by adding a variable that corresponds to the subgroup and then looking at interactions between that variable and the main independent variable.
Suppose, for example, your DV is weight and your IV is height and your two populations are men and women. Then you run a regression:
weight ~ height + sex + height*sex
with sex dummy coded.