Pertemuan Sesi 3
Pertemuan Sesi 3
Pertemuan Sesi 3
Imam Muthohar
Dr. Istiarto
Definisi REGRESI…
Regresi adalah suatu metode analisis statistik yang digunakan
untuk melihat pengaruh antara 2 atau lebih variabel
variabel bebas (independent variable) dan variabel bergantung
(dependent variable).
Jenis-jenis regresi:
Regresi SEDERHANA (linier sederhana dan non-linier sederhana)
Regresi BERGANDA (linier berganda dan non-linier berganda)
Analisis regresi digunakan pada hampir semua bidang
kehidupan: ekonomi dan keuangan, teknik, pertanian, industri
dan ketenagakerjaan, pemerintahan, ilmu lingkungan, dsb
untuk mengetahui hubungan sistem (relation), pendugaan
(estimation), dan peramalan (forecasting)
Independent variables are variables which having an affect on dependent variable.
Two basic assumption are made concerning the form of the independent variables.
The predictive variables are assumed to be independent of each other
All variables are assumed to be random variables with a normal distribution
Define the accuracy of the predictive equation. Some of the most
common measures that are used in analysis or validity test procedure:
linear correlation test between independent variables
(X) and dependent variable (Y)
the coefficient of partial correlation (r)
the coefficient of multiple determination (R2)
statistical test (t-test or F-test) check of normal
distribution, colinearity-independency level
The weakness: be aware!
if the data are scattered, it is difficult for using linear
regression analysis (correlation coefficient very small)
independent variables are not independent each other
colinearity
the coefficient of partial correlation (r)
what is the meaning (-1 < r < +1)?
when it achieves the best condition?
Y X1 X2 X3
Case 4 : Problem solving
Check the linear correlation test between independent
variables (X) and dependent variable (Y)
Calculation of multiple linear regression
Check the parameter value which has the lowest correlation
– retrial to do the same process
Determine the best model
Case 4 : Problem solving
Check the linear correlation test between independent
variables (X) and dependent variable (Y)
2 2
Bangkitan Kendaraan Penduduk y x xy x y
Zona
(ribuan smp/thn) (ribuan) 1 408 964 393,312 929,296 166,464
1 408 964 2 396 687 272,052 471,969 156,816
2 396 687 3 423 594 251,262 352,836 178,929
3 423 594 4 440 917 403,480 840,889 193,600
4 440 917 5 174 84 14,616 7,056 30,276
5 174 84 6 333 523 174,159 273,529 110,889
6 333 523 7 357 526 187,782 276,676 127,449
7 357 526 8 341 696 237,336 484,416 116,281
8 341 696 9 465 546 253,890 298,116 216,225
9 465 546 10 345 662 228,390 438,244 119,025
10 345 662 Σ 3,682 6,199 2,416,279 4,373,027 1,415,954
1,338,072 1,787,292
r 0.75 0.748665479
Y X
Case 4 : Problem solving
b0 + b1 X1 + b2 X2 + b3 X3 = Y
N N N N
Nb0 b1 X 1i b2 X 2i b3 X 3i Yi
i 1 i 1 i 1 i 1
N N N N N
b0 X 1i b1 ( X 1i ) b2 ( X 1i . X 2i ) b3 ( X 1i . X 3i ) ( X 1i .Yi )
2
i 1 i 1 i 1 i 1 i 1
N N N N N
b0 X 2i b1 ( X 1i . X 2i ) b2 ( X 2i ) b3 ( X 2i . X 3i ) ( X 2i .Yi )
2
i 1 i 1 i 1 i 1 i 1
N N N N N
b0 X 3i b1 ( X 1i . X 3i ) b2 ( X 2i . X 3i ) b3 ( X 3i ) ( X 3i .Yi )
2
i 1 i 1 i 1 i 1 i 1
Case 4 : Problem solving
2 2 2
Zona Y X1 X2 X3 X1 X2 X3 X1.X2 X1.X3 X2.X3 X1.Y X2.Y X3.Y
1 408 964 590 1 929,296 348,100 1 568,760 964 590 393,312 240,720 408
2 396 687 802 2 471,969 643,204 3 550,974 1,099 1,283 272,052 317,592 634
3 423 594 910 2 352,836 828,100 2 540,540 937 1,435 251,262 384,930 667
4 440 917 745 8 840,889 555,025 64 683,165 7,336 5,960 403,480 327,800 3,520
5 174 84 605 45 7,056 366,025 2,025 50,820 3,780 27,225 14,616 105,270 7,830
6 333 523 692 787 273,529 478,864 619,369 361,916 411,601 544,604 174,159 230,436 262,071
7 357 526 789 829 276,676 622,521 687,241 415,014 436,054 654,081 187,782 281,673 295,953
8 341 696 571 2 484,416 326,041 4 397,416 1,392 1,142 237,336 194,711 682
9 465 546 967 621 298,116 935,089 385,641 527,982 339,066 600,507 253,890 449,655 288,765
10 345 662 620 1,547 438,244 384,400 2,393,209 410,440 1,024,114 959,140 228,390 213,900 533,715
Σ 3,682 6,199 7,291 3,843 4,373,027 5,487,369 4,087,559 4,507,027 2,226,343 2,795,967 2,416,279 2,746,687 1,394,245