# Adding smoother lines to graphs

## What is a smoother line?

A smoother line is a line that is fitted to the data that helps you explore the potential relationships between two variables without fitting a specific model, such as a regression line or a theoretical distribution. Smoother lines are most useful when the curvature of the relationship does not change sharply. Smoother lines added to graphs are calculated using the lowess smoothing method. Time series plot with smoother lines for each group One smoother line is solid and the other smoother line is dashed.

## What is the lowess smoothing method?

The lowess smoothing method is a common technique for determining a smoothing line. Lowess stands for locally-weighted scatterplot smoother. The routine selects a fraction (default f = 0.5) of all points, using the data closest in x-value on either side of the (x,y) point. For each data point, Minitab does a weighted linear regression, giving points closest to each x-value the most weight in the smoothing and limiting the effect of outliers. You can specify parameters to modify both the degree of smoothing and the effect of outliers. You can also specify the weight of the smoothing parameter. The larger the weights, the more the smoothed values follow the data; the smaller the weights, the less jagged the pattern is in the smoothed values.

## Add a smoother line to a graph

You can add a lowess smoother line to scatterplots, matrix plots, histograms, and time series plots.

1. Right-click the graph and choose Add > Smoother.
2. (Optional) In Degree of smoothing, enter a number between 0 and 1 for the fraction of the total number of points to use to calculate the fitted values at each x-value. The default is 0.5.
3. (Optional) In Number of steps, enter a number from 0 to 10 to specify the number of iterations of smoothing to use to limit the effect of outliers. Each step reduces the weight given to outliers in the next iteration. The default is 2.
4. Click OK.

## Lowess method

The lowess routine calculates a new, smoothed y-value for each x-value.

1. The routine selects a fraction (default f = 0.5) of all points, using the data closest in x-value on either side of the (x,y) point. The selection often results in more points selected from one side of the x-value than the other. The following example shows the fraction of data selected for a given point. The shaded area holds the 0.5 fraction closest to the solid red data point. 2. Minitab calculates weights using the x-distance between each point in the selected fraction and the point to be smoothed:

The following graph shows the relationship between the weights (vertical axis) and the x-values (horizontal axis) for the fraction of selected points. Points closest to each x-value have the greatest weight in the smoothing. 3. Minitab performs a weighted linear regression on all points in the selected fraction of the data, using the weights from step 2 to produce an initial smoothed value.

4. Finally, Minitab limits the influence of outliers on the results by using further iterations (default n = 2) of step 3 (called "robust steps"), with new weights calculated as follows:

By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy