Linear regression with 3 evenly spaced points

by broc   Last Updated July 12, 2019 08:19 AM - source

I have a set of three measurements $(x_i, y_i)$ where the x-values are equally spaced. I am interested in extracting the linear slope between these three points (while the intercept has no physical meaning, as there is an unknown offset).

Nevertheless, a least-squares linear fit of these three points would result in the slope being computed simply as $m = \frac{y_3-y_1}{x_3-x_1}$ because $x_2 = \bar{x}$.

Is there any method that include the information from $x_2$ in the computation of the slope?

Tags : regression


Related Questions


Multiple regression, full and restricted model

Updated March 12, 2017 19:19 PM

Models under Regression Analysis list

Updated October 15, 2018 00:19 AM

Fitting polynomial equation and combined effect

Updated November 14, 2018 13:19 PM

Restricted Weighted Linear Regression in R

Updated June 06, 2019 19:19 PM