---
title: "Multiple regression lines"
slug: "multiple-regression-lines"
updated: 2026-04-09T13:04:28Z
published: 2026-04-09T13:04:28Z
canonical: "userguide.dataclassroom.com/multiple-regression-lines"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://userguide.dataclassroom.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Multiple regression lines

If your data has been grouped by a categorical Z variable with a regression line added, then each group will have a separate regression line.

![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1618308585974.png)

As you can see, you also get a separate equation and r2 result for each regression.

The colors can be controlled in the **Values** button on the column used for the Z variable.

You can also set the regression lines to have a single common color, see under **Appearance -> Force common color**.

### See also

[Grouping by a Z variable](/v1/docs/grouping-by-a-z-variable)
