Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this question, you will find the least-squares line, y = Ax + B through the points (0,3), (1, 2), (4, 3) and (7, 5).

In this question, you will find the least-squares line,

y=Ax+B

through the points

(0,3), (1, 2), (4, 3)

and

(7, 5).

The error (sum of squared errors) is a function ofAandB. State this function. (Give an answer in terms ofAandB.)

E=

We want to find the values ofAandBthat minimize this function. As usual, we do this by calculating partial derivatives and then solving the simultaneous equations that result from setting both derivatives equal to zero. Calculate the partial derivatives. (Give answers in terms ofAandB.)

E
A

=

E
B

=

Set both partial derivatives equal to zero. Rearrange the equation

E
A

= 0

to giveAin terms ofB. A=

Now, substitute the above into the equation

E
B

= 0

and solve forB. (Give an exact numerical answer with no variables. Exact answer means give your answer as a fraction or a terminating decimal, DO NOT round.) B=

Finally, find the value ofA. (Give an exact numerical answer with no variables. Exact answer means give your answer as a fraction or a terminating decimal, DO NOT round.) A=

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Reading, Writing, And Proving A Closer Look At Mathematics

Authors: Ulrich Daepp, Pamela Gorkin

2nd Edition

1441994793, 9781441994790

More Books

Students also viewed these Mathematics questions