Lably
Skip to content

Segmented regression

Concept in statistical mathematics

  • 5 min read
  • 5 chapters

Related on Lably

Through Regression analysis, Dependent and independent variables and Linear regression

Segmented linear regression is segmented regression whereby the relations in the intervals are obtained by linear regression.

Segmented linear regression, two segments

Segmented linear regression with two segments separated by a breakpoint can be useful to quantify an abrupt change of the response function (Yr) of a varying influential factor (x). The breakpoint can be interpreted as a critical, safe, or threshold value beyond or below which (un)desired effects occur. The breakpoint can be important in decision making

The figures illustrate some of the results and regression types obtainable.

A segmented regression analysis is based on the presence of a set of ( y, x ) data, in which y is the dependent variable and x the independent variable.

The least squares method applied separately to each segment, by which the two regression lines are made to fit the data set as closely as possible while minimizing the sum of squares of the differences (SSD) between observed (y) and calculated (Yr) values of the dependent variable, results in the following two equations:

  • Yr = A1.x + K1 for x < BP (breakpoint)
  • Yr = A2.x + K2 for x > BP (breakpoint)

where:

Yr is the expected (predicted) value of y for a certain value of x;
A1 and A2 are regression coefficients (indicating the slope of the line segments);
K1 and K2 are regression constants (indicating the intercept at the y-axis).

The data may show many types or trends, see the figures.

The method also yields two correlation coefficients (R):

  • R12=1−∑(y−Yr)2∑(y−Ya1)2 for x < BP (breakpoint)

and

  • R22=1−∑(y−Yr)2∑(y−Ya2)2 for x > BP (breakpoint)

where:

∑(y−Yr)2 is the minimized SSD per segment

and

Ya1 and Ya2 are the average values of y in the respective segments.

In the determination of the most suitable trend, statistical tests must be performed to ensure that this trend is reliable (significant).

When no significant breakpoint can be detected, one must fall back on a regression without breakpoint.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Statistics