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

Compute the dot product for the equation, Compute the dot product for each ...

Compute the dot product for each of the subsequent equation  (a) v → = 5i → - 8j → , w → = i → + 2j →  (b) a → = (0, 3, -7) , b → = (2, 3,1) Solution (a) v →

Long distance calls cost x cent how much 5-minute call cost, A long distanc...

A long distance calls costs x cents for the first minute and y cents for every additional minute. How much would a 5-minute call cost? The cost of the call is x cents plus y ti

Arithmetic progression., 1.If a+b=2b and ab+cd+ad=3bc,prove that a,b,c,d ar...

1.If a+b=2b and ab+cd+ad=3bc,prove that a,b,c,d are in A.P 2.The nth term of an A.P is an+b.Find the sum of the series upto n terms.

Polynomial time algorithm - first order query, For queries Q 1 and Q 2 , w...

For queries Q 1 and Q 2 , we say Q 1 is contained in Q 2 , denoted Q 1 ⊆ Q 2 , iff Q 1 (D) ⊆ Q 2 (D) for every database D. The container problem for a fixed Query Q 0 i

Derive a linear system - gauss jordan elimination, Suppose that, on a certa...

Suppose that, on a certain day, 495 passengers want to fly from Honolulu (HNL) to New York (JFK); 605 passengers want to fly from HNL to Los Angeles (LAX); and 1100 passengers want

Fractions, a boy is six months old his sister was given birth to three mont...

a boy is six months old his sister was given birth to three month after him. if their cousin is 0.33years old, arrange their ages in ascending order

Draw the digraph for the partial order, 1. Consider the relation on A = {1,...

1. Consider the relation on A = {1, 2, 3, 4} with relation matrix: Assume that the rows and columns of the matrix refer to the elements of A in the order 1, 2, 3, 4. (a)

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