You are on page 1of 9

Coefficient of Determination Worksheet Answers

1. An economist is studying the job market in Denver area


neighborhoods. Let x represent the total number of jobs in a given
neighborhood, and let y represent the number of entry level jobs in
the same neighborhood. A sample of six Denver area neighborhoods
gave the following information ( units in hundreds of jobs )
x

16

33

50

28

50

25

a) Draw a scatter diagram


10

(33.67,4 .67)

(20,2.5)

1
0

2
0

3
0

4
0

5
0

b) Complete the table


2

16

256

32

33

1089

99

50

2500

36

300

28

784

25

140

50

2500

81

450

25

625

75

xy

x=202

x 2=7754

y=28

xy=1096

y 2=164

c) Compute r
r=

r=

n xy ( x ) ( y )

( 6 ) ( 1096 )(202)( 28)

=
2

n x ( x ) n y ( y ) ( 6 )( 7754 )( 202 ) ( 6 ) ( 164 )( 28 )


2

65765656
920
920
920
=
=
=
=0.866
4645240804 984784 5648 200 ( 75.15 ) ( 14.14 ) 1062.62

d) Find the least squares equation


x =

b=

x 202
=
=33.67
n
6

y =

y 28
= =4.67
n
6

n xy ( x )( y ) ( 6 ) (1096 )(202)(28) 920


=
=
=0.16
2
2
5648
( 6 ) ( 7754 ) 40804
n x ( x )

a= y b x =4.67 ( 0.16 ) ( 33.67 )=4.675.39=0.72

^y =a+bx

^y =0.72+0.16 x

e) Graph the least squares equation on your scatter diagram. Be sure


to use the point ( x , y ) as one of the points on the line
^y (20 )=0.72+0.16 ( 20 )=0.72+3.2=2.5

** see above

2
f) Find the coefficient of determination r . What percentage of

variation in
x

can be explained by the corresponding variation in

and the least squares line ?

r=0.866

r =0.866 =0.75

75% of variation can be explained


g) For a neighborhood with
entry level ?

x=40

jobs, how many predicted to be

^p=0.72+0.16 x
^p ( 40 )=0.72+0.16 ( 40 )=0.72+6.4=5.7

2. Do heavier cars really use more gasoline ? Suppose a car is chosen at


random. Let x be the weight of the car ( in hundreds of pounds ) and
let y be the miles per gallon. The following information is based on
data taken from Consumer Reports.

a)

27

44

32

47

23

40

34

52

30

19

24

13

29

17

21

14

Draw a scatter diagram

3
0
2
5

(37.38,20 .88)

2
0
1
5

(50,13.3)

1
0

1
0

2
0

3
0

4
0

5
0

b) Complete the table


x

x2

y2

xy

27

30

729

900

810

44

19

1936

361

836

32

24

1024

576

768

47

13

2209

169

611

23

29

529

841

667

40

17

1600

289

680

34

21

1156

441

714

52

14

2704

196

728

x=299

y=167

xy=5814

x =11887

y =3773

c) Compute r
r=

r=

n xy ( x ) ( y )

( 8 )( 5814 )(299)(167)

=
2

n x ( x ) n y ( y ) ( 8 )( 11887 )( 299 ) ( 8 )( 3773 ) ( 167 )


2

4651249933
3421
3421
3421
=
=
=
=0.95
9509689401 3018427889 5695 2295 ( 75.47 )( 47.91 ) 3615.77

d) Find the least squares equation


x =

b=

x 299
=
=37.38
n
8

y =

y 167
=
=20.88
n
8

n xy ( x )( y ) ( 8 ) (5814 )(299)(167) 3421


=
=
=0.60
2
2
5695
( 8 )( 11887 )89401
n x ( x )

a= y b x =20.88(0.60 ) (37.38 )=20.88+22.43=43.31

^y =a+bx

^y =43.310.60 x

e) Graph the least squares equation on your scatter diagram. Be sure


to use the point ( x , y ) as one of the points on the line
** see above graph

^y (50 )=43.310.6 ( 50 )=13.31

2
f) Find the coefficient of determination r . What percentage of

variation in
x

can be explained by the corresponding variation in

and the least squares line ?

r=0.95
2

r =(0.95) =0.9025

90.2 % of the variation can be explained


g) Suppose a car weighs

x=38

( hundred pounds ). What does the


y=

least squares line forecast for

miles per gallon?

^y =a+bx
^y (38)=44.310.60 ( 38 )=44.3122.8=21.51 mpg

