Peningkatan Kinerja Sistem Peramal Cerdas Perilaku Konsumen Menggunakan Teknik Regresi Kuadratik

Lampiran-1
Best Customer and Biggest Customer Index
(Product Category 17 : Telephone)
Demographics

Data source : U.S. Bureau of Labour Statistics (BLS) Consumer Price Index (CPI)
Index
Code

Type 1
Best Customer

Type 2

Biggest Customer

Best Customer

Type 3

Biggest Customer


Best Customer

Type 4

Biggest Customer

Best Customer

Biggest Customer

Age

I.         Under 25

0

98

7.4


137

10.4

41

3.1

39

3

 II.        25

to 34

1

123


20.5

134

22.4

91

15.2

41

6.9

III.     35 to 44

2

119


24.7

151

31.3

112

23.2

93

19.3

IV.     45 to 54

3

127


25.8

86

17.5

115

23.5

215

43.9

 V.        55

to 64

4


93

14

66

10

114

17.1

117

17.6

VI.      65 to 74

5


55

5.3

58

5.6

101

9.7

48

4.6

VII.   75 and older

6


22

2.2

28

2.8

83

8.2

51

5.1

Household Income

I.


Under $20,000

0

42

10.5

88

21.9

69

17.3

20

4.9


II. $20,000 to $39,999

1

74

17.3

106

25

91

21.5

59

13.8


III. $40,000 to $49,999

2

93

9.1

108

10.5

104

10.1

100

9.7

IV. $50,000 to $59,999

3

124

19.2

122

19

111

17.2

77

12

V. $60,000 to $79,999

4

144

8

65

3.6

117

6.5

94

5.2

VI. $80,000 to $99,999

5

163

13

118

9.3

123

9.8

192

15.3

VII. $100,000 and above

6

178

22.9

83

10.7

137

17.7

285

36.6

Type of Household

I.

M arried couples

0

122

62.7

103

52.8

118

60.5

149

76.5

II.

M arried couples, no children

1

95

21

70

15.5

108

23.7

89

19.5

III. M arried couples, w ith children

2

144

36.3

113

28.5

124

31.1

220

55.4

IV. M arried couples, Oldest child under 6

3

128

6.2

135

6.5

111

5.3

32

1.5

V.

M arried couples , Oldest child 6 to 17

4

134

17.7

109

14.4

122

16.1

226

29.9

VI. M arried couples , Oldest child 18 or older

5

175

12.5

107

7.7

136

9.7

359

25.6

VII. M arried couples , Single parent w ith child under 18

6

97

5.8

126

7.4

99

5.9

32

1.9

VIII. Single person

7

57

16.6

62

18.1

68

19.8

45

12.9

I. Asian

0

124

4.2

298

10.1

93

3.2

32

1.1

II. Black

1

84

9.9

105

12.4

116

13.8

110

13.1

III. Hispanic

2

103

10.9

301

31.8

99

10.4

106

11.2

IV. Non-Hispanic w hite and other

3

102

79.4

72

56

98

76

103

80.1

Race

Region

I. Northeast

0

87

16.6

96

18.2

108

20.4

164

31.1

II. M idw est

1

100

22.8

80

18.2

93

21.3

51

11.6

III. South

2

100

36

94

33.7

107

38.5

95

34.1

IV. West

3

111

24.6

135

30

89

19.8

105

23.3

I. Less than high school

0

53

7.6

183

26.4

92

13.3

98

14.2

II. High school graduate

1

85

22.6

83

22.1

99

26.3

59

15.7

III. Some college

2

101

22

86

18.7

91

19.8

103

22.3

IV. Associate’s degree

3

129

11.8

85

7.8

103

9.4

108

9.9

V. College degree

4

129

35.9

90

25

112

31.3

137

38.2

VI. Bachelor’s degree

5

130

23.1

78

13.8

108

19.3

106

18.9

VII. M aster’s, professional, doctoral degree

6

127

12.8

111

11.2

118

12

195

19.8

Education

Where :
Type 1 : Cellular Phone Service
Type 2 : Phone Cards
Type 3 : Residential Telephone Service and Pay Phones
Type 4 : Telephones, Answ ering M achines, and Accessories

Universitas Sumatera Utara

Lampiran - 2
NORMALISASI DATA PRODUK TELEPON UNTUK 6 DEMOGRAFI
(CATEGORY ID = 17 / TELEPHONE PRODUCT) / (DATA TYPE = (1 ) AGE)
No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Product
Data id
id
9843
9880
9917
9954
9844
9881
9918
9955
9845
9882
9919
9956
9846
9883
9920
9957
9847
9884
9921
9958
9848
9885
9922
9959
9849
9886
9923
9960

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data
type
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

Max
Min
Data
Average average average
type id spending spending spending
value (Yo)
(Yo)
(Yo)
1
371.32
814.07
5.19
1
25.38
814.07
5.19
1
245.25
814.07
5.19
1
10.68
814.07
5.19
2
464.67
814.07
5.19
2
24.82
814.07
5.19
2
536.85
814.07
5.19
2
11.3
814.07
5.19
3
451.23
814.07
5.19
3
28.03
814.07
5.19
3
664.51
814.07
5.19
3
25.66
814.07
5.19
4
479.39
814.07
5.19
4
15.89
814.07
5.19
4
681.74
814.07
5.19
4
59.12
814.07
5.19
5
353.38
814.07
5.19
5
12.28
814.07
5.19
5
673.33
814.07
5.19
5
32.23
814.07
5.19
6
207.65
814.07
5.19
6
10.73
814.07
5.19
6
596.4
814.07
5.19
6
13.2
814.07
5.19
7
82.91
814.07
5.19
7
5.19
814.07
5.19
7
489.82
814.07
5.19
7
14.12
814.07
5.19

Norm
Best
Max
average customer
best
Min best
spending
value
customer customer
(Yo)
(X1)
(X1)
(X1)
0.4621106
98
359
20
0.1199684
137
359
20
0.3374246
41
359
20
0.1054297
39
359
20
0.5544358
123
359
20
0.1194145
134
359
20
0.6258234
91
359
20
0.1060429
41
359
20
0.5411433
119
359
20
0.1225893
151
359
20
0.7520819
112
359
20
0.1202453
93
359
20
0.5689942
127
359
20
0.1105825
86
359
20
0.7691227
115
359
20
0.1533379
215
359
20
0.4443675
93
359
20
0.1070122
66
359
20
0.7608051
114
359
20
0.1267432
117
359
20
0.3002374
55
359
20
0.1054792
58
359
20
0.6847196
101
359
20
0.1079221
48
359
20
0.1768668
22
359
20
0.1
28
359
20
0.5793097
83
359
20
0.108832
51
359
20

Biggest
Max
Norm best customer
best
Min best
customer
value
customer customer
(X1)
(X2)
(X2)
(X2)
0.2840708
7.4
80.1
1.1
0.3761062
10.4
80.1
1.1
0.1495575
3.1
80.1
1.1
0.1448378
3
80.1
1.1
0.3430678
20.5
80.1
1.1
0.3690265
22.4
80.1
1.1
0.2675516
15.2
80.1
1.1
0.1495575
6.9
80.1
1.1
0.3336283
24.7
80.1
1.1
0.4091445
31.3
80.1
1.1
0.3171091
23.2
80.1
1.1
0.2722714
19.3
80.1
1.1
0.3525074
25.8
80.1
1.1
0.2557522
17.5
80.1
1.1
0.3241888
23.5
80.1
1.1
0.560177
43.9
80.1
1.1
0.2722714
14
80.1
1.1
0.2085546
10
80.1
1.1
0.3218289
17.1
80.1
1.1
0.3289086
17.6
80.1
1.1
0.1825959
5.3
80.1
1.1
0.1896755
5.6
80.1
1.1
0.2911504
9.7
80.1
1.1
0.1660767
4.6
80.1
1.1
0.1047198
2.2
80.1
1.1
0.1188791
2.8
80.1
1.1
0.2486726
8.2
80.1
1.1
0.1731563
5.1
80.1
1.1

