Liner regression, Mathematics

Assignment Help:

Liner Regression

The calculations for our sample size n = 10 are described below. The linear regression model is y = a + bx

Table:

Distance x miles

Time y mins

xy

x2

y2

3.5

16

56.0

12.25

256

2.4

13

31.0

5.76

169

4.9

19

93.1

24.01

361

4.2

18

75.6

17.64

324

3.0

12

36.0

9.0

144

1.3

11

14.3

1.69

121

1.0

8

8.0

1.0

64

3.0

14

42.0

9.0

196

1.5

9

13.5

2.25

81

4.1

16

65.6

16.81

256

Σx = 28.9

Σy = 136

Σxy = 435.3

Σx2 = 99.41

Σy2= 1972

The Slope b =  {(10 * 435.3) - (28.9 * 136)}/ {(10 * 99.41) - (28.9)2} = 2.66

And the intercept a =   {136 - (2.66 * 28.9)}/10 = 5.91

Now we insert these values in the linear model describing as

y = 5.91 + 2.66x Or

Delivery time (mins) = 5.91 + 2.66 delivery distance in miles

The slope of the regression line is the estimated number of minutes per mile required for a delivery. The intercept is the estimated time to prepare for the journey and to deliver the goods that is the time required for each journey other than the actual traveling time.


Related Discussions:- Liner regression

Vector addition, Is it possible to add two vectors of unequal magnitude and...

Is it possible to add two vectors of unequal magnitude and get a resultant of zero?Please explain also. Ans) no it is not possible as .. if the magnitude is diffrent then they c

Tangents with polar coordinates - parametric equations, Tangents with Polar...

Tangents with Polar Coordinates Here we now require to discuss some calculus topics in terms of polar coordinates. We will begin with finding tangent lines to polar curves.

Find out the minimum distance from the origin, Problem 1. Find the maximum...

Problem 1. Find the maximum and the minimum distance from the origin to the ellipse x 2 + xy + y 2 = 3. Hints: (i) Use x 2 + y 2 as your objective function; (ii) You c

If 6 more black balls are put in the box find x, A box contains 12 balls ou...

A box contains 12 balls out of which x are black. If one ball is drawn at random from the box, what is the probability that it will be a black ball? If 6 more black balls are put i

Find a longest common substring - suffix trees, 1. Using suffix trees, give...

1. Using suffix trees, give an algorithm to find a longest common substring shared among three input strings: s 1 of length n 1 , s 2 of length n 2 and s 3 of length n 3 .

Arc Length and Sector Area, how do i find the diameter of a circle if i hav...

how do i find the diameter of a circle if i have the shaded sectors area of 263.76 and the central angle of that circle is 210 degrees?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd