Minggu, 30 Juni 2013

contoh aplikasi dari regresi linier dari dunia nyata (real-life)

ANALISIS REGRESI LINEAR



DATA STATISTIK

The demand for chicken in the United States,1960-1982.
to study the per capita consumption of chicken in the United States
you are given the following data:
Year
Y
X2
X3
X4
X5
X6
1960
27.8
397.5
42.2
50.7
78.5
65.8
1961
29.9
413.3
38.1
52
79.2
66.9
1962
29.8
439.2
40.3
54
79.2
67.8
1963
30.8
459.7
39.5
55.3
79.2
69.6
1964
31.2
492.9
37.3
54.7
77.4
68.7
1965
33.3
528.6
38.1
63.7
80.2
73.6
1966
35.6
560.3
39.3
69.8
80.4
76.3
1967
36.4
624.6
37.8
65.9
83.9
77.2
1968
36.7
666.4
38.4
64.5
85.5
78.1
1969
38.4
717.8
40.1
70
93.7
84.7
1970
40.4
768.2
38.6
73.2
106.1
93.3
1971
40.3
843.3
39.8
67.8
104.8
89.7
1972
41.8
911.6
39.7
79.1
114
100.7
1973
40.4
931.1
52.1
95.4
124.1
113.5
1974
40.7
1021.5
48.9
94.2
127.6
115.3
1975
40.1
1165.9
58.3
123.5
142.9
136.7
1976
42.7
1349.6
57.9
129.9
143.6
139.2
1977
44.1
1449.4
56.5
117.6
139.2
132
1978
46.7
1575.5
63.7
130.9
165.5
132.1
1979
50.6
1759.1
61.6
129.8
203.3
154.4
1980
50.1
1994.2
58.9
128
219.6
174.9
1981
51.7
2258.1
66.4
141
221.6
180.8
1982
52.9
2478.7
70.4
168.2
232.6
189.4
Where Y = per capita consumption of chicken, lbs
         X2 = real disposable income per capita, $
         X3 = real retail price of chicken pe lb, C
         X4 = real retail price of pork per lb, C
         X5 = real retail price of beef per lb, C
         X6 = composite real price of chicken substitutes per lb, C,


Data diatas di export ke SPSS
Diregresi linear dengan menggunakan SPSS
Analyze >>> Regression >>> Linear
Masukkan Y sebagai variabel dependen dan X2, X3, X4, X5, X6 sebagai variabel independen