Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please explain how the function is computed? I know you take the sum of Y starting from 1 minus Beta x 1. Looking

Can someone please explain how the function is computed? I know you take the sum of Y starting from 1 minus Beta x 1. Looking at the bullet points on how the formula is computed I don't see where the 1/2N in front of the E is applied. What does the 1/2N mean ? -

image text in transcribed
Compute J (B) J ( B ) = : 2 N Li=1 (Yi - BX;)2 . B= 2 . Cost = cost for all three data points . Cost for i = 1: (Y; - BX;)2 = (1 - 2(1))2 = (-1)2 = 1 . Cost for i = 2: (Y; - BX;)2 = (2 - 2(2))2 = (-2)2 = 4 . Cost for i = 3: (Y; - BX;)2 = (3 - 2(3) )2 = (-3)2 =9 . Sum inside sigma = 1 + 4 + 9 = 14 Total cost = 14/6

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

Practical Linear Algebra A Geometry Toolbox

Authors: Gerald Farin, Dianne Hansford

3rd Edition

1466579587, 9781466579583

More Books

Students also viewed these Mathematics questions

Question

Describe the statement of changes in stockholders equity.

Answered: 1 week ago

Question

Relax your shoulders

Answered: 1 week ago