Norm
biggest
customer
(X2)
0.1637975
0.1941772
0.1202532
0.1192405
0.2964557
0.3156962
0.2427848
0.1587342
0.3389873
0.4058228
0.3237975
0.2843038
0.3501266
0.2660759
0.3268354
0.5334177
0.2306329
0.1901266
0.2620253
0.2670886
0.1425316
0.1455696
0.1870886
0.135443
0.1111392
0.1172152
0.1718987
0.1405063

Where :





Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Normalized = (80% x ((Data - Min Data) / (Max Data - Min Data))) + 10 %

Universitas Sumatera Utara

Lampiran - 2
NORMALISASI DATA PRODUK TELEPON UNTUK 6 DEMOGRAFI
(CATEGORY ID = 17 / TELEPHONE PRODUCT) / (DATA TYPE = (2) INCOME)
No
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Product
Data id
id
9850
9887
9924
9961
9851
9888
9925
9962
9852
9889
9926
9963
9853
9890
9927
9964
9854
9891
9928
9965
9855
9892
9929
9966
9856
9893
9930
9967

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data
type
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2

Max
Min
Data
Average average average
type id spending spending spending
value (Yo)
(Yo)
(Yo)
1
160.32
814.07
5.19
1
16.28
814.07
5.19
1
411.43
814.07
5.19
1
5.38
814.07
5.19
2
278.6
814.07
5.19
2
19.71
814.07
5.19
2
541.84
814.07
5.19
2
16.08
814.07
5.19
3
350.25
814.07
5.19
3
19.95
814.07
5.19
3
613.05
814.07
5.19
3
27.34
814.07
5.19
4
468.69
814.07
5.19
4
22.65
814.07
5.19
4
654.9
814.07
5.19
4
21.16
814.07
5.19
5
545.87
814.07
5.19
5
12.04
814.07
5.19
5
693.55
814.07
5.19
5
25.84
814.07
5.19
6
616.27
814.07
5.19
6
21.76
814.07
5.19
6
729.83
814.07
5.19
6
52.65
814.07
5.19
7
675.13
814.07
5.19
7
15.37
814.07
5.19
7
814.07
814.07
5.19
7
78.2
814.07
5.19

Norm
Best
Max
average customer
best
Min best
spending
value
customer customer
(Yo)
(X1)
(X1)
(X1)
0.253427
42
359
20
0.1109683
88
359
20
0.5017802
69
359
20
0.1001879
20
359
20
0.3704085
74
359
20
0.1143606
106
359
20
0.6307586
91
359
20
0.1107704
59
359
20
0.4412719
93
359
20
0.114598
108
359
20
0.7011868
104
359
20
0.1219068
100
359
20
0.5584116
124
359
20
0.1172683
122
359
20
0.7425774
111
359
20
0.1157947
77
359
20
0.6347443
144
359
20
0.1067748
65
359
20
0.7808031
117
359
20
0.1204233
94
359
20
0.7043715
163
359
20
0.1163881
118
359
20
0.8166848
123
359
20
0.146939
192
359
20
0.7625853
178
359
20
0.1100682
83
359
20
0.9
137
359
20
0.1722085
285
359
20

Biggest
Max
Norm best customer
best
Min best
customer
value
customer customer
(X1)
(X2)
(X2)
(X2)
0.1519174
10.5
80.1
1.1
0.260472
21.9
80.1
1.1
0.2156342
17.3
80.1
1.1
0.1
4.9
80.1
1.1
0.2274336
17.3
80.1
1.1
0.3029499
25
80.1
1.1
0.2675516
21.5
80.1
1.1
0.1920354
13.8
80.1
1.1
0.2722714
9.1
80.1
1.1
0.3076696
10.5
80.1
1.1
0.2982301
10.1
80.1
1.1
0.2887906
9.7
80.1
1.1
0.3454277
19.2
80.1
1.1
0.340708
19
80.1
1.1
0.3147493
17.2
80.1
1.1
0.2345133
12
80.1
1.1
0.3926254
8
80.1
1.1
0.2061947
3.6
80.1
1.1
0.3289086
6.5
80.1
1.1
0.2746313
5.2
80.1
1.1
0.4374631
13
80.1
1.1
0.3312684
9.3
80.1
1.1
0.3430678
9.8
80.1
1.1
0.5058997
15.3
80.1
1.1
0.4728614
22.9
80.1
1.1
0.2486726
10.7
80.1
1.1
0.3761062
17.7
80.1
1.1
0.7253687
36.6
80.1
1.1

Norm
biggest
customer
(X2)
0.1951899
0.3106329
0.2640506
0.138481
0.2640506
0.3420253
0.3065823
0.2286076
0.1810127
0.1951899
0.1911392
0.1870886
0.2832911
0.2812658
0.263038
0.2103797
0.1698734
0.1253165
0.1546835
0.141519
0.2205063
0.183038
0.1881013
0.2437975
0.3207595
0.1972152
0.2681013
0.4594937

Where :





Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Normalized = (80% x ((Data - Min Data) / (Max Data - Min Data))) + 10 %

Universitas Sumatera Utara

Lampiran - 2
NORMALISASI DATA PRODUK TELEPON UNTUK 6 DEMOGRAFI
(CATEGORY ID = 17 / TELEPHONE PRODUCT) / (DATA TYPE = (3) TYPE OF HOUSE HOLD)
No
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

Product
Data id
id
9857
9894
9931
9968
9858
9895
9932
9969
9859
9896
9933
9970
9860
9897
9934
9971
9861
9898
9935
9972
9862
9899
9936
9973
9863
9900
9937
9974
9864
9901
9938
9975

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data
type
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3

Max
Min
Best
Max
Data
Average average average
customer
best
Min best
type id spending spending spending Norm average
value
customer customer
value (Yo)
(Yo)
(Yo)
spending (Yo)
(X1)
(X1)
(X1)
1
461.63
814.07
5.19 0.551429137
122
359
20
1
19.01
814.07
5.19 0.113668282
103
359
20
1
697.22
814.07
5.19 0.784432796
118
359
20
1
40.85
814.07
5.19 0.135268519
149
359
20
2
361.27
814.07
5.19 0.452170903
95
359
20
2
13.03
814.07
5.19 0.107753931
70
359
20
2
637.39
814.07
5.19 0.725259618
108
359
20
2
24.38
814.07
5.19 0.118979329
89
359
20
3
546.01
814.07
5.19 0.634882801
144
359
20
3
20.98
814.07
5.19 0.115616655
113
359
20
3
732.44
814.07
5.19 0.819266146
124
359
20
3
60.45
814.07
5.19 0.154653348
220
359
20
4
484.38
814.07
5.19 0.573929384
128
359
20
4
24.91
814.07
5.19 0.119503511
135
359
20
4
655.64
814.07
5.19 0.743309267
111
359
20
4
8.72
814.07
5.19 0.103491247
32
359
20
5
506.46
814.07
5.19 0.595766986
134
359
20
5
20.14
814.07
5.19 0.114785877
109
359
20
5
721.23
814.07
5.19 0.808179211
122
359
20
5
62.09
814.07
5.19 0.156275344
226
359
20
6
660.88
814.07
5.19 0.748491742
175
359
20
6
19.89
814.07
5.19 0.114538621
107
359
20
6
805.04
814.07
5.19 0.891069133
136
359
20
6
98.56
814.07
5.19 0.192344971
359
359
20
7
367.57
814.07
5.19 0.458401741
97
359
20
7
23.24
814.07
5.19 0.117851845
126
359
20
7
587.72
814.07
5.19 0.676134903
99
359
20
7
8.79
814.07
5.19 0.103560479
32
359
20
8
217.16
814.07
5.19 0.309642963
57
359
20
8
11.56
814.07
5.19 0.106300069
62
359
20
8
405.04
814.07
5.19
0.49546039
68
359
20
8
12.23
814.07
5.19 0.106962714
45
359
20

