Mathematics
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?

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 19:00, bthakkar25
The following division is being performed using multiplication by the reciprocal find the missing numbers is 5/12 divided by x/3 equals 5/12 times x/10 equals 1/x
Answers: 2
image
Mathematics, 21.06.2019 19:30, tammydbrooks43
Ineed with this problem 21 show steps
Answers: 2
image
Mathematics, 21.06.2019 20:00, guccim5971
Suppose you are an avid reader and are looking to save money on the cost of books instead of paying about $20 for each book, you decide to look into purchasing a kindle for $120 you can purchase e-books for about $5 each 1. find the slope-intercept equation for the cost of the hard copy of books using x to represent the number of books 2. find the slope-intercept equation for the cost of the kindle with cost of e-books using x to represent the number of books
Answers: 1
image
Mathematics, 21.06.2019 21:30, spooderfaxy7813
Rhombus adef is inscribed into a triangle abc so that they share angle a and the vertex e lies on the side bc . what is the length of the side of the rhombus if ab=c, and ac=b.
Answers: 1
Do you know the correct answer?
Given n data points {(xi, yi) : i = , n}, linear regression fits the line y = ax + b to data point...

Questions in other subjects: