You are on page 1of 4

Tugas Kelompok ke-4

(Minggu 10 / Sesi 14)

SIMPLE LINEAR REGRESSION

1. Given are five observations for two variables, x and y

a. Develop a scatter diagram for these data


b. What does the scatter diagram developed in part (a) indicate about the relationship
between the two variabkes?
Jawab :

a.

b. Terjadi hubungan linier positif antara X dan Y.

2. Given are five observations collected in a regression study on two variables

a. Develop a scatter diagram for these data


b. Develop the estimated regression equation for these data
c. Use the estimated regression equation to predict the value of y when x = 4

STAT 6111- Statistic


d. Develop a scatter diagram for these data
Jawab:

e. Develop the estimated regression equation for these data

i X Y XY X^2

1 2 7 14 4

2 6 18 108 36

3 9 9 81 81

4 13 26 338 169

5 20 23 460 400

Jumlah 50 83 1001 654

b0 =[ΣXY – (ΣX) (ΣY) / n] / [ΣX^2 – (ΣX)^2 / n]

=[1001-(50)(83)/5]/[654-50^2/5]

=[1001-830]/[654-500]

STAT 6111- Statistic


=171/154

=1.11

b1 = Y¯ – bX¯

= 83/5 – 1.11(50/5)

= 16.6 – 11.1

= 5.5

f. Use the estimated regression equation to predict the value of y when x = 4


Y = b1 + bX

= 5.5 + 1.11(4)

= 1.06

3. The following data are the monthly salaries y and the grade point averages x for
students who obtained a bachelor’s degree in business administration with a major in
information systems. The estimated regression equation for these data is

a. Compute the coefficient of determination r2.


b. What is the value of the sample correlation coefficient?

Jawab :

i x y xy x2 Y2
1 2.6 3300 8580 6.76 10890000
2 3.4 3600 12240 11.56 12960000
3 3.6 4000 14400 12.96 16000000

STAT 6111- Statistic


4 3.2 3500 11200 10.24 12250000
5 3.5 3900 13650 12.25 15210000
6 2.9 3600 10440 8.41 12960000
Jumlah 19.2 21900 70510 62.18 80270000

r = Ʃxy / (√Ʃx2)(√Ʃy2)
r = 70510 / (7.885429601) (8959.352655)
r = 0.998041785

a. coefficient of determination r2 = 1.99608357


b. correlation coefficient r = 0.998041785

Source : Anderson, David R., Sweeney, Dennis J., Williams, Thomas A. (2011). Statistics
for Business and Economics. 11th Edition. Cengage Learning. USA. ISBN: 978-
0538481649. Chapter 14, Pages 543-623

STAT 6111- Statistic

You might also like