Anda di halaman 1dari 4

ANALISIS REGRESI LINEAR SEDERHANA

Andi Wijayanto, S.Sos., M.Si

Kegunaan Analisis Regresi Linear Sederhana


Analisis Regresi Linear Sederhana digunakan untuk mengukur pengaruh antara satu
variabel prediktor (variabel bebas) terhadap variabel terikat.
Rumus:
Y = a + bX
Y
a
b
X

= Variabel terikat
= Nilai intercept (konstanta)
= Koefisien regresi
= Variabel bebas

Harga a dihitung dengan rumus:

Harga b dihitung dengan rumus:

y ( x ) X . XY
n X ( x )
2

a=

b=

n XY X Y
n X 2 ( X )

Contoh:
Seorang Manajer Pemasaran deterjen merek SUPERCLEAN ingin mengetahui apakah
variabel produk berpengaruh terhadap keputusan konsumen membeli produk tersebut?
Hipotesis:
Ho : = 0, Variabel produk tidak berpengaruh signifikan terhadap keputusan konsumen
membeli deterjen merek SUPERCLEAN.
Ha : 0, Variabel produk berpengaruh signifikan terhadap keputusan konsumen
membeli deterjen merek SUPERCLEAN.
No
1
2
3
4
5
6
7
8
9
10
11
12
13

Y
34
38
34
40
30
40
40
34
35
39
33
32
42

X
32
36
31
38
29
35
33
30
32
36
31
31
36

XY
1088
1368
1054
1520
870
1400
1320
1020
1120
1404
1023
992
1512

Y^2
1156
1444
1156
1600
900
1600
1600
1156
1225
1521
1089
1024
1764

X^2
1024
1296
961
1444
841
1225
1089
900
1024
1296
961
961
1296

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Jumlah

40
42
32
34
36
37
36
37
39
40
33
34
36
37
38
42
41
1105

Y
= 1.105
XY = 37.094
X2 = 33.599

37
38
30
30
30
33
32
34
35
36
32
32
34
32
34
35
37
1001

X
Y2
n

1480
1596
960
1020
1080
1221
1152
1258
1365
1440
1056
1088
1224
1184
1292
1470
1517
37094

1600
1764
1024
1156
1296
1369
1296
1369
1521
1600
1089
1156
1296
1369
1444
1764
1681
41029

1369
1444
900
900
900
1089
1024
1156
1225
1296
1024
1024
1156
1024
1156
1225
1369
33599

= 1.001
= 41.029
= 30

Hipotesis
Ho : = 0, Variabel produk tidak berpengaruh signifikan terhadap keputusan konsumen
membeli deterjen merek SUPERCLEAN.
Ha : 0, Variabel produk berpengaruh signifikan terhadap keputusan konsumen
membeli deterjen merek SUPERCLEAN.

y ( x ) X . XY
n X ( x )
2

a
a

1.105 x33.599 1.001x37.094


30 x33.599 (1.001) 2
37.126.895 37.131.094
=
= -0,7
1.007.970 1.002.001
=

n XY X Y
n X 2 ( X )

30 x37.094 1.001x1.105
30 x33.599 (1.101)2
1.112.820 1.106.105
=
= 1,12
1.007.970 1.002.001
Jadi, persamaan regresi linearnya adalah:
b

= -0,7 + 1,12 X

LANGKAH-LANGKAH PENGUJIAN PENGARUH VARIABEL X TERHADAP Y


1. Hitung Kesalahan Standar Estimasi (Se):

Se

a Y b XY
n2

41.029 + 0,7.1.105 1,12.37.094


30 2
41029 + 773,5 41472,48
=
28
330,02
=
28
= 11,786
= 3,433136841
=

2. Hitung Kesalahan Standar Koefisien Regresi


Se
Sb
=
2
X 2 ( X ) / n

( )

3,433
33599 1002001 / 30
3,433
=
14,103
= 0,243423385
=

3. Uji T
t hitung =
b

Sb

b
Sb

= koefisien regresi
= hipotesis nol
= kesalahan standar koefisien regresi

t hitung

t tabel0,05,28

1,12 0
0,243
= 4,609
=

= 2,048

Kriteria:
t hitung t table atau -t hitung -t tabel
t hitung > t table atau -t hitung < -t tabel

= Ho diterima (t table t hitung t table)


= Ho ditolak, Ha diterima
(t table > t hitung > t table)

Kesimpulan:
t hitung (4,609) > t tabel (2,048)

= Ho ditolak, Ha diterima

Jadi, dapat disimpulkan bahwa variabel produk berpengaruh signifikan terhadap keputusan
konsumen membeli deterjen merek SUPERCLEAN.

Soal Untuk Tugas


Departemen HRD ingin mengetahui Apakah Stres Berpengaruh Signifikan Terhadap
Produktifitas Kerja Karyawan. Hasil pengukuran ditunjukkan dalam tabe; sebagai berikut:
Sampel
1
2
3
4
5
6
7
8

Stres
5
3
6
3
4
4
6
8

Produktifitas Kerja
13
15
7
12
13
11
9
5

a. Tentukan persamaan regresinya.


b. Tentukan nilai Y pada saat X=7.
c. Ujilah apakah Apakah Stres Berpengaruh Signifikan Terhadap Produktifitas Kerja
Karyawan.

Anda mungkin juga menyukai