Biggest
Max
Norm best customer
best
Min best
customer
value
customer customer
(X1)
(X2)
(X2)
(X2)
0.340707965
62.7
80.1
1.1
0.295870206
52.8
80.1
1.1
0.331268437
60.5
80.1
1.1
0.404424779
76.5
80.1
1.1
0.27699115
21
80.1
1.1
0.2179941
15.5
80.1
1.1
0.307669617
23.7
80.1
1.1
0.262831858
19.5
80.1
1.1
0.392625369
36.3
80.1
1.1
0.319469027
28.5
80.1
1.1
0.345427729
31.1
80.1
1.1
0.571976401
55.4
80.1
1.1
0.354867257
6.2
80.1
1.1
0.371386431
6.5
80.1
1.1
0.314749263
5.3
80.1
1.1
0.128318584
1.5
80.1
1.1
0.369026549
17.7
80.1
1.1
0.310029499
14.4
80.1
1.1
0.340707965
16.1
80.1
1.1
0.586135693
29.9
80.1
1.1
0.465781711
12.5
80.1
1.1
0.305309735
7.7
80.1
1.1
0.373746313
9.7
80.1
1.1
0.9
25.6
80.1
1.1
0.281710914
5.8
80.1
1.1
0.350147493
7.4
80.1
1.1
0.286430678
5.9
80.1
1.1
0.128318584
1.9
80.1
1.1
0.187315634
16.6
80.1
1.1
0.199115044
18.1
80.1
1.1
0.213274336
19.8
80.1
1.1
0.15899705
12.9
80.1
1.1

Norm
biggest
customer
(X2)
0.7237975
0.6235443
0.701519
0.8635443
0.301519
0.2458228
0.3288608
0.2863291
0.4564557
0.3774684
0.4037975
0.6498734
0.1516456
0.1546835
0.1425316
0.1040506
0.2681013
0.2346835
0.2518987
0.3916456
0.215443
0.1668354
0.1870886
0.3481013
0.1475949
0.1637975
0.1486076
0.1081013
0.256962
0.2721519
0.2893671
0.2194937

Where :





Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Normalized = (80% x ((Data - Min Data) / (Max Data - Min Data))) + 10 %

Universitas Sumatera Utara

Lampiran - 2
NORMALISASI DATA PRODUK TELEPON UNTUK 6 DEMOGRAFI
(CATEGORY ID = 17 / TELEPHONE PRODUCT) / (DATA TYPE = (4) RACE)
No
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

Product
Data id
id
9865
9902
9939
9976
9866
9903
9940
9977
9867
9904
9941
9978
9868
9905
9942
9979

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data
type
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4

Max
Min
Data
Average average average
type id spending spending spending
value (Yo)
(Yo)
(Yo)
1
468.23
814.07
5.19
1
55.18
814.07
5.19
1
552.53
814.07
5.19
1
8.74
814.07
5.19
2
316.03
814.07
5.19
2
19.43
814.07
5.19
2
688.72
814.07
5.19
2
30.32
814.07
5.19
3
389.44
814.07
5.19
3
55.71
814.07
5.19
3
584.51
814.07
5.19
3
29.16
814.07
5.19
4
386.43
814.07
5.19
4
13.32
814.07
5.19
4
578.55
814.07
5.19
4
28.27
814.07
5.19

Best
Max
Norm
average customer
best
Min best
customer customer
spending
value
(Yo)
(X1)
(X1)
(X1)
0.5579567
124
359
20
0.1494412
298
359
20
0.6413312
93
359
20
0.103511
32
359
20
0.4074276
84
359
20
0.1140837
105
359
20
0.7760261
116
359
20
0.1248541
110
359
20
0.4800316
103
359
20
0.1499654
301
359
20
0.6729601
99
359
20
0.1237069
106
359
20
0.4770547
102
359
20
0.1080407
72
359
20
0.6670656
98
359
20
0.1228266
103
359
20

Biggest
Max
Norm best customer
best
Min best
customer
value
customer customer
(X1)
(X2)
(X2)
(X2)
0.3454277
4.2
80.1
1.1
0.7560472
10.1
80.1
1.1
0.2722714
3.2
80.1
1.1
0.1283186
1.1
80.1
1.1
0.2510324
9.9
80.1
1.1
0.30059
12.4
80.1
1.1
0.3265487
13.8
80.1
1.1
0.3123894
13.1
80.1
1.1
0.2958702
10.9
80.1
1.1
0.7631268
31.8
80.1
1.1
0.2864307
10.4
80.1
1.1
0.3029499
11.2
80.1
1.1
0.2935103
79.4
80.1
1.1
0.2227139
56
80.1
1.1
0.2840708
76
80.1
1.1
0.2958702
80.1
80.1
1.1

Norm
biggest
customer
(X2)
0.1313924
0.1911392
0.1212658
0.1
0.1891139
0.2144304
0.2286076
0.221519
0.1992405
0.4108861
0.1941772
0.2022785
0.8929114
0.6559494
0.858481
0.9

Where :





Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Normalized = (80% x ((Data - Min Data) / (Max Data - Min Data))) + 10 %

Universitas Sumatera Utara

Lampiran - 2
NORMALISASI DATA PRODUK TELEPON UNTUK 6 DEMOGRAFI
(CATEGORY ID = 17 / TELEPHONE PRODUCT) / (DATA TYPE = (5) REGION)
No

Data id

Product
id

Data
type

105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120

9869
9906
9943
9980
9870
9907
9944
9981
9871
9908
9945
9982
9872
9909
9946
9983

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5

Max
Min
Data
Average average average
type id spending spending spending
value (Yo)
(Yo)
(Yo)
1
331.07
814.07
5.19
1
17.73
814.07
5.19
1
637.95
814.07
5.19
1
45.05
814.07
5.19
2
378.26
814.07
5.19
2
14.74
814.07
5.19
2
551.69
814.07
5.19
2
13.93
814.07
5.19
3
378.5
814.07
5.19
3
17.37
814.07
5.19
3
634.77
814.07
5.19
3
26.02
814.07
5.19
4
418.63
814.07
5.19
4
24.9
814.07
5.19
4
526.52
814.07
5.19
4
28.71
814.07
5.19

Norm
Best
Max
average customer
best
Min best
spending
value
customer customer
(Yo)
(X1)
(X1)
(X1)
0.4223024
87
359
20
0.1124023
96
359
20
0.7258135
108
359
20
0.1394224
164
359
20
0.4689744
100
359
20
0.1094452
80
359
20
0.6405004
93
359
20
0.1086441
51
359
20
0.4692117
100
359
20
0.1120463
94
359
20
0.7226684
107
359
20
0.1206013
95
359
20
0.5089012
111
359
20
0.1194936
135
359
20
0.6156068
89
359
20
0.1232618
105
359
20

