Anda di halaman 1dari 2

PERSAMAAN REGRESI LINEAR SEDERHANA

GARIS REGRESI

Ŷ =a+bX

Dimana a = nilai Y jika X = 0

b = kemiringan (kenaikan atau penurunan Y atas perubahan X ataau Koefisien Regresi untuk

mengukur besarnya Pengaruh X terhadap Y

X = Nilai tertentu dari Variabel X

Y = Nilai yg diukur /dihitung pd Variabel tdk bebas

Untuk memudahkan perhitungan dengan menggunakan rumus dlm bentuk penyimpangan ni;ai tengah
Variabel X dan Y yaitu penyimpangan Ŷ̂

x=X- X

y=Y- Y

Sifat kwadrat terkecil

∑ ( Y – Y’) = 0

∑ (Y - Y’ )2 = Nilai Terendah

Nilai a dan b Persamaan regresi dihitung


∑𝑋𝑌
b= atau
∑x2

𝑛∑𝑥𝑦− ∑𝑥∑𝑦
b= 𝑛∑𝑥 2 −(∑𝑥)2

a = Y - bX
Sehingga
Ŷ=a+bX
Contoh;
Konsumsi (X) = f (Pendapatan=y )
C = a + by
Penpatan Konsmsi Y -Y C - c̅
Y C y c c2 cy
3 2 3 - 9,75 =- 6,75 2 – 7,25 = - 5,25 (- 5,25)2 = 27,562 -5,25 x (-6,75)= 35,437

5 3 5- 9,75 = - 4,75 3 - 7,25 = - 4,25 (- ,25)2 = 18,062 -4,25 x (- 4,75) = 20,187

7 5 7 - 9,75 = - 2,75 5 - 7,25 = - 2,25 (- 2,25)2 = 5,062 - 2,25 x (- 2,75) = 6,187

9 6 9 - 9,75 = - 0,75 6 - 7,25 = - 1,25 (- 1,25)2 = 1,562 - 1,25 x (- 0,75) =0,937

11 8 11 - 9,75 = 1,25 8 - 7,25 = 0,75 ( 0,75)2 = 0,562 0,75 x 1,25 = 0, 937

13 10 13 - 9,75 = 3,25 10- 7,25 = 2,75 ( 2,75)2 = 7,562 2,75 x 3,25 = 8,937

14 11 14 - 9,75 = 4,25 11- 7,25 = 3,75 ( 3,75)2 = 14.062 3,75 x 4,25 = 15, 937

16 13 16 - 9,75 = 6,25 13- 7,25 - = 5,75 ( 5,75)2 = 33,062 5,75 x 6,25 = 35,937

∑ Y= 78 ∑C = 58 ∑ c2 =106,934 ∑ cy=
122,622.937

c̅ = 58/8 = 7,25 C =a+by

Y = 78/8 = 9,75 b=
∑𝑋𝑌
=
122,622.937
= 1,146
∑x2 106,934

a =Y - b c̅
= 9,75 - 1,146 ( 7,25)

= 9,75 - 8,3085

= 1,4415

C = 1,4415 + 1,146 Y

Anda mungkin juga menyukai