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

Childrens errors are a natural and inevitable part, Childrens errors are a ...

Childrens errors are a natural and inevitable part of their process of learning. In the process of grasping new concepts, children apply their existing understanding, which may

Determinant of an n×n matrix, How can we calculate the Determinant of an N×...

How can we calculate the Determinant of an N×N Matrix?

Calculate the area and circumference of a circle, Calculate the area and ci...

Calculate the area and circumference of a circle: Calculate the area and circumference of a circle with a 3" radius.  Solution: A =      πr2

Example on eulers method, For the initial value problem y' + 2y = 2 - e ...

For the initial value problem y' + 2y = 2 - e -4t , y(0) = 1 By using Euler's Method along with a step size of h = 0.1 to get approximate values of the solution at t = 0.1, 0

Evaluate the measure of the larger angle, Two angles are complementary. The...

Two angles are complementary. The calculate of one angle is four times the measure of the other. Evaluate the measure of the larger angle. a. 36° b. 72° c. 144° d. 18°

Area under curve, w/ You could use this sample code to test your C function...

w/ You could use this sample code to test your C functions // Please make appropriate changes to use this for C++. // Following main function contains 3 representative test cases

Prove that the poset has a unique least element, Prove that the Poset has a...

Prove that the Poset has a unique least element Prove that if (A, ) has a least element, then (A,≤)  has a unique least element. Ans: Let (A, ≤) be a poset. Suppose the po

Help, draw a right angle isosceles triangle with 9 triangles in it

draw a right angle isosceles triangle with 9 triangles in it

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