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 16:00
Its due ! write an equation in which the quadratic expression 2x^2-2x 12 equals 0. show the expression in factored form and explain what your solutions mean for the equation. show your work.
Answers: 1
question
Mathematics, 21.06.2019 18:30
What is coefficient of the term of degree of degree 5 in the polynomial below
Answers: 1
question
Mathematics, 21.06.2019 19:30
Consider this equation. |y + 6| = 2 what can be concluded of the equation? check all that apply. there will be one solution. there will be two solutions. the solution to –(y + 6) = 2 will be also be a solution to the given absolute value equation. the solution(s) will be the number(s) on the number line 2 units away from –6. the value of y must be positive since the variable is inside absolute value signs.
Answers: 1
question
Mathematics, 21.06.2019 21:30
Ihave a triangle with a 60 degree angle. lets use d for that angle. what are the values of e and f if d is 60 degrees? and what do you notice about the values of e and f?
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
Geography, 16.12.2020 05:10
question
Biology, 16.12.2020 05:10
question
Mathematics, 16.12.2020 05:10
question
Mathematics, 16.12.2020 05:10
question
Mathematics, 16.12.2020 05:10
question
Social Studies, 16.12.2020 05:10
question
Business, 16.12.2020 05:10
Questions on the website: 13722360