--- title: "Residuals and slopes" slug: "residuals-and-slopes" updated: 2021-04-27T19:00:23Z published: 2021-04-27T19:00:24Z canonical: "userguide.dataclassroom.com/residuals-and-slopes" --- > ## 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. # Residuals and slopes When you have added a regression line to a graph, you can also: - Visualize the residuals from the regression analysis - Visualize the slopes of the equation at each point - Generate additional data columns from the residual and slope values Licensed featureResidual and slope calculations require an [active trial](/v1/docs/accounts-trials-and-licensing) or a purchased license. This page will focus on the residuals. See [this other article about working with slopes (differentials)](/v1/docs/slope-of-the-line-differential). To add these additional features to a regression graph, open the advanced features here: ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1618308945175.png) Then you can select to add **Residuals** and/or **Slopes** to the graph. This example has residuals added: ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1618309127240.png) Residuals are the differences between the values on the regression line, and the actual sample values. Slopes are the slope of the equation line at that X value (i.e. the first differential of the equation). Clicking the "Create new columns from these values" button allows you to generate a new column in your dataset, with the slope and/or residual values, so these can be inspected and plotted.