Biggest
Max
Norm best customer
best
Min best
customer
value
customer customer
(X1)
(X2)
(X2)
(X2)
0.2581121
16.6
80.1
1.1
0.279351
18.2
80.1
1.1
0.3076696
20.4
80.1
1.1
0.439823
31.1
80.1
1.1
0.2887906
22.8
80.1
1.1
0.2415929
18.2
80.1
1.1
0.2722714
21.3
80.1
1.1
0.1731563
11.6
80.1
1.1
0.2887906
36
80.1
1.1
0.2746313
33.7
80.1
1.1
0.3053097
38.5
80.1
1.1
0.2769912
34.1
80.1
1.1
0.3147493
24.6
80.1
1.1
0.3713864
30
80.1
1.1
0.2628319
19.8
80.1
1.1
0.30059
23.3
80.1
1.1

Norm
biggest
customer
(X2)
0.256962
0.2731646
0.295443
0.4037975
0.3197468
0.2731646
0.304557
0.2063291
0.4534177
0.4301266
0.4787342
0.4341772
0.3379747
0.3926582
0.2893671
0.3248101

Where :





Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Normalized = (80% x ((Data - Min Data) / (Max Data - Min Data))) + 10 %

Universitas Sumatera Utara

Lampiran - 2
NORMALISASI DATA PRODUK TELEPON UNTUK 6 DEMOGRAFI
(CATEGORY ID = 17 / TELEPHONE PRODUCT) / (DATA TYPE = (6 ) EDUCATION)
No
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148

Product
Data id
id
9873
9910
9947
9984
9874
9911
9948
9985
9875
9912
9949
9986
9876
9913
9950
9987
9877
9914
9951
9988
9878
9915
9952
9989
9879
9916
9953
9990

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data
type
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6

Max
Min
Data
Average average average
type id spending spending spending
value (Yo)
(Yo)
(Yo)
1
199.12
814.07
5.19
1
33.79
814.07
5.19
1
543.67
814.07
5.19
1
26.9
814.07
5.19
2
321.31
814.07
5.19
2
15.35
814.07
5.19
2
583.5
814.07
5.19
2
16.15
814.07
5.19
3
382.41
814.07
5.19
3
15.86
814.07
5.19
3
537.84
814.07
5.19
3
28.16
814.07
5.19
4
486.51
814.07
5.19
4
15.72
814.07
5.19
4
607.78
814.07
5.19
4
29.61
814.07
5.19
5
487.18
814.07
5.19
5
16.6
814.07
5.19
5
663.35
814.07
5.19
5
37.6
814.07
5.19
6
491.78
814.07
5.19
6
14.37
814.07
5.19
6
641.83
814.07
5.19
6
29.16
814.07
5.19
7
479.1
814.07
5.19
7
20.52
814.07
5.19
7
701.16
814.07
5.19
7
53.66
814.07
5.19

Norm
Best
Max
average customer
best
Min best
spending
value
customer customer
(Yo)
(X1)
(X1)
(X1)
0.291801
53
359
20
0.128286
183
359
20
0.6325685
92
359
20
0.1214717
98
359
20
0.4126496
85
359
20
0.1100485
83
359
20
0.6719612
99
359
20
0.1108397
59
359
20
0.4730788
101
359
20
0.1105529
86
359
20
0.6268025
91
359
20
0.1227178
103
359
20
0.576036
129
359
20
0.1104144
85
359
20
0.6959747
103
359
20
0.1241519
108
359
20
0.5766986
129
359
20
0.1112847
90
359
20
0.7509346
112
359
20
0.1320542
137
359
20
0.5812481
130
359
20
0.1090792
78
359
20
0.7296509
108
359
20
0.1237069
106
359
20
0.5687073
127
359
20
0.1151617
111
359
20
0.7883295
118
359
20
0.1479379
195
359
20

Biggest
Max
Norm best customer
best
Min best
customer
value
customer customer
(X1)
(X2)
(X2)
(X2)
0.1778761
7.6
80.1
1.1
0.4846608
26.4
80.1
1.1
0.2699115
13.3
80.1
1.1
0.2840708
14.2
80.1
1.1
0.2533923
22.6
80.1
1.1
0.2486726
22.1
80.1
1.1
0.2864307
26.3
80.1
1.1
0.1920354
15.7
80.1
1.1
0.2911504
22
80.1
1.1
0.2557522
18.7
80.1
1.1
0.2675516
19.8
80.1
1.1
0.2958702
22.3
80.1
1.1
0.3572271
11.8
80.1
1.1
0.2533923
7.8
80.1
1.1
0.2958702
9.4
80.1
1.1
0.3076696
9.9
80.1
1.1
0.3572271
35.9
80.1
1.1
0.2651917
25
80.1
1.1
0.3171091
31.3
80.1
1.1
0.3761062
38.2
80.1
1.1
0.359587
23.1
80.1
1.1
0.2368732
13.8
80.1
1.1
0.3076696
19.3
80.1
1.1
0.3029499
18.9
80.1
1.1
0.3525074
12.8
80.1
1.1
0.3147493
11.2
80.1
1.1
0.3312684
12
80.1
1.1
0.5129794
19.8
80.1
1.1

Norm
biggest
customer
(X2)
0.1658228
0.3562025
0.2235443
0.2326582
0.3177215
0.3126582
0.3551899
0.2478481
0.3116456
0.2782278
0.2893671
0.3146835
0.2083544
0.1678481
0.1840506
0.1891139
0.4524051
0.3420253
0.4058228
0.4756962
0.3227848
0.2286076
0.2843038
0.2802532
0.218481
0.2022785
0.2103797
0.2893671

Where :





Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Normalized = (80% x ((Data - Min Data) / (Max Data - Min Data))) + 10 %

Universitas Sumatera Utara

Lampiran-3
DATA HASIL PERAMALAN DENGAN METODE REGRESI KUADRATIK
UNTUK JENIS DEMOGRAFI (1) : UMUR (AGE ) 

No

Data  Product 
id
id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

9843
9880
9917
9954
9844
9881
9918
9955
9845
9882
9919
9956
9846
9883
9920
9957
9847
9884
9921
9958
9848
9885
9922
9959
9849
9886
9923
9960

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Norm 
Data  Data type  average 
spending 
type
id
(Yo )
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

1
1
1
1
2
2
2
2
3
3
3
3
4
4
4
4
5
5
5
5
6
6
6
6
7
7
7
7

0.46211057
0.11996835
0.33742459
0.10542973
0.55443576
0.1194145
0.62582336
0.10604292
0.54114331
0.12258926
0.75208189
0.12024528
0.56899416
0.11058253
0.76912274
0.15333795
0.44436752
0.10701216
0.76080506
0.12674315
0.30023737
0.10547918
0.68471961
0.10792207
0.17686678
0.1
0.57930966
0.10883197

Norm best 
customer 
(X 1 )

Norm 
biggest 
customer 
(X 2 )

0.2840708
0.37610619
0.14955752
0.14483776
0.34306785
0.36902655
0.26755162
0.14955752
0.33362832
0.40914454
0.31710914
0.27227139
0.35250737
0.25575221
0.32418879
0.56017699
0.27227139
0.20855457
0.32182891
0.32890855
0.18259587
0.18967552
0.29115044
0.1660767
0.10471976
0.11887906
0.24867257
0.17315634

0.16379747
0.19417722
0.12025316
0.11924051
0.2964557
0.3156962
0.24278481
0.15873418
0.33898734
0.40582278
0.32379747
0.2843038
0.35012658
0.26607595
0.32683544
0.53341772
0.23063291
0.19012658
0.26202532
0.26708861
0.14253165
0.14556962
0.18708861
0.13544304
0.11113924
0.11721519
0.17189873
0.14050633

Ypredict 
Category  
quadratic 
id
(Y1 )
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

