Post Reply 
Interpolation Equation
07-09-2024, 11:09 AM
Post: #13
RE: Interpolation Equation
Linear regression line minimize Mean Squared Error (MSE)
For 2 points, it is the same as the secant line. (MSE = 0)

Proof: from secant line, we can get regression line formula.

a * x1 + b = y1      ... (1)
a * x2 + b = y2      ... (2)

(1) * x1 + (2) * x2:

a * (x1²+x2²) + b * (x1+x2) = (y1*x1 + y2*x2)      ... (3)

(1) + (2):

a * (x1+x2) + 2 * b = (y1+y2)      ... (4)

(3) and (4) are exactly n=2 linear regression formula.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Interpolation Equation - MNH - 07-08-2024, 01:23 AM
RE: Interpolation Equation - Namir - 07-08-2024, 01:29 AM
RE: Interpolation Equation - SlideRule - 07-08-2024, 01:33 AM
RE: Interpolation Equation - Thomas Klemm - 07-08-2024, 02:09 PM
RE: Interpolation Equation - Namir - 07-08-2024, 03:00 PM
RE: Interpolation Equation - KeithB - 07-08-2024, 02:43 PM
RE: Interpolation Equation - Gil - 07-08-2024, 06:12 PM
RE: Interpolation Equation - Thomas Klemm - 07-08-2024, 07:32 PM
RE: Interpolation Equation - Gil - 07-08-2024, 07:46 PM
RE: Interpolation Equation - Thomas Klemm - 07-08-2024, 08:13 PM
RE: Interpolation Equation - Thomas Klemm - 07-08-2024, 08:19 PM
RE: Interpolation Equation - PedroLeiva - 07-09-2024, 10:37 AM
RE: Interpolation Equation - Albert Chan - 07-09-2024 11:09 AM
RE: Interpolation Equation - Thomas Klemm - 07-09-2024, 12:13 PM
RE: Interpolation Equation - PedroLeiva - 07-09-2024, 12:22 PM
RE: Interpolation Equation - Thomas Klemm - 07-09-2024, 12:51 PM
RE: Interpolation Equation - PedroLeiva - 07-09-2024, 01:00 PM
RE: Interpolation Equation - Johnh - 07-09-2024, 11:27 PM



User(s) browsing this thread: 2 Guest(s)