3. It is thought that basketball teams that make too many fouls in a game
tend to lose the game even if they otherwise play well. Let x be the
number of fouls that were more than the number of fouls made by the
other team. Let y be the percentage of times the team with the
larger number of fouls won the game.

a)

50

45

33

26

Draw a scatter diagram


(1,47.3)

5
0
4
5
4
0
3
5

(3.25,38 .5)

3
0
2
5
2

b) Complete the table


x

x2

y2

xy

50

2500

45

2025

90

33

25

1089

165

26

36

676

156

x=13

y=154

xy=411

x =65

y =6290

c) Compute r
r=

r=

n xy ( x ) ( y )

=
2

( 4 ) ( 411 )(13)(154)

n x ( x ) n y ( y ) ( 4 ) ( 65 )( 13 ) ( 4 )( 6290 ) ( 154 )
2

16442002
358
358
358
=
=
=
=0.98
260169 2516023716 91 1444 ( 9.54 ) ( 38 ) 362.52

d) Find the least squares equation


x =

x 13
= =3.25
n
4

b=

n xy ( x )( y ) ( 4 )( 411 )(13)(154) 358


=
=
=3.93
91
( 4 )( 65 ) 169
n x 2( x )2

y =

y 154
=
=38.5
n
4

a= y b x =38.5(3.93 )( 3.25 ) =38.5+12.77=51.27


e)

^y =a+bx

^y =51.273.93 x

f) Graph the least squares equation on your scatter diagram. Be sure


to use the point ( x , y ) as one of the points on the line
** see graph above

^y (1 ) =51.273.93 ( 1 )=51.273.93=47.3

2
g) Find the coefficient of determination r . What percentage of

variation in
x

can be explained by the corresponding variation in

and the least squares line ?


r 2=(0.98 )2=0.96

r=0.98

96% of the variation can be explained


h) If a team had x=4 over and above the opposing team, what does
the least squares equation forecast for

y ?

^y =51.273.93 x

^y ( 4 )=51.273.93 ( 4 ) =51.2715.72=35.55

% of the time won the game

4. Let x be per capita income in thousands of dollars. Let y be the


number of medical doctors per 10,000 residents. Six small cities in
Oregon gave the following information about x and y .
x

8.6

9.3

10.1

8.0

8.3

8.7

9.6

18.5

20.9

10.2

11.4

13.1

a) Draw a scatter diagram

2
1

(9.5,17 .81)

1
8
1
5

(8.83,13 . 95)

1
2
9

8.
5

9.
5

1
0

b) Complete the table


x

x2

y2

xy

8.6

9.6

73.96

92.16

82.56

9.3

18.5

86.49

342.25

172.05

10.1

20.9

102.01

436.81

211.09

8.0

10.2

64.0

104.04

81.6

8.3

11.4

68.89

129.96

94.62

8.7

13.1

75.69

171.61

113.97

x=53

y=83.7

x =471.04

y =1276.83

xy=755.89

c) Compute r
r=

r=

n xy ( x ) ( y )

( 6 ) ( 755.89 )(53)(83.7)

n x ( x ) n y ( y ) ( 6 )( 471.04 )( 53 ) ( 6 ) ( 1276.83 )( 83.7 )


2

4535.344436.1
99.24
99.24
99.24
=
=
=
=0.93
106.24
2826.242809 7660.987005.69 17.24 655.29 ( 4.15 ) ( 25.6 )

d) Find the least squares equation

x =

x 53
= =8.83
n
6

b=

n xy ( x )( y ) ( 6 ) (755.89 )(53)(83.7) 99.24


=
=
=5.76
17.24
( 6 )( 471.04 )2809
n x 2( x )2

y =

y 83.7
=
=13.95
n
6

a= y b x =13.95( 5.76 ) ( 8.83 )=13.9550.86=36.91


a)

^y =a+bx

^y =36.91+5.76 x

e) Graph the least squares equation on your scatter diagram. Be sure


to use the point ( x , y ) as one of the points on the line
** see graph above

^y ( 9.5 )=36.91+5.76 ( 9.5 )=17.81

2
f) Find the coefficient of determination r . What percentage of

variation in
x

can be explained by the corresponding variation in

and the least squares line ?

r=0.93

r 2=(0.93)2=0.87

87% of the variation can be explained


g) Suppose a small city in Oregon has a per capita income of 10
thousand dollars. What is the predicted number of doctors per
10,000 residents?
^y =36.91+5.76 x

^y (10 )=36.91+5.76 ( 10 )=36.91+57.6=20.7

You might also like