1. Home
  2. Multiple Linear Regression with groups

Multiple Linear Regression with groups

Select menu: Stats | Regression Analysis | Linear Models

The Multiple linear regression with groups downdown list option fits a sequence of models to data values that are classified into groups.

Response variate

Specifies the name of the response (or y-) variate.

Explanatory variates

Specifies the names of the explanatory (or x-) variate to be fitted. If there is more than one explanatory variate, their names must be separated by spaces or commas. Alternatively, you can select the explanatory variables within the Available data list and click the button to copy them across.


Specifies a factor defining the different groups.

For an analysis of parallelism the first model to be fitted is an ordinary multiple linear regression, ignoring the groups. Next the model is extended to include a different constant (or intercept) for each group, giving a set of parallel relationships one for each group. Then, the final model has both a different constant and a different regression coefficients (or slope) for the explanatory variates across the different groups. The list adjacent to the Groups field lets you select between the types of regression model that you want to fit.

Final model

For an analysis of parallelism, if the analysis shows that different intercepts are needed but not different slopes, you can use this option to select the final model and re-run the analysis to remove the interaction between the explanatory variates and the groups factor. Similarly, if different intercepts are not needed this option can be used to fit just the explanatory variates.

See also

Updated on February 1, 2023

Was this article helpful?