0.4542
0.1922
0.2138
0.1903
0.4276
0.4019
0.4093
0.0951
0.4613
0.4567
0.4484
0.3894
0.4647
0.3622
0.4533
0.1079
0.4243
0.3161
0.4294
0.4248
0.3142
0.3358
0.444
0.2566
‐0.0528
0.0296
0.4434
0.2773

Where :
·
Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
·
Data type is demographic variation such as
·
·
·

1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Category id is product category (17 = Telephone)
Y est quadratic is prediction result data using quadratic regression

Universitas Sumatera Utara

Lampiran-3
DATA HASIL PERAMALAN DENGAN METODE REGRESI KUADRATIK
UNTUK JENIS DEMOGRAFI (2) : PENGHASILAN (INCOME )

No

Data  Product 
id
id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

9850
9887
9924
9961
9851
9888
9925
9962
9852
9889
9926
9963
9853
9890
9927
9964
9854
9891
9928
9965
9855
9892
9929
9966
9856
9893
9930
9967

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data  Data type 
type
id
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2

1
1
1
1
2
2
2
2
3
3
3
3
4
4
4
4
5
5
5
5
6
6
6
6
7
7
7
7

Norm 
average 
spending 
(Yo )
0.253426961
0.110968252
0.501780239
0.100187914
0.370408466
0.114360597
0.63075858
0.110770448
0.441271882
0.114597963
0.701186826
0.121906834
0.558411631
0.117268322
0.742577391
0.115794679
0.634744338
0.1067748
0.780803086
0.120423301
0.704371477
0.116388092
0.816684799
0.146938977
0.762585303
0.110068243
0.9
0.172208486

Norm best  Norm biggest 
Category   Y est 
customer 
customer 
id
quadratic
(X 1 )
(X 2 )
0.151917404
0.260471976
0.215634218
0.1
0.227433628
0.302949853
0.267551622
0.192035398
0.272271386
0.307669617
0.298230088
0.28879056
0.345427729
0.340707965
0.314749263
0.234513274
0.392625369
0.20619469
0.328908555
0.274631268
0.437463127
0.331268437
0.343067847
0.505899705
0.472861357
0.248672566
0.376106195
0.725368732

0.195189873
0.310632911
0.264050633
0.138481013
0.264050633
0.342025316
0.306582278
0.228607595
0.181012658
0.195189873
0.191139241
0.187088608
0.283291139
0.281265823
0.263037975
0.210379747
0.169873418
0.125316456
0.154683544
0.141518987
0.220506329
0.183037975
0.188101266
0.243797468
0.320759494
0.19721519
0.268101266
0.459493671

17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

0.1446
0.313
0.277
‐0.0391
0.3059
0.3374
0.3371
0.2452
0.3842
0.4462
0.4305
0.4139
0.5068
0.5021
0.4767
0.3424
0.4572
0.1849
0.3976
0.319
0.5503
0.4532
0.4703
0.5594
0.575
0.3624
0.5487
0.1756

Where :
·
Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
·
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
·
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
·
Category id is product category (17 = Telephone)
·
Y est quadratic is prediction result data using quadratic regression

Universitas Sumatera Utara

Lampiran-3
DATA HASIL PERAMALAN DENGAN METODE REGRESI KUADRATIK
UNTUK JENIS DEMOGRAFI (3) : TIPE KELUARGA (TYPE OF HOUSE HOLD )

No

Data  Product 
id
id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

9857
9894
9931
9968
9858
9895
9932
9969
9859
9896
9933
9970
9860
9897
9934
9971
9861
9898
9935
9972
9862
9899
9936
9973
9863
9900
9937
9974
9864
9901
9938
9975

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Norm 
Data  Data type  average 
spending 
type
id
(Yo )
3
1
0.55142914
3
1
0.11366828
3
1
0.7844328
3
1
0.13526852
3
2
0.4521709
3
2
0.10775393
3
2
0.72525962
3
2
0.11897933
3
3
0.6348828
3
3
0.11561666
3
3
0.81926615
3
3
0.15465335
3
4
0.57392938
3
4
0.11950351
3
4
0.74330927
3
4
0.10349125
3
5
0.59576699
3
5
0.11478588
3
5
0.80817921
3
5
0.15627534
3
6
0.74849174
3
6
0.11453862
3
6
0.89106913
3
6
0.19234497
3
7
0.45840174
3
7
0.11785184
3
7
0.6761349
3
7
0.10356048
3
8
0.30964296
3
8
0.10630007
3
8
0.49546039
3
8
0.10696271

Norm best 
customer 
(X 1 )
0.34070796
0.29587021
0.33126844
0.40442478
0.27699115
0.2179941
0.30766962
0.26283186
0.39262537
0.31946903
0.34542773
0.5719764
0.35486726
0.37138643
0.31474926
0.12831858
0.36902655
0.3100295
0.34070796
0.58613569
0.46578171
0.30530973
0.37374631
0.9
0.28171091
0.35014749
0.28643068
0.12831858
0.18731563
0.19911504
0.21327434
0.15899705

Norm 
biggest 
Category  
Y est 
customer 
id
quadratic
(X 2 )
0.72379747
17
0.4288
0.6235443
17
0.4645
0.70151899
17
0.4406
0.8635443
17
0.2917
0.30151899
17
0.4136
0.24582278
17
0.312
0.32886076
17
0.4482
0.28632911
17
0.3929
0.4564557
17
0.4639
0.37746835
17
0.4581
0.40379747
17
0.4692
0.64987342
17
0.1519
0.15164557
17
0.5133
0.15468354
17
0.5366
0.14253165
17
0.4496
0.10405063
17
0.0192
0.26810127
17
0.5083
0.23468354
17
0.4462
0.25189873
17
0.4827
0.39164557
17
0.4467
0.21544304
17
0.6091
0.16683544
17
0.4351
0.18708861
17
0.5322
0.34810127
17
0.1444
0.14759494
17
0.3916
0.16379747
17
0.5046
0.14860759
17
0.4003
0.10810127
17
0.0229
0.25696203
17
0.2655
0.2721519
17
0.2943
0.28936709
17
0.3253
17
0.1864
0.21949367

Where :
·
Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
·
Data type is demographic variation such as
·
·
·

1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
Category id is product category (17 = Telephone)
Y est quadratic is prediction result data using quadratic regression
Universitas Sumatera Utara

Lampiran-3
DATA HASIL PERAMALAN DENGAN METODE REGRESI KUADRATIK
UNTUK JENIS DEMOGRAFI (4) : RAS (RACE )

No

Data  Product 
id
id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

9865
9902
9939
9976
9866
9903
9940
9977
9867
9904
9941
9978
9868
9905
9942
9979

267
268
269
270
267
268
269
270
267
268
269
270
267
268
269
270

Data  Data type 
type
id
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4

1
1
1
1
2
2
2
2
3
3
3
3
4
4
4
4

Norm 
average 
spending 
(Yo )
0.557956681
0.149441203
0.641331223
0.103511028
0.407427554
0.114083671
0.77602611
0.124854119
0.480031649
0.149965384
0.672960142
0.123706854
0.477054693
0.108040748
0.667065572
0.122826624

Norm best  Norm biggest 
Category   Y est 
customer 
customer 
id
quadratic
(X 1 )
(X 2 )
0.345427729
0.756047198
0.272271386
0.128318584
0.251032448
0.300589971
0.326548673
0.312389381
0.295870206
0.763126844
0.286430678
0.302949853
0.293510324
0.222713864
0.284070796
0.295870206

0.131392405
0.191139241
0.121265823
0.1
0.189113924
0.21443038
0.228607595
0.221518987
0.199240506
0.410886076
0.194177215
0.202278481
0.892911392
0.655949367
0.858481013
0.9

17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

