subject
Mathematics, 24.12.2019 01:31 kingofguns2826

Given n data points {(xi, yi) : i = , n}, linear regression fits the line y = ax + b to data points by minimizing the square of the distance between the data points and the line. that is, it solves: min a, b n sigma j = 1 (yj - ax3 - b)^2

here we consider an alternative regression model based on rectilinear distance along the y - axis and between two points e = (ex, ey) and f = (fx, fy) as |ey - fy| where ex, fx and ey, fy are the x and y coordinates of the points e and f respectively. note that this distance computes distances between two points only along the y axis (i. e. |ey - fy|) and disregards the distance along the x axis (i. e. |ex - fx|). for example, if e = (3,7) and f = (4,5), the rectilinear distance along y is |ey - fy| = |7 - 5| = 2.

1. formulate a non-linear program to find a line y = ax + b closest (in rectilinear distance along y) to a given set of data points {(xi, yi) : i = n}.
2. reformulate the non-linear program as a linear program to find a line y = ax + b closest (in rectilinear distance along y) to a given set of data points {(xi, yi) : i = n}.
3. what is the optimal solution in the case n = 2?

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 15:20
Beth took out a $20,000 loan for college she is borrowing money from two banks. bank a charges an interest rate of 8.5% bank b charges and interest rate of 10.5% after one year alice owes $1860 in interest how much money did she borrow from bank a
Answers: 3
question
Mathematics, 21.06.2019 15:50
Plz heeeeeeelp plz give me the answer
Answers: 1
question
Mathematics, 21.06.2019 17:30
Adriver from the university of florida women’s swimming and diving team is competing in the in ncaa zone b championships
Answers: 3
question
Mathematics, 21.06.2019 18:40
What value of x is in the solution set of 4x – 12 s 16 + 8x?
Answers: 3
You know the right answer?
Given n data points {(xi, yi) : i = , n}, linear regression fits the line y = ax + b to data point...
Questions
Questions on the website: 13722359