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 17:40
Given f(x)= 9x+1 and g(x)=x^3, choose the expression (f*g)(x)
Answers: 2
question
Mathematics, 21.06.2019 17:40
Find the volume of the described solid.the solid lies between planes perpendicular to the x-axis at x = 0 and x=7. the cross sectionsperpendicular to the x-axis between these planes are squares whose bases run from the parabolay=-31x to the parabola y = 30/x.a) 441b) 147c) 864d) 882
Answers: 1
question
Mathematics, 21.06.2019 20:30
Which steps could be part of the process in algebraically solving the system of equations, y+5x=x^2+10 and y=4x-10
Answers: 2
question
Mathematics, 21.06.2019 21:30
Write an equation of the line that passes through the point (2, 3) and is perpendicular to the line x = -1. a) y = 1 b) y = 3 c) y = 0 eliminate d) y = -3
Answers: 2
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
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Social Studies, 16.09.2020 21:01
question
English, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
English, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
question
Mathematics, 16.09.2020 21:01
Questions on the website: 13722361