0.5462
0.1712
0.4591
0.1537
0.35
0.4122
0.4369
0.4235
0.4183
0.1247
0.408
0.4262
0.4247
0.1119
0.3727
0.4368

Where :
·
Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
·
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
·
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
·
Category id is product category (17 = Telephone)
·
Y est quadratic is prediction result data using quadratic regression

Universitas Sumatera Utara

Lampiran-3
DATA HASIL PERAMALAN DENGAN METODE REGRESI KUADRATIK
UNTUK JENIS DEMOGRAFI (5) : DAERAH TEMPAT TINGGAL  (REGION )

No

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Norm 
Data  Product  Data  Data type  average 
spending 
id
id
type
id
(Yo )
9869
267
5
1
0.42230244
9906
268
5
1
0.11240233
9943
269
5
1
0.72581347
9980
270
5
1
0.13942241
9870
267
5
2
0.46897438
9907
268
5
2
0.10944516
9944
269
5
2
0.64050045
9981
270
5
2
0.10864405
9871
267
5
3
0.46921175
9908
268
5
3
0.11204629
9945
269
5
3
0.72266838
9982
270
5
3
0.12060133
9872
267
5
4
0.5089012
9909
268
5
4
0.11949362
9946
269
5
4
0.61560676
9983
270
5
4
0.12326179

Norm 
Norm best 
biggest  Category  
Y est 
customer 
customer 
id
quadratic
(X 1 )
(X 2 )
0.25811209 0.256962
17
0.4841
0.27935103 0.2731646
17
0.5029
0.30766962 0.295443
17
0.497
0.43982301 0.4037975
17
0.0748
0.28879056 0.3197468
17
0.3445
0.24159292 0.2731646
17
0.2745
0.27227139 0.304557
17
0.3204
0.17315634 0.2063291
17
0.0931
0.28879056 0.4534177
17
0.3931
0.27463127 0.4301266
17
0.2492
0.30530973 0.4787342
17
0.5701
0.27699115 0.4341772
17
0.2726
0.31474926 0.3379747
17
0.3793
0.37138643 0.3926582
17
0.358
0.26283186 0.2893671
17
0.3329
0.30058997 0.3248101
17
0.3728

Where :
·
Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
·
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
·
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
·
Category id is product category (17 = Telephone)
·
Y est quadratic is prediction result data using quadratic regression

Universitas Sumatera Utara

Lampiran-3
DATA HASIL PERAMALAN DENGAN METODE REGRESI KUADRATIK
UNTUK JENIS DEMOGRAFI (6) : LATAR BELAKANG PENDIDIKAN (EDUCATION )

No

Data 
id

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

9873
9910
9947
9984
9874
9911
9948
9985
9875
9912
9949
9986
9876
9913
9950
9987
9877
9914
9951
9988
9878
9915
9952
9989
9879
9916
9953
9990

Norm 
Product  Data  Data type  average 
spending 
id
type
id
(Yo )
267
6
1
0.291801009
268
6
1
0.128286025
269
6
1
0.63256849
270
6
1
0.121471665
267
6
2
0.41264959
268
6
2
0.110048462
269
6
2
0.67196123
270
6
2
0.11083968
267
6
3
0.473078825
268
6
3
0.110552863
269
6
3
0.626802492
270
6
3
0.122717832
267
6
4
0.576036
268
6
4
0.1104144
269
6
4
0.695974681
270
6
4
0.124151914
267
6
5
0.576698645
268
6
5
0.111284739
269
6
5
0.750934626
270
6
5
0.132054198
267
6
6
0.581248146
268
6
6
0.109079221
269
6
6
0.729650875
270
6
6
0.123706854
267
6
7
0.568707348
268
6
7
0.115161705
269
6
7
0.788329542
270
6
7
0.147937889

Norm best 
customer 
(X 1 )
0.177876106
0.484660767
0.269911504
0.284070796
0.25339233
0.248672566
0.286430678
0.192035398
0.291150442
0.255752212
0.267551622
0.295870206
0.357227139
0.25339233
0.295870206
0.307669617
0.357227139
0.26519174
0.317109145
0.376106195
0.359587021
0.236873156
0.307669617
0.302949853
0.352507375
0.314749263
0.331268437
0.512979351

Norm 
biggest  Category  
Y est 
customer 
id
quadratic
(X 2 )
0.16582278
17
0.0165
0.35620253
17
0.1781
0.2235443
17
0.3572
0.23265823
17
0.3874
0.31772152
17
0.3419
0.31265823
17
0.3296
0.35518987
17
0.408
0.2478481
17
0.1217
0.31164557
17
0.4021
0.27822785
17
0.3322
0.28936709
17
0.36
0.31468354
17
0.4081
0.20835443
17
0.4877
0.1678481
17
0.3154
0.18405063
17
0.4214
0.18911392
17
0.4419
0.45240506
17
0.4295
0.34202532
17
0.3745
0.40582278
17
0.4414
0.4756962
17
0.4054
0.32278481
17
0.4321
0.22860759
17
0.2688
0.2843038
17
0.4198
0.28025316
17
0.4146
0.21848101
17
0.4786
0.20227848
17
0.4481
0.21037975
17
0.4657
0.28936709
17
0.1663

Where :
·
Product id is sub product of the product category i.e. 267 is cellular phone service, 268 is phone card,
269 is residential telephone service and pay phones and 270 is telephones, answering machines, and accessories.
·
Data type is demographic variation such as
1=age, 2=income, 3=household type, 4=race, 5=region and 6=education.
·
Data type id is variation of each demographics such as the age demographic variations are
1=Under age 25, 2=Age 25-34, 3=Age 35-44, 4=Age 45-54, 5= Age 55-64, 6=Age 65-74 and 7=Age 75 and older.
·
Category id is product category (17 = Telephone)
·
Y est quadratic is prediction result data using quadratic regression

Universitas Sumatera Utara

Lampiran-4
DATA HASIL MSE DAN R2 UNTUK KATEGORI PRODUK (17) TELEPON
AGE (1) DATA
Biggest 
Best 
Average 
No.
Spending  Customer  Customer 
Linear
Y2
(Y‐Ypred)2
Ypred
(X2)
(X1)
(Y)
1
0.4621 0.2840708 0.163797 0.21353641 0.3479
0.01304164
0.0144 0.4123
0.08543929
2
0.12 0.37610619 0.194177
3
0.3374 0.14955752 0.120253 0.11383876 0.2537
0.00700569
4
0.1054 0.14483776 0.119241 0.01110916 0.2504
0.021025
5
0.5544 0.34306785 0.296456 0.30735936 0.375
0.03218436
6
0.1194 0.36902655 0.315696 0.01425636 0.3918
0.07420176
7
0.6258 0.26755162 0.242785 0.39162564 0.3258
0.09
8
0.106 0.14955752 0.158734
0.011236 0.2489
0.02042041
9
0.5411 0.33362832 0.338987 0.29278921 0.3626
0.03186225
10
0.1226 0.40914454 0.405823 0.01503076 0.4102
0.08271376
11
0.7521 0.31710914 0.323797 0.56565441 0.3523
0.15984004
12
0.1202 0.27227139 0.284304 0.01444804 0.324
0.04153444
13
0.569 0.35250737 0.350127
0.323761 0.3752
0.03755844
14
0.1106 0.25575221 0.266076 0.01223236 0.3141
0.04141225
15
0.7691 0.32418879 0.326835 0.59151481 0.3572
0.16966161
16
0.1533 0.56017699 0.533418 0.02350089 0.5061
0.12446784
17
0.4444 0.27227139 0.230633 0.19749136 0.3308
0.01290496
18
0.107 0.20855457 0.190127
0.011449 0.2887
0.03301489
19
0.7608 0.32182891 0.262025 0.57881664 0.3636
0.15776784
20
0.1267 0.32890855 0.267089 0.01605289 0.3682
0.05832225
21
0.3002 0.18259587 0.142532 0.09012004 0.2754
0.00061504
22
0.1055 0.18967552 0.14557 0.01113025 0.2803
0.03055504
23
0.6847 0.29115044 0.187089 0.46881409 0.3502
0.11189025
24
0.1079 0.1660767 0.135443 0.01164241 0.2641
0.02439844
25
0.1769 0.10471976 0.111139 0.03129361 0.2217
0.00200704
26
0.1 0.11887906 0.117215
0.01 0.2314
0.01726596
27
0.5793 0.24867257 0.171899 0.33558849 0.3207
0.06687396
28
0.1088 0.17315634 0.140506 0.01183744 0.2687
0.02556801

