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:30
The label on the car's antifreeze container claims to protect the car between ? 40°c and 125°c. to convert celsius temperature to fahrenheit temperature, the formula is c = 5 over 9 (f ? 32). write and solve the inequality to determine the fahrenheit temperature range at which this antifreeze protects the car. ? 40 > 5 over 9 (f ? 32) > 125; ? 40 > f > 257 ? 40 < 5 over 9 (f ? 32) < 125; ? 40 < f < 257 ? 40 < 5 over 9 (f ? 32); ? 40 < f 5 over 9 (f ? 32) < 125; f < 257
Answers: 2
question
Mathematics, 21.06.2019 19:30
Two corresponding sides of two similar triangles are 3cm and 5cm. the area of the first triangle is 12cm^2. what is the area of the second triangle?
Answers: 1
question
Mathematics, 21.06.2019 23:00
Which point has an coordinates of (2,0) ? a
Answers: 1
question
Mathematics, 21.06.2019 23:30
Write the percent as a fraction or mixed number in simplest form. 0.8%
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, 28.04.2021 20:20
question
Chemistry, 28.04.2021 20:20
question
German, 28.04.2021 20:20
question
Mathematics, 28.04.2021 20:20
question
Chemistry, 28.04.2021 20:20