The Grouped Linear Regression Processor divides the input into several groups, computes and outputs a linear regression model for every group as a row.
The input data should be suitable for regression forecast and contain one grouping column.
The processor has two output ports:
- Linear regression models: provides the result of the linear regression for each group. This includes the intercept and the slope values for each independent variable added to the model.
- Group Optimized Input: a group-optimized data structure identical to the input but suitable for re-grouping in similar processors.
Linear Regression Models
The "Group Optimized Input" Result table (second output) is an organized version of the original data table. The grouping column is sorted in alphabetical order.