28
9.1707

(ΣY)2 = 84.1017385
ΣY2 = 4.69052939
SST = (n‐1)*(((n*ΣY2)‐(ΣY)2)/(n*(n‐1)))   =

0.4542
0.1922
0.2138
0.1903
0.4276
0.4019
0.4093
0.0951
0.4613
0.4567
0.4484
0.3894
0.4647
0.3622
0.4533
0.1079
0.4243
0.3161
0.4294
0.4248
0.3142
0.3358
0.444
0.2566
‐0.0528
0.0296
0.4434
0.2773

MSE
R2

Purequadratic
(Y‐Ypred)2
Ypred

6.241E‐05

0.4697

5.776E‐05

0.00521284
0.01527696
0.00720801
0.01607824
0.07980625
0.04687225
0.00011881
0.00636804
0.11162281
0.09223369
0.07246864
0.01087849
0.06330256
0.09972964
0.00206116
0.00040401
0.04372281
0.10982596
0.08886361
0.000196
0.05303809
0.05793649
0.02211169
0.05276209
0.00495616
0.01846881
0.02839225

0.278
0.2092
0.1869
0.3864
0.3525
0.3926
0.1135
0.4899
0.4776
0.4775
0.4226
0.4805
0.3903
0.4754
0.0943
0.3963
0.3085
0.3863
0.3797
0.303
0.3233
0.4331
0.2491
‐0.0377
0.0385
0.4258
0.2682

0.024964
0.01643524
0.00664225
0.028224
0.05433561
0.05438224
5.625E‐05
0.00262144
0.126025
0.07540516
0.09144576
0.00783225
0.07823209
0.08625969
0.003481
0.00231361
0.04060225
0.14025025
0.064009
7.84E‐06
0.04743684
0.06330256
0.01993744
0.04605316
0.00378225
0.02356225
0.02540836

Measuring parameter
Code
Formula
SSE
 ∑ (Y‐Ypred)2 

So,
n =
ΣY  =

REGRESSION
Quadratic
(Y‐Ypred)2
Ypred

∑ (Y‐Ypred)2 /n
1‐(SSE/SST)

Linear
1.57355246

Regression
Quadratic
1.10997877

0.056198302 0.039642099
0.067190521 0.341999238

FUZZY LOGIC
Ypred
0.236
0.364
0.0937
0.035
0.326
0.356
0.168
0.0903
0.316
0.396
0.292
0.187
0.338
0.114
0.302
0.573
0.185
0.0844
0.297
0.307
0.0914
0.0909
0.245
0.0927
0.0921
0.0935
0.0868
0.0918

Purequadratic
1.13306555

(Y‐Ypred)2
0.05112121
0.059536
0.05938969
0.00495616
0.05216656
0.05597956
0.20958084
0.00024649
0.05067001
0.07474756
0.21169201
0.00446224
0.053361
0.00001156
0.21818241
0.17614809
0.06728836
0.00051076
0.21511044
0.03250809
0.04359744
0.00021316
0.19333609
0.00023104
0.00719104
4.225E‐05
0.24255625
0.000289

Fuzzy Logic
2.08512531

0.040466627 0.074468761
0.341999238 ‐0.23607233

1.686895873

where  SSE  is the sum of sequared errors, SST is the total sum of squares, MSE is Mean Squared Errors and R2 is coefficient of determination

Universitas Sumatera Utara

Lampiran-4
DATA HASIL MSE DAN R2 UNTUK KATEGORI PRODUK (17) TELEPON
INCOME (2) DATA
Best 
Biggest 
Average 
2
No.
Customer  Customer 
Y
Spending (Y)
(X1)
(X2)
1
0.253426961 0.151917 0.1951899 0.064225224
2
0.110968252 0.260472 0.3106329 0.012313953
3
0.501780239 0.215634 0.2640506 0.251783409
4
0.100187914
0.1
0.138481 0.010037618
5
0.370408466 0.227434 0.2640506 0.137202432
6
0.114360597
0.30295 0.3420253 0.013078346
7
0.63075858 0.267552 0.3065823 0.397856386
8
0.110770448 0.192035 0.2286076 0.012270092
9
0.441271882 0.272271 0.1810127 0.194720874
10
0.114597963
0.30767 0.1951899 0.013132693
11
0.701186826
0.29823 0.1911392 0.491662965
12
0.121906834 0.288791 0.1870886 0.014861276
13
0.558411631 0.345428 0.2832911
0.31182355
14
0.117268322 0.340708 0.2812658 0.013751859
15
0.742577391 0.314749
0.263038 0.551421182
16
0.115794679 0.234513 0.2103797 0.013408408
17
0.634744338 0.392625 0.1698734 0.402900374
18
0.1067748 0.206195 0.1253165 0.011400858
19
0.780803086 0.328909 0.1546835 0.609653459
20
0.120423301 0.274631
0.141519 0.014501772
21
0.704371477 0.437463 0.2205063 0.496139177
22
0.116388092 0.331268
0.183038 0.013546188
23
0.816684799 0.343068 0.1881013
0.66697406
24
0.146938977
0.5059 0.2437975 0.021591063
25
0.762585303 0.472861 0.3207595 0.581536345
26
0.110068243 0.248673 0.1972152 0.012115018
27
0.9 0.376106 0.2681013
0.81
28
0.172208486 0.725369 0.4594937 0.029655763
So,
n =
28
ΣY  = 10.47767

Linear
Ypred
0.2736
0.2956
0.2859
0.2638
0.2947
0.3112
0.3029
0.2864
0.3702
0.3893
0.3843
0.3794
0.3726
0.3701
0.3601
0.3272
0.4653
0.3494
0.4256
0.392
0.4729
0.413
0.4192
0.5119
0.4482
0.3444
0.4031
0.5654

(Y‐Ypred)
0.00040695
0.03408888
0.04660428
0.02676891
0.00573177
0.03874575
0.10749125
0.03084574
0.00505121
0.07546121
0.10041726
0.06630273
0.03452596
0.06392386
0.14628895
0.04469221
0.02871138
0.05886699
0.12616923
0.0737539
0.05357904
0.08797862
0.15799417
0.13319655
0.09883812
0.05491137
0.24690961
0.15459957

Measuring parameter
Formula
Code
SSE
 ∑ (Y‐Ypred)2 

(ΣY)2 =

109.7815
ΣY2 = 6.173564
2
2
SST = (n‐1)*(((n*ΣY )‐(ΣY) )/(n*(n‐1)))     =

2

REGRESSION
Quadratic
Purequadratic
2
2
Ypred
Ypred
(Y‐Ypred)
(Y‐Ypred)
0.1446
0.011843307
0.149 0.01090499
0.313
0.040816827
0.344 0.0543038
0.277
0.050526156 0.2947 0.04288223
‐0.0391
0.019401123 ‐0.0385 0.01923434
0.3059
0.004161342 0.3165 0.00290612
0.3374
0.049746575 0.3704 0.06555618
0.3371
0.086235361 0.3591 0.07379838
0.2452
0.018071304
0.25 0.01938487
0.3842
0.0032572 0.3672 0.00548664
0.4462
0.109959911 0.4299 0.09941537
0.4305
0.073271358
0.414 0.08247627
0.4139
0.085260009 0.3973 0.0758414
0.5068
0.00266376
0.482 0.00583874
0.5021
0.148095421 0.4778 0.12998309
0.4767
0.070690787 0.4533 0.08368141
0.3424
0.051349971 0.3244 0.04351618
0.4572
0.031521992 0.5014 0.01778071
0.1849
0.006103547 0.1794 0.00527442
0.3976
0.146844605 0.4174 0.1320618
0.319
0.039432705 0.3242 0.04152494
0.5503
0.02373802 0.5689 0.01835252
0.4532
0.113442261 0.4506 0.1116976
0.4703
0.119982429 0.4687 0.12109342
0.5594
0.170124095 0.5997 0.20499254
0.575
0.035188246 0.5471 0.04643392
0.3624
0.063671316 0.3415 0.05356066
0.5487
0.12341169
0.521
0.143641
0.1756
1.15024E‐05 0.1667 3.0343E‐05

MSE
2.2527956

R2

Linear

FUZZY LOGIC
Ypred
0.0899
0.145
0.0817
0.0922
0.0809
0.278
0.174
0.0841
0.195
0.273
0.257
0.239
0.329
0.323
0.286
0.0822
0.38
0.0946
0.314
0.219
0.424
0.311
0.326
0.509
0.461
0.0835
0.364
0.805

Regression
Quadratic
Purequadratic

2.10286 1.69882282
2
∑ (Y‐Ypred)  /n 0.0751 0.06067224
1‐(SSE/SST)
0.06656 0.2459046

2

(Y‐Ypred)
0.02674107
0.00115816
0.17646741
6.3807E‐05
0.08381515
0.02677785
0.2086284
0.00071131
0.06064984
0.02509121
0.19730194
0.01371081
0.0526297
0.04232552
0.20846291
0.0011286
0.06489468
0.00014823
0.21790512
0.00971737
0.07860816
0.03787379
0.24077157
0.13108818
0.0909537
0.00070587
0.287296
0.4004251
Fuzzy Logic

1.711653883

2.68605146

0.061130496
0.240208978

0.09593041

where  SSE  is the sum of sequared errors, SST is the total sum of squares, MSE is Mean Squared Errors and R2 is coefficient of determination

Universitas Sumatera Utara

TYPE HH (3) DATA
No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
So,

Average 
Spending (Y)
0.551429137
0.113668282
0.784432796
0.135268519
0.452170903
0.107753931
0.725259618
0.118979329
0.634882801
0.115616655
0.819266146
0.154653348
0.573929384
0.119503511
0.743309267
0.103491247
0.595766986
0.114785877
0.808179211
0.156275344
0.748491742
0.114538621
0.891069133
0.192344971
0.458401741
0.117851845
0.676134903
0.103560479
0.309642963
0.106300069
0.49546039
0.106962714

Best 
Customer 
(X1)
0.340708
0.29587
0.331268
0.404425
0.276991
0.217994
0.30767
0.262832
0.392625
0.319469
0.345428
0.571976
0.354867
0.371386
0.314749
0.128319
0.369027
0.310029
0.340708
0.586136
0.465782
0.30531
0.373746
0.9
0.281711
0.350147
0.286431
0.128319
0.187316
0.199115
0.213274
0.158997

Biggest 
Customer 
(X2)
0.723797
0.623544
0.701519
0.863544
0.301519
0.245823
0.328861
0.286329
0.456456
0.377468
0.403797
0.649873
0.151646
0.154684
0.142532
0.104051
0.268101
0.234684
0.251899
0.391646
0.215443
0.166835
0.187089
0.348101
0.147595
0.163797
0.148608
0.108101
0.256962
0.272152
0.289367
0.219494

2

Linear

Y

0.304074093
0.012920478
0.615334811
0.018297572
0.204458525
0.01161091
0.526001514
0.014156081
0.403076171
0.013367211
0.671197018
0.023917658
0.329394938
0.014281089
0.552508667
0.010710438
0.354938302
0.013175798
0.653153637
0.024421983
0.560239887
0.013119096
0.794004199
0.036996588
0.210132156
0.013889057
0.457158406
0.010724773
0.095878765
0.011299705
0.245480998
0.011441022

Ypred
0.3697
0.3665
0.369
0.3743
0.3749
0.368
0.3785
0.3733
0.3867
0.3785
0.3815
0.4067
0.3917
0.394
0.386
0.3596
0.3897
0.3821
0.3861
0.4178
0.406
0.3838
0.3933
0.4661
0.3809
0.3906
0.3816
0.3594
0.363
0.3643
0.3658
0.3601

Measuring parameter
Code
Formula

SSE
 ∑ (Y‐Ypred)

n =
32
ΣY  = 12.24938

(ΣY) =

150.0474

ΣY = 7.231362
2
2
SST = (n‐1)*(((n*ΣY )‐(ΣY) )/(n*(n‐1)))   =

2

(Y‐Ypred)
0.03302548
0.06392388
0.17258441
0.05713605
0.00597079
0.06772802
0.12024223
0.064679
0.0615947
0.06910765
0.1916392
0.06352751
0.03320755
0.07534832
0.12766991
0.06559169
0.0424636
0.07145684
0.17815086
0.06839515
0.11730059
0.07250169
0.24777411
0.07494182
0.00600652
0.07439156
0.08675081
0.06545386
0.00284697
0.06656396
0.01681182
0.06407849

REGRESSION
Quadratic
2
Ypred
(Y‐Ypred)
0.4288
0.015037905
0.4645
0.123082894
0.4406
0.118220992
0.2917
0.024470808
0.4136
0.001487715
0.312
0.041716457
0.4482
0.076762032
0.3929
0.075032534
0.4639
0.029235118
0.4581
0.117294842
0.4692
0.122546306
0.1519
7.58092E‐06
0.5133
0.003675922
0.5366
0.173969481
0.4496
0.086265134
0.0192
0.007105014
0.5083
0.007650474
0.4462
0.109835321
0.4827
0.105936717
0.4467
0.084346481
0.6091
0.019430058
0.4351
0.102759598
0.5322
0.128787054
0.1444
0.00229872
0.3916
0.004462473
0.5046
0.149574136
0.4003
0.076084893
0.0229
0.006506113
0.2655
0.001948601
0.2943
0.035343974
0.028954558
0.3253
0.1864
0.006310282

MSE
2.5423817

R2

Purequadratic
2
Ypred
(Y‐Ypred)
0.3472 0.04170954
0.3557 0.05857935
0.352 0.18699812
0.2891 0.02366412
0.4096 0.00181228
0.3163 0.04349146
0.4478 0.07698384
0.3895 0.07318143
0.5072 0.0163029
0.4576 0.11695261
0.4803 0.11489805
0.4484 0.0862871
0.4769 0.0094147
0.4912 0.13815828
0.4347 0.09523968
0.1084 2.4096E‐05
0.5065 0.00796859
0.4466 0.11010061
0.4807 0.10724263
0.5276
0.137882
0.5481 0.04015685
0.4297 0.09932669
0.4999 0.15301329
0.0564 0.01848104
0.3957 0.00393151
0.4756 0.12798374
0.4021 0.07509513
0.1097 3.7694E‐05
0.2618 0.00228895
0.2849 0.03189794
0.3109 0.03406254
0.2014 0.0089184

Linear

FUZZY LOGIC
Yp