Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

runing EM score codes in EG

Reply
Contributor
Posts: 65

runing EM score codes in EG

Hi ı am trying to fit a model via SAS EM Miner

But as soon as i estimate any models on EM, after checking its validation and trainning data outcomes

I am running score code of the model on new data i derived on EG

But every time i did run the code i am receiving the error i quoted bellow... 

NOTE: Character values have been converted to numeric values at the places given by: (Line)Smiley SadColumn).

      205:5   207:5   210:5  

NOTE: Numeric values have been converted to character values at the places given by: (Line)Smiley SadColumn).

      846:1    943:1    1099:1   3684:1  

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.OMER_SCORE_RPM4 may be incomplete.  When this step was stopped there were 0 observations and 158

         variables.

WARNING: Data set WORK.OMER_SCORE_RPM4 was not replaced because this step was stopped.

NOTE: DATA statement used (Total process time):

      real time           0.43 seconds

      cpu time            0.43 seconds

Although i have checked field names again and again i sitll couldnt find which regressor creates problem and halts session.

Do you have nay solutions to this isssue? Is there a way to see which variable causes te problerm..

Thank You Veriy Much

Super Contributor
Posts: 336

Re: runing EM score codes in EG

Hi Omer,

Just to understand how you are using your score code, are you grabbing the optimized SAS code from a Score node at the end of your diagram?

Find below one way to use your SAS Enterprise Miner code in a SAS Enterprise Guide project (or in base SAS).

1. Once you are done building your model, add a SAS Score Node (under the Assess tab) at the end of your diagram and run it. Notice that this node has the option Optimized Code set to Yes by default.

2. You have at least two ways to include in your EG project the optimized code that you just generated:

     2a. Create a data step code and copy your optimized score code between the set and run statements.

     For example:

          data mydeliverables.modelmay12;

          set mydata.testdata;

               /* Copy your Enterprise Miner optimized score code */

               /* And paste it here */

          run;

     2b. Alternatively you can skip the copy-paste if you are familiar with file and include statements.

          First locate your score code in your workspace folder. For example, the first scorecode in my first enterprise miner workspace is in the physical location "C:\All_Users\miguel\EMProj\dataminingproject\Workspaces\EMWS1\Score". In that folder there is a sas program called OptimizedCode.sas.

          Now all you have to do is to create data step code that includes your optimized code.

          For example:

               filename s C:\All_Users\miguel\EMProj\dataminingproject\Workspaces\EMWS1\Score\optimizedcode.sas";

               data mydeliverables.modelmay12;

               set mydata.testdata;

                  %include s;

               run;

I hope it helps.

Let me know if this worked for you!

-Miguel

Learner
Posts: 1

Re: runing EM score codes in EG

[ Edited ]

Miguel,

 

I tried to run the SAS EM - optimized score code in SAS EG by following the steps (2a) that you have mentioned.

data work.one; /* Place to store my scored data*/

set work.two; /* the data set to be scored*/

 

 

/* Optimized Score code from SAS EM*/

 

 

run;

 

But, I am getting work.one to be a empty data set with just the column headers.

 Can you help me with this issue?

 

Regards,

Bala

Contributor
Posts: 65

Re: runing EM score codes in EG

Hi Miguel

Thank you very much for your quick answer.

As you said i had executed one of my models scores exactly as you mentioned in 2a.

But for my second model i am continuously having the error i printed bellow

NOTE: Character values have been converted to numeric values at the places given by: (Line)Smiley SadColumn).

      205:5   207:5   210:5 

NOTE: Numeric values have been converted to character values at the places given by: (Line)Smiley SadColumn).

      846:1    943:1    1099:1   3684:1 

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.OMER_SCORE_RPM4 may be incomplete.  When this step was stopped there were 0 observations and 158

         variables.

WARNING: Data set WORK.OMER_SCORE_RPM4 was not replaced because this step was stopped.

NOTE: DATA statement used (Total process time):

      real time           0.43 seconds

      cpu time            0.43 seconds

I am sure that i have collected alll attributes of my modules data as a test data and i am still having this error above.

As error code is not so specific i am not sure of which variable is creating break in the rule

Super User
Posts: 17,840

Re: runing EM score codes in EG

The error code is fairly specific in telling you which lines to look at.

Check the variables referred to at those points in the code.

For example, post lines 486, 943, 1099 and 3684 if you're not sure.

NOTE: Numeric values have been converted to character values at the places given by: (Line)Smiley SadColumn).

      846:1    943:1    1099:1   3684:1 

Contributor
Posts: 65

Re: runing EM score codes in EG

unfortunately this rows corresponds to variables which are converted to character values from number values. However logs says that only the length is inappropriate and its corrected.

Super User
Posts: 17,840

Re: runing EM score codes in EG

Those are just notes really and shouldn't error out the process.


Can you post the full log?

Contributor
Posts: 65

Re: runing EM score codes in EG

Hi here i printed the log

Thanks

NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR

13        

14         GOPTIONS ACCESSIBLE;

15         data OMER_SCORE_RPM4;

16         set WORK.OZ_YENI_DATA_REV1;

17         *------------------------------------------------------------*;

18         * EM SCORE CODE;

19         * EM Version: 12.1;

20         * SAS Release: 9.03.01M2P081512;

21         * Host: dc1vmsassrv01;

22         * Encoding: latin5;

23         * Locale: en_US;

24         * Project Path: /sasdata/EMiner_Projects;

25         * Project Name: RPM_OZ_03052014;

26         * Diagram Id: EMWS3;

27         * Diagram Name: ikinci_gun;

28         * Generated by: ozeybek;

29         * Date: 09MAY2014:10:35:15;

30         *------------------------------------------------------------*;

31         *------------------------------------------------------------*;

32         * TOOL: Input Data Source;

33         * TYPE: SAMPLE;

34         * NODE: Ids;

35         *------------------------------------------------------------*;

36         *------------------------------------------------------------*;

37         * TOOL: Sampling Class;

38         * TYPE: SAMPLE;

39         * NODE: Smpl2;

40         *------------------------------------------------------------*;

41         *------------------------------------------------------------*;

42         * TOOL: Partition Class;

43         * TYPE: SAMPLE;

44         * NODE: Part2;

45         *------------------------------------------------------------*;

46         *------------------------------------------------------------*;

47         * TOOL: Filtering;

48         * TYPE: MODIFY;

49         * NODE: Filter2;

50         *------------------------------------------------------------*;

51         *------------------------------------------------------------*;

52         * TOOL: Transform;

53         * TYPE: MODIFY;

54         * NODE: Trans2;

2                                                          The SAS System                                08:57 Tuesday, May 13, 2014

55         *------------------------------------------------------------*;

56         label OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL = 'Transformed AVG_of_KK_SON_AY_LIMIT_DOLULUK';

57         length OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL $28;

58         if (AVG_of_KK_SON_AY_LIMIT_DOLULUK eq .) then OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL="01:low-0.0012847, MISSING";

59         else

60         if (AVG_of_KK_SON_AY_LIMIT_DOLULUK < 0.0012846667) then

61         OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL = "01:low-0.0012847, MISSING";

62         else

63         if (AVG_of_KK_SON_AY_LIMIT_DOLULUK >= 0.0012846667 and AVG_of_KK_SON_AY_LIMIT_DOLULUK < 0.1073376667) then

64         OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL = "02:0.0012847-0.1073377";

65         else

66         if (AVG_of_KK_SON_AY_LIMIT_DOLULUK >= 0.1073376667 and AVG_of_KK_SON_AY_LIMIT_DOLULUK < 0.3397133333) then

67         OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL = "03:0.1073377-0.3397133";

68         else

69         if (AVG_of_KK_SON_AY_LIMIT_DOLULUK >= 0.3397133333) then

70         OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL = "04:0.3397133-high";

71         label OPT_AVG_of_SON_3_AY_ORTALAMA_LIM = 'Transformed AVG_of_SON_3_AY_ORTALAMA_LIMIT_D';

72         length OPT_AVG_of_SON_3_AY_ORTALAMA_LIM $28;

73         if (AVG_of_SON_3_AY_ORTALAMA_LIMIT_D eq .) then OPT_AVG_of_SON_3_AY_ORTALAMA_LIM="01:low-0.0022574, MISSING";

74         else

75         if (AVG_of_SON_3_AY_ORTALAMA_LIMIT_D < 0.0022574074) then

76         OPT_AVG_of_SON_3_AY_ORTALAMA_LIM = "01:low-0.0022574, MISSING";

77         else

78         if (AVG_of_SON_3_AY_ORTALAMA_LIMIT_D >= 0.0022574074 and AVG_of_SON_3_AY_ORTALAMA_LIMIT_D < 0.069455) then

79         OPT_AVG_of_SON_3_AY_ORTALAMA_LIM = "02:0.0022574-0.069455";

80         else

81         if (AVG_of_SON_3_AY_ORTALAMA_LIMIT_D >= 0.069455 and AVG_of_SON_3_AY_ORTALAMA_LIMIT_D < 0.3916619444) then

82         OPT_AVG_of_SON_3_AY_ORTALAMA_LIM = "03:0.069455-0.3916619";

83         else

84         if (AVG_of_SON_3_AY_ORTALAMA_LIMIT_D >= 0.3916619444) then

85         OPT_AVG_of_SON_3_AY_ORTALAMA_LIM = "04:0.3916619-high";

86         label OPT_BNK_KMH_SON_3_AY_ORT = 'Transformed BNK_KMH_SON_3_AY_ORT';

87         length OPT_BNK_KMH_SON_3_AY_ORT $28;

88         if (BNK_KMH_SON_3_AY_ORT eq .) then OPT_BNK_KMH_SON_3_AY_ORT="01:low-5.3166667, MISSING";

89         else

90         if (BNK_KMH_SON_3_AY_ORT < 5.3166666667) then

91         OPT_BNK_KMH_SON_3_AY_ORT = "01:low-5.3166667, MISSING";

92         else

93         if (BNK_KMH_SON_3_AY_ORT >= 5.3166666667 and BNK_KMH_SON_3_AY_ORT < 26.140833333) then

94         OPT_BNK_KMH_SON_3_AY_ORT = "02:5.3166667-26.140833";

95         else

96         if (BNK_KMH_SON_3_AY_ORT >= 26.140833333 and BNK_KMH_SON_3_AY_ORT < 81.158333333) then

97         OPT_BNK_KMH_SON_3_AY_ORT = "03:26.140833-81.158333";

98         else

99         if (BNK_KMH_SON_3_AY_ORT >= 81.158333333) then

100        OPT_BNK_KMH_SON_3_AY_ORT = "04:81.158333-high";

101        label OPT_BNK_KMH_SON_5_AY_ORT = 'Transformed BNK_KMH_SON_5_AY_ORT';

102        length OPT_BNK_KMH_SON_5_AY_ORT $28;

103        if (BNK_KMH_SON_5_AY_ORT eq .) then OPT_BNK_KMH_SON_5_AY_ORT="01:low-2.1283333, MISSING";

104        else

105        if (BNK_KMH_SON_5_AY_ORT < 2.1283333333) then

106        OPT_BNK_KMH_SON_5_AY_ORT = "01:low-2.1283333, MISSING";

107        else

108        if (BNK_KMH_SON_5_AY_ORT >= 2.1283333333 and BNK_KMH_SON_5_AY_ORT < 27.5225) then

109        OPT_BNK_KMH_SON_5_AY_ORT = "02:2.1283333-27.5225";

110        else

111        if (BNK_KMH_SON_5_AY_ORT >= 27.5225 and BNK_KMH_SON_5_AY_ORT < 123.92433333) then

112        OPT_BNK_KMH_SON_5_AY_ORT = "03:27.5225-123.92433";

3                                                          The SAS System                                08:57 Tuesday, May 13, 2014

113        else

114        if (BNK_KMH_SON_5_AY_ORT >= 123.92433333) then

115        OPT_BNK_KMH_SON_5_AY_ORT = "04:123.92433-high";

116        label OPT_BNK_MAAS_SON_3_AY_ORT = 'Transformed BNK_MAAS_SON_3_AY_ORT';

117        length OPT_BNK_MAAS_SON_3_AY_ORT $28;

118        if (BNK_MAAS_SON_3_AY_ORT eq .) then OPT_BNK_MAAS_SON_3_AY_ORT="01:low-2445.2333, MISSING";

119        else

120        if (BNK_MAAS_SON_3_AY_ORT < 2445.2333333) then

121        OPT_BNK_MAAS_SON_3_AY_ORT = "01:low-2445.2333, MISSING";

122        else

123        if (BNK_MAAS_SON_3_AY_ORT >= 2445.2333333 and BNK_MAAS_SON_3_AY_ORT < 5111.4125) then

124        OPT_BNK_MAAS_SON_3_AY_ORT = "02:2445.2333-5111.4125";

125        else

126        if (BNK_MAAS_SON_3_AY_ORT >= 5111.4125) then

127        OPT_BNK_MAAS_SON_3_AY_ORT = "03:5111.4125-high";

128        label OPT_BNK_MAAS_SON_6_AY_ORT = 'Transformed BNK_MAAS_SON_6_AY_ORT';

129        length OPT_BNK_MAAS_SON_6_AY_ORT $28;

130        if (BNK_MAAS_SON_6_AY_ORT eq .) then OPT_BNK_MAAS_SON_6_AY_ORT="01:low-2277.9483, MISSING";

131        else

132        if (BNK_MAAS_SON_6_AY_ORT < 2277.9483333) then

133        OPT_BNK_MAAS_SON_6_AY_ORT = "01:low-2277.9483, MISSING";

134        else

135        if (BNK_MAAS_SON_6_AY_ORT >= 2277.9483333) then

136        OPT_BNK_MAAS_SON_6_AY_ORT = "02:2277.9483-high";

137        label OPT_BNK_MAAS_SON_AY_TUTAR = 'Transformed BNK_MAAS_SON_AY_TUTAR';

138        length OPT_BNK_MAAS_SON_AY_TUTAR $24;

139        if (BNK_MAAS_SON_AY_TUTAR eq .) then OPT_BNK_MAAS_SON_AY_TUTAR="01:low-2345.165, MISSING";

140        else

141        if (BNK_MAAS_SON_AY_TUTAR < 2345.165) then

142        OPT_BNK_MAAS_SON_AY_TUTAR = "01:low-2345.165, MISSING";

143        else

144        if (BNK_MAAS_SON_AY_TUTAR >= 2345.165) then

145        OPT_BNK_MAAS_SON_AY_TUTAR = "02:2345.165-high";

146        label OPT_BNK_SON_3_AY_ORTALAMA_TAUM = 'Transformed: BNK_SON_3_AY_ORTALAMA_TAUM';

147        length OPT_BNK_SON_3_AY_ORTALAMA_TAUM $22;

148        if (BNK_SON_3_AY_ORTALAMA_TAUM eq .) then OPT_BNK_SON_3_AY_ORTALAMA_TAUM="01:low-18.275, MISSING";

149        else

150        if (BNK_SON_3_AY_ORTALAMA_TAUM < 18.275) then

151        OPT_BNK_SON_3_AY_ORTALAMA_TAUM = "01:low-18.275, MISSING";

152        else

153        if (BNK_SON_3_AY_ORTALAMA_TAUM >= 18.275 and BNK_SON_3_AY_ORTALAMA_TAUM < 9174.9133333) then

154        OPT_BNK_SON_3_AY_ORTALAMA_TAUM = "02:18.275-9174.9133";

155        else

156        if (BNK_SON_3_AY_ORTALAMA_TAUM >= 9174.9133333) then

157        OPT_BNK_SON_3_AY_ORTALAMA_TAUM = "03:9174.9133-high";

158        label OPT_DEM_ILK_KART_SURE_AY = 'Transformed: DEM_ILK_KART_SURE_AY';

159        length OPT_DEM_ILK_KART_SURE_AY $21;

160        if (DEM_ILK_KART_SURE_AY eq .) then OPT_DEM_ILK_KART_SURE_AY="04:28.5-high, MISSING";

161        else

162        if (DEM_ILK_KART_SURE_AY < 4.5) then

163        OPT_DEM_ILK_KART_SURE_AY = "01:low-4.5";

164        else

165        if (DEM_ILK_KART_SURE_AY >= 4.5 and DEM_ILK_KART_SURE_AY < 10.5) then

166        OPT_DEM_ILK_KART_SURE_AY = "02:4.5-10.5";

167        else

168        if (DEM_ILK_KART_SURE_AY >= 10.5 and DEM_ILK_KART_SURE_AY < 28.5) then

169        OPT_DEM_ILK_KART_SURE_AY = "03:10.5-28.5";

170        else

4                                                          The SAS System                                08:57 Tuesday, May 13, 2014

171        if (DEM_ILK_KART_SURE_AY >= 28.5) then

172        OPT_DEM_ILK_KART_SURE_AY = "04:28.5-high, MISSING";

173        label OPT_DEM_Musteri_Omru_Yil = 'Transformed: DEM_Musteri_Omru_Yil';

174        length OPT_DEM_Musteri_Omru_Yil $20;

175        if (DEM_Musteri_Omru_Yil eq .) then OPT_DEM_Musteri_Omru_Yil="04:4.5-high, MISSING";

176        else

177        if (DEM_Musteri_Omru_Yil < 0.5) then

178        OPT_DEM_Musteri_Omru_Yil = "01:low-0.5";

179        else

180        if (DEM_Musteri_Omru_Yil >= 0.5 and DEM_Musteri_Omru_Yil < 1.5) then

181        OPT_DEM_Musteri_Omru_Yil = "02:0.5-1.5";

182        else

183        if (DEM_Musteri_Omru_Yil >= 1.5 and DEM_Musteri_Omru_Yil < 4.5) then

184        OPT_DEM_Musteri_Omru_Yil = "03:1.5-4.5";

185        else

186        if (DEM_Musteri_Omru_Yil >= 4.5) then

187        OPT_DEM_Musteri_Omru_Yil = "04:4.5-high, MISSING";

188        label OPT_Dem_Musteri_Omru_Ay = 'Transformed: Dem_Musteri_Omru_Ay';

189        length OPT_Dem_Musteri_Omru_Ay $21;

190        if (Dem_Musteri_Omru_Ay eq .) then OPT_Dem_Musteri_Omru_Ay="04:54.5-high, MISSING";

191        else

192        if (Dem_Musteri_Omru_Ay < 3.5) then

193        OPT_Dem_Musteri_Omru_Ay = "01:low-3.5";

194        else

195        if (Dem_Musteri_Omru_Ay >= 3.5 and Dem_Musteri_Omru_Ay < 18.5) then

196        OPT_Dem_Musteri_Omru_Ay = "02:3.5-18.5";

197        else

198        if (Dem_Musteri_Omru_Ay >= 18.5 and Dem_Musteri_Omru_Ay < 54.5) then

199        OPT_Dem_Musteri_Omru_Ay = "03:18.5-54.5";

200        else

201        if (Dem_Musteri_Omru_Ay >= 54.5) then

202        OPT_Dem_Musteri_Omru_Ay = "04:54.5-high, MISSING";

203        label OPT_Dem_Musteri_Yas = 'Transformed Dem_Musteri_Yas';

204        length OPT_Dem_Musteri_Yas $20;

205        if (Dem_Musteri_Yas eq .) then OPT_Dem_Musteri_Yas="01:low-46.5, MISSING";

206        else

207        if (Dem_Musteri_Yas < 46.5) then

208        OPT_Dem_Musteri_Yas = "01:low-46.5, MISSING";

209        else

210        if (Dem_Musteri_Yas >= 46.5) then

211        OPT_Dem_Musteri_Yas = "02:46.5-high";

212        label OPT_KK_BONUS_HARC_SON_3_AY_ORT = 'Transformed KK_BONUS_HARC_SON_3_AY_ORT';

213        length OPT_KK_BONUS_HARC_SON_3_AY_ORT $21;

214        if (KK_BONUS_HARC_SON_3_AY_ORT eq .) then OPT_KK_BONUS_HARC_SON_3_AY_ORT="01:low-0.005, MISSING";

215        else

216        if (KK_BONUS_HARC_SON_3_AY_ORT < 0.005) then

217        OPT_KK_BONUS_HARC_SON_3_AY_ORT = "01:low-0.005, MISSING";

218        else

219        if (KK_BONUS_HARC_SON_3_AY_ORT >= 0.005 and KK_BONUS_HARC_SON_3_AY_ORT < 13.795) then

220        OPT_KK_BONUS_HARC_SON_3_AY_ORT = "02:0.005-13.795";

221        else

222        if (KK_BONUS_HARC_SON_3_AY_ORT >= 13.795) then

223        OPT_KK_BONUS_HARC_SON_3_AY_ORT = "03:13.795-high";

224        label OPT_KK_BONUS_HARC_SON_6_AY_ORT = 'Transformed KK_BONUS_HARC_SON_6_AY_ORT';

225        length OPT_KK_BONUS_HARC_SON_6_AY_ORT $21;

226        if (KK_BONUS_HARC_SON_6_AY_ORT eq .) then OPT_KK_BONUS_HARC_SON_6_AY_ORT="01:low-0.005, MISSING";

227        else

228        if (KK_BONUS_HARC_SON_6_AY_ORT < 0.005) then

5                                                          The SAS System                                08:57 Tuesday, May 13, 2014

229        OPT_KK_BONUS_HARC_SON_6_AY_ORT = "01:low-0.005, MISSING";

230        else

231        if (KK_BONUS_HARC_SON_6_AY_ORT >= 0.005 and KK_BONUS_HARC_SON_6_AY_ORT < 11.22625) then

232        OPT_KK_BONUS_HARC_SON_6_AY_ORT = "02:0.005-11.22625";

233        else

234        if (KK_BONUS_HARC_SON_6_AY_ORT >= 11.22625) then

235        OPT_KK_BONUS_HARC_SON_6_AY_ORT = "03:11.22625-high";

236        label OPT_KK_REVOLVE_SON_6AY_ORT = 'Transformed KK_REVOLVE_SON_6AY_ORT';

237        length OPT_KK_REVOLVE_SON_6AY_ORT $22;

238        if (KK_REVOLVE_SON_6AY_ORT eq .) then OPT_KK_REVOLVE_SON_6AY_ORT="01:low-2.5555, MISSING";

239        else

240        if (KK_REVOLVE_SON_6AY_ORT < 2.5555) then

241        OPT_KK_REVOLVE_SON_6AY_ORT = "01:low-2.5555, MISSING";

242        else

243        if (KK_REVOLVE_SON_6AY_ORT >= 2.5555 and KK_REVOLVE_SON_6AY_ORT < 61.456666667) then

244        OPT_KK_REVOLVE_SON_6AY_ORT = "02:2.5555-61.456667";

245        else

246        if (KK_REVOLVE_SON_6AY_ORT >= 61.456666667) then

247        OPT_KK_REVOLVE_SON_6AY_ORT = "03:61.456667-high";

248        label OPT_KK_REV_SON_3AY_ORT = 'Transformed KK_REV_SON_3AY_ORT';

249        length OPT_KK_REV_SON_3AY_ORT $28;

250        if (KK_REV_SON_3AY_ORT eq .) then OPT_KK_REV_SON_3AY_ORT="01:low-2.91, MISSING";

251        else

252        if (KK_REV_SON_3AY_ORT < 2.91) then

253        OPT_KK_REV_SON_3AY_ORT = "01:low-2.91, MISSING";

254        else

255        if (KK_REV_SON_3AY_ORT >= 2.91 and KK_REV_SON_3AY_ORT < 22.668333333) then

256        OPT_KK_REV_SON_3AY_ORT = "02:2.91-22.668333";

257        else

258        if (KK_REV_SON_3AY_ORT >= 22.668333333 and KK_REV_SON_3AY_ORT < 81.838333333) then

259        OPT_KK_REV_SON_3AY_ORT = "03:22.668333-81.838333";

260        else

261        if (KK_REV_SON_3AY_ORT >= 81.838333333) then

262        OPT_KK_REV_SON_3AY_ORT = "04:81.838333-high";

263        label OPT_KK_REV_SON_AY = 'Transformed KK_REV_SON_AY';

264        length OPT_KK_REV_SON_AY $20;

265        if (KK_REV_SON_AY eq .) then OPT_KK_REV_SON_AY="01:low-5.04, MISSING";

266        else

267        if (KK_REV_SON_AY < 5.04) then

268        OPT_KK_REV_SON_AY = "01:low-5.04, MISSING";

269        else

270        if (KK_REV_SON_AY >= 5.04 and KK_REV_SON_AY < 100.2) then

271        OPT_KK_REV_SON_AY = "02:5.04-100.2";

272        else

273        if (KK_REV_SON_AY >= 100.2) then

274        OPT_KK_REV_SON_AY = "03:100.2-high";

275        label OPT_KK_SON_6_AY_ORT_BORC = 'Transformed KK_SON_6_AY_ORT_BORC';

276        length OPT_KK_SON_6_AY_ORT_BORC $25;

277        if (KK_SON_6_AY_ORT_BORC eq .) then OPT_KK_SON_6_AY_ORT_BORC="04:240.0675-high, MISSING";

278        else

279        if (KK_SON_6_AY_ORT_BORC < 7.505) then

280        OPT_KK_SON_6_AY_ORT_BORC = "01:low-7.505";

281        else

282        if (KK_SON_6_AY_ORT_BORC >= 7.505 and KK_SON_6_AY_ORT_BORC < 84.691833333) then

283        OPT_KK_SON_6_AY_ORT_BORC = "02:7.505-84.691833";

284        else

285        if (KK_SON_6_AY_ORT_BORC >= 84.691833333 and KK_SON_6_AY_ORT_BORC < 240.0675) then

286        OPT_KK_SON_6_AY_ORT_BORC = "03:84.691833-240.0675";

6                                                          The SAS System                                08:57 Tuesday, May 13, 2014

287        else

288        if (KK_SON_6_AY_ORT_BORC >= 240.0675) then

289        OPT_KK_SON_6_AY_ORT_BORC = "04:240.0675-high, MISSING";

290        label OPT_KK_SON_AY_NA = 'Transformed KK_SON_AY_NA';

291        length OPT_KK_SON_AY_NA $17;

292        if (KK_SON_AY_NA eq .) then OPT_KK_SON_AY_NA="01:low-5, MISSING";

293        else

294        if (KK_SON_AY_NA < 5) then

295        OPT_KK_SON_AY_NA = "01:low-5, MISSING";

296        else

297        if (KK_SON_AY_NA >= 5) then

298        OPT_KK_SON_AY_NA = "02:5-high";

299        label OPT_KK_SON_AY_TOPLAM_BORC = 'Transformed KK_SON_AY_TOPLAM_BORC';

300        length OPT_KK_SON_AY_TOPLAM_BORC $20;

301        if (KK_SON_AY_TOPLAM_BORC eq .) then OPT_KK_SON_AY_TOPLAM_BORC="01:low-5.11, MISSING";

302        else

303        if (KK_SON_AY_TOPLAM_BORC < 5.11) then

304        OPT_KK_SON_AY_TOPLAM_BORC = "01:low-5.11, MISSING";

305        else

306        if (KK_SON_AY_TOPLAM_BORC >= 5.11 and KK_SON_AY_TOPLAM_BORC < 90.02) then

307        OPT_KK_SON_AY_TOPLAM_BORC = "02:5.11-90.02";

308        else

309        if (KK_SON_AY_TOPLAM_BORC >= 90.02 and KK_SON_AY_TOPLAM_BORC < 259.265) then

310        OPT_KK_SON_AY_TOPLAM_BORC = "03:90.02-259.265";

311        else

312        if (KK_SON_AY_TOPLAM_BORC >= 259.265) then

313        OPT_KK_SON_AY_TOPLAM_BORC = "04:259.265-high";

314        label OPT_KK_TAK_HARCAMA_SON_3_AY_ORT = 'Transformed KK_TAK_HARCAMA_SON_3_AY_ORT';

315        length OPT_KK_TAK_HARCAMA_SON_3_AY_ORT $20;

316        if (KK_TAK_HARCAMA_SON_3_AY_ORT eq .) then OPT_KK_TAK_HARCAMA_SON_3_AY_ORT="01:low-1, MISSING";

317        else

318        if (KK_TAK_HARCAMA_SON_3_AY_ORT < 1) then

319        OPT_KK_TAK_HARCAMA_SON_3_AY_ORT = "01:low-1, MISSING";

320        else

321        if (KK_TAK_HARCAMA_SON_3_AY_ORT >= 1 and KK_TAK_HARCAMA_SON_3_AY_ORT < 381.00666667) then

322        OPT_KK_TAK_HARCAMA_SON_3_AY_ORT = "02:1-381.00667";

323        else

324        if (KK_TAK_HARCAMA_SON_3_AY_ORT >= 381.00666667) then

325        OPT_KK_TAK_HARCAMA_SON_3_AY_ORT = "03:381.00667-high";

326        label OPT_KK_TAK_HARCAMA_SON_6_AY_ORT = 'Transformed KK_TAK_HARCAMA_SON_6_AY_ORT';

327        length OPT_KK_TAK_HARCAMA_SON_6_AY_ORT $21;

328        if (KK_TAK_HARCAMA_SON_6_AY_ORT eq .) then OPT_KK_TAK_HARCAMA_SON_6_AY_ORT="01:low-6.125, MISSING";

329        else

330        if (KK_TAK_HARCAMA_SON_6_AY_ORT < 6.125) then

331        OPT_KK_TAK_HARCAMA_SON_6_AY_ORT = "01:low-6.125, MISSING";

332        else

333        if (KK_TAK_HARCAMA_SON_6_AY_ORT >= 6.125 and KK_TAK_HARCAMA_SON_6_AY_ORT < 449.89166667) then

334        OPT_KK_TAK_HARCAMA_SON_6_AY_ORT = "02:6.125-449.89167";

335        else

336        if (KK_TAK_HARCAMA_SON_6_AY_ORT >= 449.89166667) then

337        OPT_KK_TAK_HARCAMA_SON_6_AY_ORT = "03:449.89167-high";

338        label OPT_KK_TAK_HARCAMa_SON_AY_TUTAR = 'Transformed KK_TAK_HARCAMa_SON_AY_TUTAR';

339        length OPT_KK_TAK_HARCAMa_SON_AY_TUTAR $20;

340        if (KK_TAK_HARCAMa_SON_AY_TUTAR eq .) then OPT_KK_TAK_HARCAMa_SON_AY_TUTAR="01:low-14.9, MISSING";

341        else

342        if (KK_TAK_HARCAMa_SON_AY_TUTAR < 14.9) then

343        OPT_KK_TAK_HARCAMa_SON_AY_TUTAR = "01:low-14.9, MISSING";

344        else

7                                                          The SAS System                                08:57 Tuesday, May 13, 2014

345        if (KK_TAK_HARCAMa_SON_AY_TUTAR >= 14.9 and KK_TAK_HARCAMa_SON_AY_TUTAR < 1050.475) then

346        OPT_KK_TAK_HARCAMa_SON_AY_TUTAR = "02:14.9-1050.475";

347        else

348        if (KK_TAK_HARCAMa_SON_AY_TUTAR >= 1050.475) then

349        OPT_KK_TAK_HARCAMa_SON_AY_TUTAR = "03:1050.475-high";

350        label OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA = 'Transformed KK_TEK_CEKIM_SON_3_AY_ORTALAMA';

351        length OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA $20;

352        if (KK_TEK_CEKIM_SON_3_AY_ORTALAMA eq .) then OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA="01:low-0.12, MISSING";

353        else

354        if (KK_TEK_CEKIM_SON_3_AY_ORTALAMA < 0.12) then

355        OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA = "01:low-0.12, MISSING";

356        else

357        if (KK_TEK_CEKIM_SON_3_AY_ORTALAMA >= 0.12 and KK_TEK_CEKIM_SON_3_AY_ORTALAMA < 625.53333333) then

358        OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA = "02:0.12-625.53333";

359        else

360        if (KK_TEK_CEKIM_SON_3_AY_ORTALAMA >= 625.53333333) then

361        OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA = "03:625.53333-high";

362        label OPT_KK_TEK_CEKIM_SON_AY = 'Transformed KK_TEK_CEKIM_SON_AY';

363        length OPT_KK_TEK_CEKIM_SON_AY $21;

364        if (KK_TEK_CEKIM_SON_AY eq .) then OPT_KK_TEK_CEKIM_SON_AY="01:low-0.795, MISSING";

365        else

366        if (KK_TEK_CEKIM_SON_AY < 0.795) then

367        OPT_KK_TEK_CEKIM_SON_AY = "01:low-0.795, MISSING";

368        else

369        if (KK_TEK_CEKIM_SON_AY >= 0.795 and KK_TEK_CEKIM_SON_AY < 491.23) then

370        OPT_KK_TEK_CEKIM_SON_AY = "02:0.795-491.23";

371        else

372        if (KK_TEK_CEKIM_SON_AY >= 491.23) then

373        OPT_KK_TEK_CEKIM_SON_AY = "03:491.23-high";

374        label OPT_MUSTERI_NO = 'Transformed: MUSTERI_NO';

375        length OPT_MUSTERI_NO $24;

376        if (MUSTERI_NO eq .) then OPT_MUSTERI_NO="01:low-8772962, MISSING";

377        else

378        if (MUSTERI_NO < 8772962) then

379        OPT_MUSTERI_NO = "01:low-8772962, MISSING";

380        else

381        if (MUSTERI_NO >= 8772962 and MUSTERI_NO < 10049966.5) then

382        OPT_MUSTERI_NO = "02:8772962-10049967";

383        else

384        if (MUSTERI_NO >= 10049966.5 and MUSTERI_NO < 11800123.5) then

385        OPT_MUSTERI_NO = "03:10049967-11800124";

386        else

387        if (MUSTERI_NO >= 11800123.5) then

388        OPT_MUSTERI_NO = "04:11800124-high";

389        label OPT_SON_3_AY_AKRYKT_TUTAR_TL = 'Transformed: SON_3_AY_AKRYKT_TUTAR_TL';

390        length OPT_SON_3_AY_AKRYKT_TUTAR_TL $16;

391        if (SON_3_AY_AKRYKT_TUTAR_TL eq .) then OPT_SON_3_AY_AKRYKT_TUTAR_TL="_MISSING_";

392        else

393        if (SON_3_AY_AKRYKT_TUTAR_TL < 1.655) then

394        OPT_SON_3_AY_AKRYKT_TUTAR_TL = "01:low-1.655";

395        else

396        if (SON_3_AY_AKRYKT_TUTAR_TL >= 1.655 and SON_3_AY_AKRYKT_TUTAR_TL < 559.975) then

397        OPT_SON_3_AY_AKRYKT_TUTAR_TL = "02:1.655-559.975";

398        else

399        if (SON_3_AY_AKRYKT_TUTAR_TL >= 559.975) then

400        OPT_SON_3_AY_AKRYKT_TUTAR_TL = "03:559.975-high";

401        label OPT_SON_3_AY_EV_TKSTL_TUTAR_TL = 'Transformed: SON_3_AY_EV_TKSTL_TUTAR_TL';

402        length OPT_SON_3_AY_EV_TKSTL_TUTAR_TL $12;

8                                                          The SAS System                                08:57 Tuesday, May 13, 2014

403        if (SON_3_AY_EV_TKSTL_TUTAR_TL eq .) then OPT_SON_3_AY_EV_TKSTL_TUTAR_TL="_MISSING_";

404        else

405        if (SON_3_AY_EV_TKSTL_TUTAR_TL < 0.75) then

406        OPT_SON_3_AY_EV_TKSTL_TUTAR_TL = "01:low-0.75";

407        else

408        if (SON_3_AY_EV_TKSTL_TUTAR_TL >= 0.75) then

409        OPT_SON_3_AY_EV_TKSTL_TUTAR_TL = "02:0.75-high";

410        label OPT_SON_3_AY_GIDA_TUTAR_TL = 'Transformed: SON_3_AY_GIDA_TUTAR_TL';

411        length OPT_SON_3_AY_GIDA_TUTAR_TL $14;

412        if (SON_3_AY_GIDA_TUTAR_TL eq .) then OPT_SON_3_AY_GIDA_TUTAR_TL="_MISSING_";

413        else

414        if (SON_3_AY_GIDA_TUTAR_TL < 0.5) then

415        OPT_SON_3_AY_GIDA_TUTAR_TL = "01:low-0.5";

416        else

417        if (SON_3_AY_GIDA_TUTAR_TL >= 0.5 and SON_3_AY_GIDA_TUTAR_TL < 655.67) then

418        OPT_SON_3_AY_GIDA_TUTAR_TL = "02:0.5-655.67";

419        else

420        if (SON_3_AY_GIDA_TUTAR_TL >= 655.67) then

421        OPT_SON_3_AY_GIDA_TUTAR_TL = "03:655.67-high";

422        label OPT_SON_3_AY_SGLK_TUTAR_TL = 'Transformed: SON_3_AY_SGLK_TUTAR_TL';

423        length OPT_SON_3_AY_SGLK_TUTAR_TL $25;

424        if (SON_3_AY_SGLK_TUTAR_TL eq .) then OPT_SON_3_AY_SGLK_TUTAR_TL="03:412.075-434.6, MISSING";

425        else

426        if (SON_3_AY_SGLK_TUTAR_TL < 1.325) then

427        OPT_SON_3_AY_SGLK_TUTAR_TL = "01:low-1.325";

428        else

429        if (SON_3_AY_SGLK_TUTAR_TL >= 1.325 and SON_3_AY_SGLK_TUTAR_TL < 412.075) then

430        OPT_SON_3_AY_SGLK_TUTAR_TL = "02:1.325-412.075";

431        else

432        if (SON_3_AY_SGLK_TUTAR_TL >= 412.075 and SON_3_AY_SGLK_TUTAR_TL < 434.6) then

433        OPT_SON_3_AY_SGLK_TUTAR_TL = "03:412.075-434.6, MISSING";

434        else

435        if (SON_3_AY_SGLK_TUTAR_TL >= 434.6) then

436        OPT_SON_3_AY_SGLK_TUTAR_TL = "04:434.6-high";

437        label OPT_SON_3_AY_TKNLJ_TUTAR_TL = 'Transformed: SON_3_AY_TKNLJ_TUTAR_TL';

438        length OPT_SON_3_AY_TKNLJ_TUTAR_TL $11;

439        if (SON_3_AY_TKNLJ_TUTAR_TL eq .) then OPT_SON_3_AY_TKNLJ_TUTAR_TL="_MISSING_";

440        else

441        if (SON_3_AY_TKNLJ_TUTAR_TL < 3.5) then

442        OPT_SON_3_AY_TKNLJ_TUTAR_TL = "01:low-3.5";

443        else

444        if (SON_3_AY_TKNLJ_TUTAR_TL >= 3.5) then

445        OPT_SON_3_AY_TKNLJ_TUTAR_TL = "02:3.5-high";

446        label OPT_SON_3_AY_TKSTL_TUTAR_TL = 'Transformed: SON_3_AY_TKSTL_TUTAR_TL';

447        length OPT_SON_3_AY_TKSTL_TUTAR_TL $13;

448        if (SON_3_AY_TKSTL_TUTAR_TL eq .) then OPT_SON_3_AY_TKSTL_TUTAR_TL="_MISSING_";

449        else

450        if (SON_3_AY_TKSTL_TUTAR_TL < 0.005) then

451        OPT_SON_3_AY_TKSTL_TUTAR_TL = "01:low-0.005";

452        else

453        if (SON_3_AY_TKSTL_TUTAR_TL >= 0.005) then

454        OPT_SON_3_AY_TKSTL_TUTAR_TL = "02:0.005-high";

455        label OPT_SON_3_AY_TRZM_TUTAR_TL = 'Transformed: SON_3_AY_TRZM_TUTAR_TL';

456        length OPT_SON_3_AY_TRZM_TUTAR_TL $12;

457        if (SON_3_AY_TRZM_TUTAR_TL eq .) then OPT_SON_3_AY_TRZM_TUTAR_TL="_MISSING_";

458        else

459        if (SON_3_AY_TRZM_TUTAR_TL < 8.62) then

460        OPT_SON_3_AY_TRZM_TUTAR_TL = "01:low-8.62";

9                                                          The SAS System                                08:57 Tuesday, May 13, 2014

461        else

462        if (SON_3_AY_TRZM_TUTAR_TL >= 8.62) then

463        OPT_SON_3_AY_TRZM_TUTAR_TL = "02:8.62-high";

464        label OPT_SON_3_AY_ULASIM_TUTAR_TL = 'Transformed: SON_3_AY_ULASIM_TUTAR_TL';

465        length OPT_SON_3_AY_ULASIM_TUTAR_TL $12;

466        if (SON_3_AY_ULASIM_TUTAR_TL eq .) then OPT_SON_3_AY_ULASIM_TUTAR_TL="_MISSING_";

467        else

468        if (SON_3_AY_ULASIM_TUTAR_TL < 3.75) then

469        OPT_SON_3_AY_ULASIM_TUTAR_TL = "01:low-3.75";

470        else

471        if (SON_3_AY_ULASIM_TUTAR_TL >= 3.75) then

472        OPT_SON_3_AY_ULASIM_TUTAR_TL = "02:3.75-high";

473        label OPT_SON_AY_AKRYKT_TUTAR_TL = 'Transformed: SON_AY_AKRYKT_TUTAR_TL';

474        length OPT_SON_AY_AKRYKT_TUTAR_TL $12;

475        if (SON_AY_AKRYKT_TUTAR_TL eq .) then OPT_SON_AY_AKRYKT_TUTAR_TL="_MISSING_";

476        else

477        if (SON_AY_AKRYKT_TUTAR_TL < 1.25) then

478        OPT_SON_AY_AKRYKT_TUTAR_TL = "01:low-1.25";

479        else

480        if (SON_AY_AKRYKT_TUTAR_TL >= 1.25) then

481        OPT_SON_AY_AKRYKT_TUTAR_TL = "02:1.25-high";

482        label OPT_SON_AY_EV_TKSTL_TUTAR_TL = 'Transformed: SON_AY_EV_TKSTL_TUTAR_TL';

483        length OPT_SON_AY_EV_TKSTL_TUTAR_TL $26;

484        if (SON_AY_EV_TKSTL_TUTAR_TL eq .) then OPT_SON_AY_EV_TKSTL_TUTAR_TL="03:246.65-286.375, MISSING";

485        else

486        if (SON_AY_EV_TKSTL_TUTAR_TL < 0.75) then

487        OPT_SON_AY_EV_TKSTL_TUTAR_TL = "01:low-0.75";

488        else

489        if (SON_AY_EV_TKSTL_TUTAR_TL >= 0.75 and SON_AY_EV_TKSTL_TUTAR_TL < 246.65) then

490        OPT_SON_AY_EV_TKSTL_TUTAR_TL = "02:0.75-246.65";

491        else

492        if (SON_AY_EV_TKSTL_TUTAR_TL >= 246.65 and SON_AY_EV_TKSTL_TUTAR_TL < 286.375) then

493        OPT_SON_AY_EV_TKSTL_TUTAR_TL = "03:246.65-286.375, MISSING";

494        else

495        if (SON_AY_EV_TKSTL_TUTAR_TL >= 286.375) then

496        OPT_SON_AY_EV_TKSTL_TUTAR_TL = "04:286.375-high";

497        label OPT_SON_AY_GIDA_TUTAR_TL = 'Transformed: SON_AY_GIDA_TUTAR_TL';

498        length OPT_SON_AY_GIDA_TUTAR_TL $16;

499        if (SON_AY_GIDA_TUTAR_TL eq .) then OPT_SON_AY_GIDA_TUTAR_TL="_MISSING_";

500        else

501        if (SON_AY_GIDA_TUTAR_TL < 1.595) then

502        OPT_SON_AY_GIDA_TUTAR_TL = "01:low-1.595";

503        else

504        if (SON_AY_GIDA_TUTAR_TL >= 1.595 and SON_AY_GIDA_TUTAR_TL < 256.365) then

505        OPT_SON_AY_GIDA_TUTAR_TL = "02:1.595-256.365";

506        else

507        if (SON_AY_GIDA_TUTAR_TL >= 256.365) then

508        OPT_SON_AY_GIDA_TUTAR_TL = "03:256.365-high";

509        label OPT_SON_AY_SGLK_TUTAR_TL = 'Transformed: SON_AY_SGLK_TUTAR_TL';

510        length OPT_SON_AY_SGLK_TUTAR_TL $13;

511        if (SON_AY_SGLK_TUTAR_TL eq .) then OPT_SON_AY_SGLK_TUTAR_TL="_MISSING_";

512        else

513        if (SON_AY_SGLK_TUTAR_TL < 1.125) then

514        OPT_SON_AY_SGLK_TUTAR_TL = "01:low-1.125";

515        else

516        if (SON_AY_SGLK_TUTAR_TL >= 1.125) then

517        OPT_SON_AY_SGLK_TUTAR_TL = "02:1.125-high";

518        label OPT_SON_AY_TAUM = 'Transformed SON_AY_TAUM';

10                                                         The SAS System                                08:57 Tuesday, May 13, 2014

519        length OPT_SON_AY_TAUM $21;

520        if (SON_AY_TAUM eq .) then OPT_SON_AY_TAUM="01:low-5.505, MISSING";

521        else

522        if (SON_AY_TAUM < 5.505) then

523        OPT_SON_AY_TAUM = "01:low-5.505, MISSING";

524        else

525        if (SON_AY_TAUM >= 5.505 and SON_AY_TAUM < 9080.5) then

526        OPT_SON_AY_TAUM = "02:5.505-9080.5";

527        else

528        if (SON_AY_TAUM >= 9080.5) then

529        OPT_SON_AY_TAUM = "03:9080.5-high";

530        label OPT_SON_AY_TEKSTIL_TUTAR_TL = 'Transformed: SON_AY_TEKSTIL_TUTAR_TL';

531        length OPT_SON_AY_TEKSTIL_TUTAR_TL $12;

532        if (SON_AY_TEKSTIL_TUTAR_TL eq .) then OPT_SON_AY_TEKSTIL_TUTAR_TL="_MISSING_";

533        else

534        if (SON_AY_TEKSTIL_TUTAR_TL < 4.45) then

535        OPT_SON_AY_TEKSTIL_TUTAR_TL = "01:low-4.45";

536        else

537        if (SON_AY_TEKSTIL_TUTAR_TL >= 4.45) then

538        OPT_SON_AY_TEKSTIL_TUTAR_TL = "02:4.45-high";

539        label OPT_SON_AY_TKNLJ_TUTAR_TL = 'Transformed: SON_AY_TKNLJ_TUTAR_TL';

540        length OPT_SON_AY_TKNLJ_TUTAR_TL $12;

541        if (SON_AY_TKNLJ_TUTAR_TL eq .) then OPT_SON_AY_TKNLJ_TUTAR_TL="_MISSING_";

542        else

543        if (SON_AY_TKNLJ_TUTAR_TL < 2.15) then

544        OPT_SON_AY_TKNLJ_TUTAR_TL = "01:low-2.15";

545        else

546        if (SON_AY_TKNLJ_TUTAR_TL >= 2.15) then

547        OPT_SON_AY_TKNLJ_TUTAR_TL = "02:2.15-high";

548        *------------------------------------------------------------*;

549        * TOOL: Regression;

550        * TYPE: MODEL;

551        * NODE: Reg2;

552        *------------------------------------------------------------*;

553        *************************************;

554        *** begin scoring code for regression;

555        *************************************;

556       

557        length _WARN_ $4;

558        label _WARN_ = 'Warnings' ;

559       

560        length I_TARGET $ 12;

561        label I_TARGET = 'Into: TARGET' ;

562        *** Target Values;

563        array REG2DRF [2] $12 _temporary_ ('1' '0' );

564        label U_TARGET = 'Unnormalized Into: TARGET' ;

565        *** Unnormalized target values;

566        ARRAY REG2DRU[2]  _TEMPORARY_ (1 0);

567       

568        drop _DM_BAD;

569        _DM_BAD=0;

570       

571        *** Generate dummy variables for BNK_KHM_SON_AY_VAR ;

572        drop _1_0 ;

573        if missing( BNK_KHM_SON_AY_VAR ) then do;

574           _1_0 = .;

575           substr(_warn_,1,1) = 'M';

576           _DM_BAD = 1;

11                                                         The SAS System                                08:57 Tuesday, May 13, 2014

577        end;

578        else do;

579           length _dm12 $ 12; drop _dm12 ;

580           _dm12 = put( BNK_KHM_SON_AY_VAR , BEST12. );

581           %DMNORMIP( _dm12 )

582           if _dm12 = '0'  then do;

583              _1_0 = 1;

584           end;

585           else if _dm12 = '1'  then do;

586              _1_0 = -1;

587           end;

588           else do;

589              _1_0 = .;

590              substr(_warn_,2,1) = 'U';

591              _DM_BAD = 1;

592           end;

593        end;

594       

595        *** Generate dummy variables for BNK_KMH_SON_3_AY_KACKEZ ;

596        drop _2_0 _2_1 _2_2 ;

597        if missing( BNK_KMH_SON_3_AY_KACKEZ ) then do;

598           _2_0 = .;

599           _2_1 = .;

600           _2_2 = .;

601           substr(_warn_,1,1) = 'M';

602           _DM_BAD = 1;

603        end;

604        else do;

605           length _dm12 $ 12; drop _dm12 ;

606           _dm12 = put( BNK_KMH_SON_3_AY_KACKEZ , BEST12. );

607           %DMNORMIP( _dm12 )

608           if _dm12 = '0'  then do;

609              _2_0 = 1;

610              _2_1 = 0;

611              _2_2 = 0;

612           end;

613           else if _dm12 = '3'  then do;

614              _2_0 = -1;

615              _2_1 = -1;

616              _2_2 = -1;

617           end;

618           else if _dm12 = '2'  then do;

619              _2_0 = 0;

620              _2_1 = 0;

621              _2_2 = 1;

622           end;

623           else if _dm12 = '1'  then do;

624              _2_0 = 0;

625              _2_1 = 1;

626              _2_2 = 0;

627           end;

628           else do;

629              _2_0 = .;

630              _2_1 = .;

631              _2_2 = .;

632              substr(_warn_,2,1) = 'U';

633              _DM_BAD = 1;

634           end;

12                                                         The SAS System                                08:57 Tuesday, May 13, 2014

635        end;

636       

637        *** Generate dummy variables for BNK_KMH_SON_6_AY_KACKEZ ;

638        drop _3_0 _3_1 _3_2 _3_3 _3_4 _3_5 ;

639        *** encoding is sparse, initialize to zero;

640        _3_0 = 0;

641        _3_1 = 0;

642        _3_2 = 0;

643        _3_3 = 0;

644        _3_4 = 0;

645        _3_5 = 0;

646        if missing( BNK_KMH_SON_6_AY_KACKEZ ) then do;

647           _3_0 = .;

648           _3_1 = .;

649           _3_2 = .;

650           _3_3 = .;

651           _3_4 = .;

652           _3_5 = .;

653           substr(_warn_,1,1) = 'M';

654           _DM_BAD = 1;

655        end;

656        else do;

657           length _dm12 $ 12; drop _dm12 ;

658           _dm12 = put( BNK_KMH_SON_6_AY_KACKEZ , BEST12. );

659           %DMNORMIP( _dm12 )

660           _dm_find = 0; drop _dm_find;

661           if _dm12 <= '3'  then do;

662              if _dm12 <= '1'  then do;

663                 if _dm12 = '0'  then do;

664                    _3_0 = 1;

665                    _dm_find = 1;

666                 end;

667                 else do;

668                    if _dm12 = '1'  then do;

669                       _3_1 = 1;

670                       _dm_find = 1;

671                    end;

672                 end;

673              end;

674              else do;

675                 if _dm12 = '2'  then do;

676                    _3_2 = 1;

677                    _dm_find = 1;

678                 end;

679                 else do;

680                    if _dm12 = '3'  then do;

681                       _3_3 = 1;

682                       _dm_find = 1;

683                    end;

684                 end;

685              end;

686           end;

687           else do;

688              if _dm12 <= '5'  then do;

689                 if _dm12 = '4'  then do;

690                    _3_4 = 1;

691                    _dm_find = 1;

692                 end;

13                                                         The SAS System                                08:57 Tuesday, May 13, 2014

693                 else do;

694                    if _dm12 = '5'  then do;

695                       _3_5 = 1;

696                       _dm_find = 1;

697                    end;

698                 end;

699              end;

700              else do;

701                 if _dm12 = '6'  then do;

702                    _3_0 = -1;

703                    _3_1 = -1;

704                    _3_2 = -1;

705                    _3_3 = -1;

706                    _3_4 = -1;

707                    _3_5 = -1;

708                    _dm_find = 1;

709                 end;

710              end;

711           end;

712           if not _dm_find then do;

713              _3_0 = .;

714              _3_1 = .;

715              _3_2 = .;

716              _3_3 = .;

717              _3_4 = .;

718              _3_5 = .;

719              substr(_warn_,2,1) = 'U';

720              _DM_BAD = 1;

721           end;

722        end;

723       

724        *** Generate dummy variables for BNK_MAAS_SON_6_AY_KACKEZ ;

725        drop _5_0 _5_1 _5_2 _5_3 ;

726        *** encoding is sparse, initialize to zero;

727        _5_0 = 0;

728        _5_1 = 0;

729        _5_2 = 0;

730        _5_3 = 0;

731        if missing( BNK_MAAS_SON_6_AY_KACKEZ ) then do;

732           _5_0 = .;

733           _5_1 = .;

734           _5_2 = .;

735           _5_3 = .;

736           substr(_warn_,1,1) = 'M';

737           _DM_BAD = 1;

738        end;

739        else do;

740           length _dm12 $ 12; drop _dm12 ;

741           _dm12 = put( BNK_MAAS_SON_6_AY_KACKEZ , BEST12. );

742           %DMNORMIP( _dm12 )

743           if _dm12 = '0'  then do;

744              _5_0 = 1;

745           end;

746           else if _dm12 = '6'  then do;

747              _5_0 = -1;

748              _5_1 = -1;

749              _5_2 = -1;

750              _5_3 = -1;

14                                                         The SAS System                                08:57 Tuesday, May 13, 2014

751           end;

752           else if _dm12 = '2'  then do;

753              _5_2 = 1;

754           end;

755           else if _dm12 = '3'  then do;

756              _5_3 = 1;

757           end;

758           else if _dm12 = '1'  then do;

759              _5_1 = 1;

760           end;

761           else do;

762              _5_0 = .;

763              _5_1 = .;

764              _5_2 = .;

765              _5_3 = .;

766              substr(_warn_,2,1) = 'U';

767              _DM_BAD = 1;

768           end;

769        end;

770       

771        *** Generate dummy variables for BNK_MAAS_SON_AY_VAR ;

772        drop _7_0 ;

773        if missing( BNK_MAAS_SON_AY_VAR ) then do;

774           _7_0 = .;

775           substr(_warn_,1,1) = 'M';

776           _DM_BAD = 1;

777        end;

778        else do;

779           length _dm12 $ 12; drop _dm12 ;

780           _dm12 = put( BNK_MAAS_SON_AY_VAR , BEST12. );

781           %DMNORMIP( _dm12 )

782           if _dm12 = '0'  then do;

783              _7_0 = 1;

784           end;

785           else if _dm12 = '1'  then do;

786              _7_0 = -1;

787           end;

788           else do;

789              _7_0 = .;

790              substr(_warn_,2,1) = 'U';

791              _DM_BAD = 1;

792           end;

793        end;

794       

795        *** Generate dummy variables for DEM_BAKMAKLA_YUKULMLU_KISI_SAY ;

796        drop _8_0 _8_1 _8_2 ;

797        if missing( DEM_BAKMAKLA_YUKULMLU_KISI_SAY ) then do;

798           _8_0 = .;

799           _8_1 = .;

800           _8_2 = .;

801           substr(_warn_,1,1) = 'M';

802           _DM_BAD = 1;

803        end;

804        else do;

805           length _dm3 $ 3; drop _dm3 ;

806           _dm3 = put( DEM_BAKMAKLA_YUKULMLU_KISI_SAY , 3. );

807           %DMNORMIP( _dm3 )

808           if _dm3 = '0'  then do;

15                                                         The SAS System                                08:57 Tuesday, May 13, 2014

809              _8_0 = 1;

810              _8_1 = 0;

811              _8_2 = 0;

812           end;

813           else if _dm3 = '1'  then do;

814              _8_0 = 0;

815              _8_1 = 1;

816              _8_2 = 0;

817           end;

818           else if _dm3 = '2'  then do;

819              _8_0 = 0;

820              _8_1 = 0;

821              _8_2 = 1;

822           end;

823           else if _dm3 = '3'  then do;

824              _8_0 = -1;

825              _8_1 = -1;

826              _8_2 = -1;

827           end;

828           else do;

829              _8_0 = .;

830              _8_1 = .;

831              _8_2 = .;

832              substr(_warn_,2,1) = 'U';

833              _DM_BAD = 1;

834           end;

835        end;

836       

837        *** Generate dummy variables for DEM_BAKMAKLA_YUKUMLU_KISI_SAY ;

838        drop _9_0 ;

839        if missing( DEM_BAKMAKLA_YUKUMLU_KISI_SAY ) then do;

840           _9_0 = .;

841           substr(_warn_,1,1) = 'M';

842           _DM_BAD = 1;

843        end;

844        else do;

845           length _dm13 $ 13; drop _dm13 ;

846           %DMNORMCP( DEM_BAKMAKLA_YUKUMLU_KISI_SAY , _dm13 )

847           if _dm13 = '0-3 KISI'  then do;

848              _9_0 = 1;

849           end;

850           else if _dm13 = 'BELIRTILMEMIS'  then do;

851              _9_0 = -1;

852           end;

853           else do;

854              _9_0 = .;

855              substr(_warn_,2,1) = 'U';

856              _DM_BAD = 1;

857           end;

858        end;

859       

860        *** Generate dummy variables for DEM_Egitim ;

861        drop _10_0 _10_1 _10_2 _10_3 ;

862        *** encoding is sparse, initialize to zero;

863        _10_0 = 0;

864        _10_1 = 0;

865        _10_2 = 0;

866        _10_3 = 0;

16                                                         The SAS System                                08:57 Tuesday, May 13, 2014

867        if missing( DEM_Egitim ) then do;

868           _10_0 = .;

869           _10_1 = .;

870           _10_2 = .;

871           _10_3 = .;

872           substr(_warn_,1,1) = 'M';

873           _DM_BAD = 1;

874        end;

875        else do;

876           length _dm32 $ 32; drop _dm32 ;

877           length _dm100 $ 100; drop _dm100;

878           _dm100 = put( DEM_Egitim , $100. );

                                         _____

                                         29

WARNING: Variable DEM_Egitim has already been defined as numeric.

ERROR 29-185: Width specified for format  is invalid.

879           %DMNORMCP( _dm100, _dm32 )

880           _dm_find = 0; drop _dm_find;

881           if _dm32 <= 'Y.LİSANS'  then do;

882              if _dm32 <= 'ORTA'  then do;

883                 if _dm32 = 'LİSE'  then do;

884                    _10_0 = 1;

885                    _dm_find = 1;

886                 end;

887                 else do;

888                    if _dm32 = 'ORTA'  then do;

889                       _10_1 = 1;

890                       _dm_find = 1;

891                    end;

892                 end;

893              end;

894              else do;

895                 if _dm32 = 'Y.LİSANS'  then do;

896                    _10_2 = 1;

897                    _dm_find = 1;

898                 end;

899              end;

900           end;

901           else do;

902              if _dm32 = 'ÜNİVERSİTE'  then do;

903                 _10_3 = 1;

904                 _dm_find = 1;

905              end;

906              else do;

907                 if _dm32 = 'İLKOKUL'  then do;

908                    _10_0 = -1;

909                    _10_1 = -1;

910                    _10_2 = -1;

911                    _10_3 = -1;

912                    _dm_find = 1;

913                 end;

914              end;

915           end;

916           if not _dm_find then do;

917              _10_0 = .;

918              _10_1 = .;

919              _10_2 = .;

17                                                         The SAS System                                08:57 Tuesday, May 13, 2014

920              _10_3 = .;

921              substr(_warn_,2,1) = 'U';

922              _DM_BAD = 1;

923           end;

924        end;

925       

926        *** Generate dummy variables for DEM_IL_GELISMISLIK_KOD ;

927        drop _11_0 _11_1 _11_2 _11_3 ;

928        *** encoding is sparse, initialize to zero;

929        _11_0 = 0;

930        _11_1 = 0;

931        _11_2 = 0;

932        _11_3 = 0;

933        if missing( DEM_IL_GELISMISLIK_KOD ) then do;

934           _11_0 = .;

935           _11_1 = .;

936           _11_2 = .;

937           _11_3 = .;

938           substr(_warn_,1,1) = 'M';

939           _DM_BAD = 1;

940        end;

941        else do;

942           length _dm1 $ 1; drop _dm1 ;

943           %DMNORMCP( DEM_IL_GELISMISLIK_KOD , _dm1 )

944           _dm_find = 0; drop _dm_find;

945           if _dm1 <= 'C'  then do;

946              if _dm1 <= 'B'  then do;

947                 if _dm1 = 'A'  then do;

948                    _11_0 = 1;

949                    _dm_find = 1;

950                 end;

951                 else do;

952                    if _dm1 = 'B'  then do;

953                       _11_1 = 1;

954                       _dm_find = 1;

955                    end;

956                 end;

957              end;

958              else do;

959                 if _dm1 = 'C'  then do;

960                    _11_2 = 1;

961                    _dm_find = 1;

962                 end;

963              end;

964           end;

965           else do;

966              if _dm1 = 'D'  then do;

967                 _11_3 = 1;

968                 _dm_find = 1;

969              end;

970              else do;

971                 if _dm1 = 'E'  then do;

972                    _11_0 = -1;

973                    _11_1 = -1;

974                    _11_2 = -1;

975                    _11_3 = -1;

976                    _dm_find = 1;

977                 end;

18                                                         The SAS System                                08:57 Tuesday, May 13, 2014

978              end;

979           end;

980           if not _dm_find then do;

981              _11_0 = .;

982              _11_1 = .;

983              _11_2 = .;

984              _11_3 = .;

985              substr(_warn_,2,1) = 'U';

986              _DM_BAD = 1;

987           end;

988        end;

989       

990        *** Generate dummy variables for DEM_IS_Ana_Grup ;

991        drop _12_0 _12_1 _12_2 _12_3 _12_4 _12_5 ;

992        *** encoding is sparse, initialize to zero;

993        _12_0 = 0;

994        _12_1 = 0;

995        _12_2 = 0;

996        _12_3 = 0;

997        _12_4 = 0;

998        _12_5 = 0;

999        if missing( DEM_IS_Ana_Grup ) then do;

1000          _12_0 = .;

1001          _12_1 = .;

1002          _12_2 = .;

1003          _12_3 = .;

1004          _12_4 = .;

1005          _12_5 = .;

1006          substr(_warn_,1,1) = 'M';

1007          _DM_BAD = 1;

1008       end;

1009       else do;

1010          length _dm32 $ 32; drop _dm32 ;

1011          length _dm100 $ 100; drop _dm100;

1012          _dm100 = put( DEM_IS_Ana_Grup , $100. );

                                              _____

                                              29

WARNING: Variable DEM_IS_Ana_Grup has already been defined as numeric.

ERROR 29-185: Width specified for format  is invalid.

1013          %DMNORMCP( _dm100, _dm32 )

1014          _dm_find = 0; drop _dm_find;

1015          if _dm32 <= 'KAMU SEKTÖRÜNDE ÜCRETLİ'  then do;

1016             if _dm32 <= 'EMEKLİ'  then do;

1017                if _dm32 = 'BELIRTILMEMIS'  then do;

1018                   _12_0 = 1;

1019                   _dm_find = 1;

1020                end;

1021                else do;

1022                   if _dm32 = 'EMEKLİ'  then do;

1023                      _12_1 = 1;

1024                      _dm_find = 1;

1025                   end;

1026                end;

1027             end;

1028             else do;

1029                if _dm32 = 'EV HANIMI'  then do;

1030                   _12_2 = 1;

19                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1031                   _dm_find = 1;

1032                end;

1033                else do;

1034                   if _dm32 = 'KAMU SEKTÖRÜNDE ÜCRETLİ'  then do;

1035                      _12_3 = 1;

1036                      _dm_find = 1;

1037                   end;

1038                end;

1039             end;

1040          end;

1041          else do;

1042             if _dm32 <= 'ÇALIŞMIYOR'  then do;

1043                if _dm32 = 'KENDİ İŞİ'  then do;

1044                   _12_4 = 1;

1045                   _dm_find = 1;

1046                end;

1047                else do;

1048                   if _dm32 = 'ÇALIŞMIYOR'  then do;

1049                      _12_5 = 1;

1050                      _dm_find = 1;

1051                   end;

1052                end;

1053             end;

1054             else do;

1055                if _dm32 = 'ÖZEL SEKTÖRDE ÜCRETLİ'  then do;

1056                   _12_0 = -1;

1057                   _12_1 = -1;

1058                   _12_2 = -1;

1059                   _12_3 = -1;

1060                   _12_4 = -1;

1061                   _12_5 = -1;

1062                   _dm_find = 1;

1063                end;

1064             end;

1065          end;

1066          if not _dm_find then do;

1067             _12_0 = .;

1068             _12_1 = .;

1069             _12_2 = .;

1070             _12_3 = .;

1071             _12_4 = .;

1072             _12_5 = .;

1073             substr(_warn_,2,1) = 'U';

1074             _DM_BAD = 1;

1075          end;

1076       end;

1077      

1078       *** Generate dummy variables for DEM_Musteri_Omru_Bracket ;

1079       drop _13_0 _13_1 _13_2 _13_3 _13_4 _13_5 ;

1080       *** encoding is sparse, initialize to zero;

1081       _13_0 = 0;

1082       _13_1 = 0;

1083       _13_2 = 0;

1084       _13_3 = 0;

1085       _13_4 = 0;

1086       _13_5 = 0;

1087       if missing( DEM_Musteri_Omru_Bracket ) then do;

1088          _13_0 = .;

20                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1089          _13_1 = .;

1090          _13_2 = .;

1091          _13_3 = .;

1092          _13_4 = .;

1093          _13_5 = .;

1094          substr(_warn_,1,1) = 'M';

1095          _DM_BAD = 1;

1096       end;

1097       else do;

1098          length _dm9 $ 9; drop _dm9 ;

1099          %DMNORMCP( DEM_Musteri_Omru_Bracket , _dm9 )

1100          if _dm9 = '1-3 YIL'  then do;

1101             _13_2 = 1;

1102          end;

1103          else if _dm9 = '3-5 YIL'  then do;

1104             _13_4 = 1;

1105          end;

1106          else if _dm9 = '0-1 YIL'  then do;

1107             _13_1 = 1;

1108          end;

1109          else if _dm9 = '5-7 YIL'  then do;

1110             _13_5 = 1;

1111          end;

1112          else if _dm9 = '7-10 YIL'  then do;

1113             _13_0 = -1;

1114             _13_1 = -1;

1115             _13_2 = -1;

1116             _13_3 = -1;

1117             _13_4 = -1;

1118             _13_5 = -1;

1119          end;

1120          else if _dm9 = '10-15 YIL'  then do;

1121             _13_3 = 1;

1122          end;

1123          else if _dm9 = '+15 YIL'  then do;

1124             _13_0 = 1;

1125          end;

1126          else do;

1127             _13_0 = .;

1128             _13_1 = .;

1129             _13_2 = .;

1130             _13_3 = .;

1131             _13_4 = .;

1132             _13_5 = .;

1133             substr(_warn_,2,1) = 'U';

1134             _DM_BAD = 1;

1135          end;

1136       end;

1137      

1138       *** Generate dummy variables for DEM_Musteri_Yas_Bracket ;

1139       drop _14_0 _14_1 _14_2 _14_3 _14_4 ;

1140       *** encoding is sparse, initialize to zero;

1141       _14_0 = 0;

1142       _14_1 = 0;

1143       _14_2 = 0;

1144       _14_3 = 0;

1145       _14_4 = 0;

1146       if missing( DEM_Musteri_Yas_Bracket ) then do;

21                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1147          _14_0 = .;

1148          _14_1 = .;

1149          _14_2 = .;

1150          _14_3 = .;

1151          _14_4 = .;

1152          substr(_warn_,1,1) = 'M';

1153          _DM_BAD = 1;

1154       end;

1155       else do;

1156          length _dm5 $ 5; drop _dm5 ;

1157          %DMNORMCP( DEM_Musteri_Yas_Bracket , _dm5 )

1158          if _dm5 = '30-40'  then do;

1159             _14_2 = 1;

1160          end;

1161          else if _dm5 = '50-65'  then do;

1162             _14_4 = 1;

1163          end;

1164          else if _dm5 = '40-50'  then do;

1165             _14_3 = 1;

1166          end;

1167          else if _dm5 = '25-30'  then do;

1168             _14_1 = 1;

1169          end;

1170          else if _dm5 = '65+'  then do;

1171             _14_0 = -1;

1172             _14_1 = -1;

1173             _14_2 = -1;

1174             _14_3 = -1;

1175             _14_4 = -1;

1176          end;

1177          else if _dm5 = '18-25'  then do;

1178             _14_0 = 1;

1179          end;

1180          else do;

1181             _14_0 = .;

1182             _14_1 = .;

1183             _14_2 = .;

1184             _14_3 = .;

1185             _14_4 = .;

1186             substr(_warn_,2,1) = 'U';

1187             _DM_BAD = 1;

1188          end;

1189       end;

1190      

1191       *** Generate dummy variables for GUN_PKT_F ;

1192       drop _15_0 ;

1193       if missing( GUN_PKT_F ) then do;

1194          _15_0 = .;

1195          substr(_warn_,1,1) = 'M';

1196          _DM_BAD = 1;

1197       end;

1198       else do;

1199          length _dm2 $ 2; drop _dm2 ;

1200          _dm2 = put( GUN_PKT_F , 2. );

1201          %DMNORMIP( _dm2 )

1202          if _dm2 = '0'  then do;

1203             _15_0 = 1;

1204          end;

22                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1205          else if _dm2 = '1'  then do;

1206             _15_0 = -1;

1207          end;

1208          else do;

1209             _15_0 = .;

1210             substr(_warn_,2,1) = 'U';

1211             _DM_BAD = 1;

1212          end;

1213       end;

1214      

1215       *** Generate dummy variables for IHTIYAC_2013_SON_6_AY_KACKEZ ;

1216       drop _16_0 _16_1 _16_2 _16_3 _16_4 _16_5 ;

1217       *** encoding is sparse, initialize to zero;

1218       _16_0 = 0;

1219       _16_1 = 0;

1220       _16_2 = 0;

1221       _16_3 = 0;

1222       _16_4 = 0;

1223       _16_5 = 0;

1224       if missing( IHTIYAC_2013_SON_6_AY_KACKEZ ) then do;

1225          _16_0 = .;

1226          _16_1 = .;

1227          _16_2 = .;

1228          _16_3 = .;

1229          _16_4 = .;

1230          _16_5 = .;

1231          substr(_warn_,1,1) = 'M';

1232          _DM_BAD = 1;

1233       end;

1234       else do;

1235          length _dm12 $ 12; drop _dm12 ;

1236          _dm12 = put( IHTIYAC_2013_SON_6_AY_KACKEZ , BEST12. );

1237          %DMNORMIP( _dm12 )

1238          if _dm12 = '0'  then do;

1239             _16_0 = 1;

1240          end;

1241          else if _dm12 = '6'  then do;

1242             _16_0 = -1;

1243             _16_1 = -1;

1244             _16_2 = -1;

1245             _16_3 = -1;

1246             _16_4 = -1;

1247             _16_5 = -1;

1248          end;

1249          else if _dm12 = '3'  then do;

1250             _16_3 = 1;

1251          end;

1252          else if _dm12 = '5'  then do;

1253             _16_5 = 1;

1254          end;

1255          else if _dm12 = '4'  then do;

1256             _16_4 = 1;

1257          end;

1258          else if _dm12 = '1'  then do;

1259             _16_1 = 1;

1260          end;

1261          else if _dm12 = '2'  then do;

1262             _16_2 = 1;

23                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1263          end;

1264          else do;

1265             _16_0 = .;

1266             _16_1 = .;

1267             _16_2 = .;

1268             _16_3 = .;

1269             _16_4 = .;

1270             _16_5 = .;

1271             substr(_warn_,2,1) = 'U';

1272             _DM_BAD = 1;

1273          end;

1274       end;

1275      

1276       *** Generate dummy variables for IHTIYAC_2013_SON_AY_VAR ;

1277       drop _17_0 ;

1278       if missing( IHTIYAC_2013_SON_AY_VAR ) then do;

1279          _17_0 = .;

1280          substr(_warn_,1,1) = 'M';

1281          _DM_BAD = 1;

1282       end;

1283       else do;

1284          length _dm12 $ 12; drop _dm12 ;

1285          _dm12 = put( IHTIYAC_2013_SON_AY_VAR , BEST12. );

1286          %DMNORMIP( _dm12 )

1287          if _dm12 = '0'  then do;

1288             _17_0 = 1;

1289          end;

1290          else if _dm12 = '1'  then do;

1291             _17_0 = -1;

1292          end;

1293          else do;

1294             _17_0 = .;

1295             substr(_warn_,2,1) = 'U';

1296             _DM_BAD = 1;

1297          end;

1298       end;

1299      

1300       *** Generate dummy variables for KKB_SKOR_BRACKET ;

1301       drop _18_0 _18_1 ;

1302       if missing( KKB_SKOR_BRACKET ) then do;

1303          _18_0 = .;

1304          _18_1 = .;

1305          substr(_warn_,1,1) = 'M';

1306          _DM_BAD = 1;

1307       end;

1308       else do;

1309          length _dm9 $ 9; drop _dm9 ;

1310          %DMNORMCP( KKB_SKOR_BRACKET , _dm9 )

1311          if _dm9 = 'DUSUK'  then do;

1312             _18_0 = 0;

1313             _18_1 = 1;

1314          end;

1315          else if _dm9 = 'ORTA'  then do;

1316             _18_0 = -1;

1317             _18_1 = -1;

1318          end;

1319          else if _dm9 = 'COK_DUSUK'  then do;

1320             _18_0 = 1;

24                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1321             _18_1 = 0;

1322          end;

1323          else do;

1324             _18_0 = .;

1325             _18_1 = .;

1326             substr(_warn_,2,1) = 'U';

1327             _DM_BAD = 1;

1328          end;

1329       end;

1330      

1331       *** Generate dummy variables for KK_AKT_2013_SON_3_AY_K ;

1332       drop _19_0 _19_1 _19_2 ;

1333       if missing( KK_AKT_2013_SON_3_AY_K ) then do;

1334          _19_0 = .;

1335          _19_1 = .;

1336          _19_2 = .;

1337          substr(_warn_,1,1) = 'M';

1338          _DM_BAD = 1;

1339       end;

1340       else do;

1341          length _dm12 $ 12; drop _dm12 ;

1342          _dm12 = put( KK_AKT_2013_SON_3_AY_K , BEST12. );

1343          %DMNORMIP( _dm12 )

1344          if _dm12 = '0'  then do;

1345             _19_0 = 1;

1346             _19_1 = 0;

1347             _19_2 = 0;

1348          end;

1349          else if _dm12 = '3'  then do;

1350             _19_0 = -1;

1351             _19_1 = -1;

1352             _19_2 = -1;

1353          end;

1354          else if _dm12 = '2'  then do;

1355             _19_0 = 0;

1356             _19_1 = 0;

1357             _19_2 = 1;

1358          end;

1359          else if _dm12 = '1'  then do;

1360             _19_0 = 0;

1361             _19_1 = 1;

1362             _19_2 = 0;

1363          end;

1364          else do;

1365             _19_0 = .;

1366             _19_1 = .;

1367             _19_2 = .;

1368             substr(_warn_,2,1) = 'U';

1369             _DM_BAD = 1;

1370          end;

1371       end;

1372      

1373       *** Generate dummy variables for KK_AKT_2013_SON_6_AY_VAR ;

1374       drop _20_0 ;

1375       if missing( KK_AKT_2013_SON_6_AY_VAR ) then do;

1376          _20_0 = .;

1377          substr(_warn_,1,1) = 'M';

1378          _DM_BAD = 1;

25                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1379       end;

1380       else do;

1381          length _dm12 $ 12; drop _dm12 ;

1382          _dm12 = put( KK_AKT_2013_SON_6_AY_VAR , BEST12. );

1383          %DMNORMIP( _dm12 )

1384          if _dm12 = '1'  then do;

1385             _20_0 = -1;

1386          end;

1387          else if _dm12 = '0'  then do;

1388             _20_0 = 1;

1389          end;

1390          else do;

1391             _20_0 = .;

1392             substr(_warn_,2,1) = 'U';

1393             _DM_BAD = 1;

1394          end;

1395       end;

1396      

1397       *** Generate dummy variables for KK_AKT_2013_SON_AY_VAR ;

1398       drop _21_0 ;

1399       if missing( KK_AKT_2013_SON_AY_VAR ) then do;

1400          _21_0 = .;

1401          substr(_warn_,1,1) = 'M';

1402          _DM_BAD = 1;

1403       end;

1404       else do;

1405          length _dm12 $ 12; drop _dm12 ;

1406          _dm12 = put( KK_AKT_2013_SON_AY_VAR , BEST12. );

1407          %DMNORMIP( _dm12 )

1408          if _dm12 = '0'  then do;

1409             _21_0 = 1;

1410          end;

1411          else if _dm12 = '1'  then do;

1412             _21_0 = -1;

1413          end;

1414          else do;

1415             _21_0 = .;

1416             substr(_warn_,2,1) = 'U';

1417             _DM_BAD = 1;

1418          end;

1419       end;

1420      

1421       *** Generate dummy variables for KK_AKT_SON_6_KAC ;

1422       drop _22_0 _22_1 _22_2 _22_3 _22_4 _22_5 ;

1423       *** encoding is sparse, initialize to zero;

1424       _22_0 = 0;

1425       _22_1 = 0;

1426       _22_2 = 0;

1427       _22_3 = 0;

1428       _22_4 = 0;

1429       _22_5 = 0;

1430       if missing( KK_AKT_SON_6_KAC ) then do;

1431          _22_0 = .;

1432          _22_1 = .;

1433          _22_2 = .;

1434          _22_3 = .;

1435          _22_4 = .;

1436          _22_5 = .;

26                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1437          substr(_warn_,1,1) = 'M';

1438          _DM_BAD = 1;

1439       end;

1440       else do;

1441          length _dm12 $ 12; drop _dm12 ;

1442          _dm12 = put( KK_AKT_SON_6_KAC , BEST12. );

1443          %DMNORMIP( _dm12 )

1444          _dm_find = 0; drop _dm_find;

1445          if _dm12 <= '3'  then do;

1446             if _dm12 <= '1'  then do;

1447                if _dm12 = '0'  then do;

1448                   _22_0 = 1;

1449                   _dm_find = 1;

1450                end;

1451                else do;

1452                   if _dm12 = '1'  then do;

1453                      _22_1 = 1;

1454                      _dm_find = 1;

1455                   end;

1456                end;

1457             end;

1458             else do;

1459                if _dm12 = '2'  then do;

1460                   _22_2 = 1;

1461                   _dm_find = 1;

1462                end;

1463                else do;

1464                   if _dm12 = '3'  then do;

1465                      _22_3 = 1;

1466                      _dm_find = 1;

1467                   end;

1468                end;

1469             end;

1470          end;

1471          else do;

1472             if _dm12 <= '5'  then do;

1473                if _dm12 = '4'  then do;

1474                   _22_4 = 1;

1475                   _dm_find = 1;

1476                end;

1477                else do;

1478                   if _dm12 = '5'  then do;

1479                      _22_5 = 1;

1480                      _dm_find = 1;

1481                   end;

1482                end;

1483             end;

1484             else do;

1485                if _dm12 = '6'  then do;

1486                   _22_0 = -1;

1487                   _22_1 = -1;

1488                   _22_2 = -1;

1489                   _22_3 = -1;

1490                   _22_4 = -1;

1491                   _22_5 = -1;

1492                   _dm_find = 1;

1493                end;

1494             end;

27                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1495          end;

1496          if not _dm_find then do;

1497             _22_0 = .;

1498             _22_1 = .;

1499             _22_2 = .;

1500             _22_3 = .;

1501             _22_4 = .;

1502             _22_5 = .;

1503             substr(_warn_,2,1) = 'U';

1504             _DM_BAD = 1;

1505          end;

1506       end;

1507      

1508       *** Generate dummy variables for KK_BONUS_HARC_SON_3_AY_KACKEZ ;

1509       drop _23_0 _23_1 ;

1510       if missing( KK_BONUS_HARC_SON_3_AY_KACKEZ ) then do;

1511          _23_0 = .;

1512          _23_1 = .;

1513          substr(_warn_,1,1) = 'M';

1514          _DM_BAD = 1;

1515       end;

1516       else do;

1517          length _dm12 $ 12; drop _dm12 ;

1518          _dm12 = put( KK_BONUS_HARC_SON_3_AY_KACKEZ , BEST12. );

1519          %DMNORMIP( _dm12 )

1520          if _dm12 = '0'  then do;

1521             _23_0 = 1;

1522             _23_1 = 0;

1523          end;

1524          else if _dm12 = '1'  then do;

1525             _23_0 = 0;

1526             _23_1 = 1;

1527          end;

1528          else if _dm12 = '2'  then do;

1529             _23_0 = -1;

1530             _23_1 = -1;

1531          end;

1532          else do;

1533             _23_0 = .;

1534             _23_1 = .;

1535             substr(_warn_,2,1) = 'U';

1536             _DM_BAD = 1;

1537          end;

1538       end;

1539      

1540       *** Generate dummy variables for KK_BONUS_HARC_SON_6_AY_KACKEZ ;

1541       drop _25_0 _25_1 _25_2 _25_3 ;

1542       *** encoding is sparse, initialize to zero;

1543       _25_0 = 0;

1544       _25_1 = 0;

1545       _25_2 = 0;

1546       _25_3 = 0;

1547       if missing( KK_BONUS_HARC_SON_6_AY_KACKEZ ) then do;

1548          _25_0 = .;

1549          _25_1 = .;

1550          _25_2 = .;

1551          _25_3 = .;

1552          substr(_warn_,1,1) = 'M';

28                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1553          _DM_BAD = 1;

1554       end;

1555       else do;

1556          length _dm12 $ 12; drop _dm12 ;

1557          _dm12 = put( KK_BONUS_HARC_SON_6_AY_KACKEZ , BEST12. );

1558          %DMNORMIP( _dm12 )

1559          if _dm12 = '0'  then do;

1560             _25_0 = 1;

1561          end;

1562          else if _dm12 = '1'  then do;

1563             _25_1 = 1;

1564          end;

1565          else if _dm12 = '2'  then do;

1566             _25_2 = 1;

1567          end;

1568          else if _dm12 = '3'  then do;

1569             _25_3 = 1;

1570          end;

1571          else if _dm12 = '4'  then do;

1572             _25_0 = -1;

1573             _25_1 = -1;

1574             _25_2 = -1;

1575             _25_3 = -1;

1576          end;

1577          else do;

1578             _25_0 = .;

1579             _25_1 = .;

1580             _25_2 = .;

1581             _25_3 = .;

1582             substr(_warn_,2,1) = 'U';

1583             _DM_BAD = 1;

1584          end;

1585       end;

1586      

1587       *** Generate dummy variables for KK_BONUS_HARC_SON_AY_VAR ;

1588       drop _27_0 ;

1589       if missing( KK_BONUS_HARC_SON_AY_VAR ) then do;

1590          _27_0 = .;

1591          substr(_warn_,1,1) = 'M';

1592          _DM_BAD = 1;

1593       end;

1594       else do;

1595          length _dm12 $ 12; drop _dm12 ;

1596          _dm12 = put( KK_BONUS_HARC_SON_AY_VAR , BEST12. );

1597          %DMNORMIP( _dm12 )

1598          if _dm12 = '0'  then do;

1599             _27_0 = 1;

1600          end;

1601          else if _dm12 = '1'  then do;

1602             _27_0 = -1;

1603          end;

1604          else do;

1605             _27_0 = .;

1606             substr(_warn_,2,1) = 'U';

1607             _DM_BAD = 1;

1608          end;

1609       end;

1610      

29                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1611       *** Generate dummy variables for KK_SON_6_AY_KAC_KEZ_TNA ;

1612       drop _29_0 _29_1 _29_2 _29_3 _29_4 _29_5 ;

1613       *** encoding is sparse, initialize to zero;

1614       _29_0 = 0;

1615       _29_1 = 0;

1616       _29_2 = 0;

1617       _29_3 = 0;

1618       _29_4 = 0;

1619       _29_5 = 0;

1620       if missing( KK_SON_6_AY_KAC_KEZ_TNA ) then do;

1621          _29_0 = .;

1622          _29_1 = .;

1623          _29_2 = .;

1624          _29_3 = .;

1625          _29_4 = .;

1626          _29_5 = .;

1627          substr(_warn_,1,1) = 'M';

1628          _DM_BAD = 1;

1629       end;

1630       else do;

1631          length _dm12 $ 12; drop _dm12 ;

1632          _dm12 = put( KK_SON_6_AY_KAC_KEZ_TNA , BEST12. );

1633          %DMNORMIP( _dm12 )

1634          if _dm12 = '0'  then do;

1635             _29_0 = 1;

1636          end;

1637          else if _dm12 = '6'  then do;

1638             _29_0 = -1;

1639             _29_1 = -1;

1640             _29_2 = -1;

1641             _29_3 = -1;

1642             _29_4 = -1;

1643             _29_5 = -1;

1644          end;

1645          else if _dm12 = '3'  then do;

1646             _29_3 = 1;

1647          end;

1648          else if _dm12 = '1'  then do;

1649             _29_1 = 1;

1650          end;

1651          else if _dm12 = '2'  then do;

1652             _29_2 = 1;

1653          end;

1654          else if _dm12 = '5'  then do;

1655             _29_5 = 1;

1656          end;

1657          else if _dm12 = '4'  then do;

1658             _29_4 = 1;

1659          end;

1660          else do;

1661             _29_0 = .;

1662             _29_1 = .;

1663             _29_2 = .;

1664             _29_3 = .;

1665             _29_4 = .;

1666             _29_5 = .;

1667             substr(_warn_,2,1) = 'U';

1668             _DM_BAD = 1;

30                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1669          end;

1670       end;

1671      

1672       *** Generate dummy variables for KK_SON_AY_NA_VAR ;

1673       drop _31_0 ;

1674       if missing( KK_SON_AY_NA_VAR ) then do;

1675          _31_0 = .;

1676          substr(_warn_,1,1) = 'M';

1677          _DM_BAD = 1;

1678       end;

1679       else do;

1680          length _dm12 $ 12; drop _dm12 ;

1681          _dm12 = put( KK_SON_AY_NA_VAR , BEST12. );

1682          %DMNORMIP( _dm12 )

1683          if _dm12 = '0'  then do;

1684             _31_0 = 1;

1685          end;

1686          else if _dm12 = '1'  then do;

1687             _31_0 = -1;

1688          end;

1689          else do;

1690             _31_0 = .;

1691             substr(_warn_,2,1) = 'U';

1692             _DM_BAD = 1;

1693          end;

1694       end;

1695      

1696       *** Generate dummy variables for KK_SON_AY_TNA_VAR ;

1697       drop _32_0 ;

1698       if missing( KK_SON_AY_TNA_VAR ) then do;

1699          _32_0 = .;

1700          substr(_warn_,1,1) = 'M';

1701          _DM_BAD = 1;

1702       end;

1703       else do;

1704          length _dm12 $ 12; drop _dm12 ;

1705          _dm12 = put( KK_SON_AY_TNA_VAR , BEST12. );

1706          %DMNORMIP( _dm12 )

1707          if _dm12 = '0'  then do;

1708             _32_0 = 1;

1709          end;

1710          else if _dm12 = '1'  then do;

1711             _32_0 = -1;

1712          end;

1713          else do;

1714             _32_0 = .;

1715             substr(_warn_,2,1) = 'U';

1716             _DM_BAD = 1;

1717          end;

1718       end;

1719      

1720       *** Generate dummy variables for KK_TAKSIT_SON_6_KAC ;

1721       drop _33_0 _33_1 _33_2 _33_3 _33_4 _33_5 ;

1722       *** encoding is sparse, initialize to zero;

1723       _33_0 = 0;

1724       _33_1 = 0;

1725       _33_2 = 0;

1726       _33_3 = 0;

31                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1727       _33_4 = 0;

1728       _33_5 = 0;

1729       if missing( KK_TAKSIT_SON_6_KAC ) then do;

1730          _33_0 = .;

1731          _33_1 = .;

1732          _33_2 = .;

1733          _33_3 = .;

1734          _33_4 = .;

1735          _33_5 = .;

1736          substr(_warn_,1,1) = 'M';

1737          _DM_BAD = 1;

1738       end;

1739       else do;

1740          length _dm12 $ 12; drop _dm12 ;

1741          _dm12 = put( KK_TAKSIT_SON_6_KAC , BEST12. );

1742          %DMNORMIP( _dm12 )

1743          if _dm12 = '0'  then do;

1744             _33_0 = 1;

1745          end;

1746          else if _dm12 = '1'  then do;

1747             _33_1 = 1;

1748          end;

1749          else if _dm12 = '2'  then do;

1750             _33_2 = 1;

1751          end;

1752          else if _dm12 = '3'  then do;

1753             _33_3 = 1;

1754          end;

1755          else if _dm12 = '4'  then do;

1756             _33_4 = 1;

1757          end;

1758          else if _dm12 = '5'  then do;

1759             _33_5 = 1;

1760          end;

1761          else if _dm12 = '6'  then do;

1762             _33_0 = -1;

1763             _33_1 = -1;

1764             _33_2 = -1;

1765             _33_3 = -1;

1766             _33_4 = -1;

1767             _33_5 = -1;

1768          end;

1769          else do;

1770             _33_0 = .;

1771             _33_1 = .;

1772             _33_2 = .;

1773             _33_3 = .;

1774             _33_4 = .;

1775             _33_5 = .;

1776             substr(_warn_,2,1) = 'U';

1777             _DM_BAD = 1;

1778          end;

1779       end;

1780      

1781       *** Generate dummy variables for KK_TAK_HARCAMA_SON_3_AY_VAR ;

1782       drop _34_0 ;

1783       if missing( KK_TAK_HARCAMA_SON_3_AY_VAR ) then do;

1784          _34_0 = .;

32                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1785          substr(_warn_,1,1) = 'M';

1786          _DM_BAD = 1;

1787       end;

1788       else do;

1789          length _dm12 $ 12; drop _dm12 ;

1790          _dm12 = put( KK_TAK_HARCAMA_SON_3_AY_VAR , BEST12. );

1791          %DMNORMIP( _dm12 )

1792          if _dm12 = '0'  then do;

1793             _34_0 = 1;

1794          end;

1795          else if _dm12 = '1'  then do;

1796             _34_0 = -1;

1797          end;

1798          else do;

1799             _34_0 = .;

1800             substr(_warn_,2,1) = 'U';

1801             _DM_BAD = 1;

1802          end;

1803       end;

1804      

1805       *** Generate dummy variables for KK_TAK_HARCAMA_SON_AY_VAR ;

1806       drop _35_0 ;

1807       if missing( KK_TAK_HARCAMA_SON_AY_VAR ) then do;

1808          _35_0 = .;

1809          substr(_warn_,1,1) = 'M';

1810          _DM_BAD = 1;

1811       end;

1812       else do;

1813          length _dm12 $ 12; drop _dm12 ;

1814          _dm12 = put( KK_TAK_HARCAMA_SON_AY_VAR , BEST12. );

1815          %DMNORMIP( _dm12 )

1816          if _dm12 = '0'  then do;

1817             _35_0 = 1;

1818          end;

1819          else if _dm12 = '1'  then do;

1820             _35_0 = -1;

1821          end;

1822          else do;

1823             _35_0 = .;

1824             substr(_warn_,2,1) = 'U';

1825             _DM_BAD = 1;

1826          end;

1827       end;

1828      

1829       *** Generate dummy variables for MAX_of_KKHRM_EGITIM_SON_6AY_VAR ;

1830       drop _36_0 ;

1831       if missing( MAX_of_KKHRM_EGITIM_SON_6AY_VAR ) then do;

1832          _36_0 = .;

1833          substr(_warn_,1,1) = 'M';

1834          _DM_BAD = 1;

1835       end;

1836       else do;

1837          length _dm12 $ 12; drop _dm12 ;

1838          _dm12 = put( MAX_of_KKHRM_EGITIM_SON_6AY_VAR , BEST12. );

1839          %DMNORMIP( _dm12 )

1840          if _dm12 = '0'  then do;

1841             _36_0 = 1;

1842          end;

33                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1843          else if _dm12 = '1'  then do;

1844             _36_0 = -1;

1845          end;

1846          else do;

1847             _36_0 = .;

1848             substr(_warn_,2,1) = 'U';

1849             _DM_BAD = 1;

1850          end;

1851       end;

1852      

1853       *** Generate dummy variables for MAX_of_KKHRM_EVTEKSTIL_SON_6_AY_ ;

1854       drop _37_0 ;

1855       if missing( MAX_of_KKHRM_EVTEKSTIL_SON_6_AY_ ) then do;

1856          _37_0 = .;

1857          substr(_warn_,1,1) = 'M';

1858          _DM_BAD = 1;

1859       end;

1860       else do;

1861          length _dm12 $ 12; drop _dm12 ;

1862          _dm12 = put( MAX_of_KKHRM_EVTEKSTIL_SON_6_AY_ , BEST12. );

1863          %DMNORMIP( _dm12 )

1864          if _dm12 = '0'  then do;

1865             _37_0 = 1;

1866          end;

1867          else if _dm12 = '1'  then do;

1868             _37_0 = -1;

1869          end;

1870          else do;

1871             _37_0 = .;

1872             substr(_warn_,2,1) = 'U';

1873             _DM_BAD = 1;

1874          end;

1875       end;

1876      

1877       *** Generate dummy variables for MAX_of_KKHRM_GIDA_SON_6_AY_VAR ;

1878       drop _38_0 ;

1879       if missing( MAX_of_KKHRM_GIDA_SON_6_AY_VAR ) then do;

1880          _38_0 = .;

1881          substr(_warn_,1,1) = 'M';

1882          _DM_BAD = 1;

1883       end;

1884       else do;

1885          length _dm12 $ 12; drop _dm12 ;

1886          _dm12 = put( MAX_of_KKHRM_GIDA_SON_6_AY_VAR , BEST12. );

1887          %DMNORMIP( _dm12 )

1888          if _dm12 = '0'  then do;

1889             _38_0 = 1;

1890          end;

1891          else if _dm12 = '1'  then do;

1892             _38_0 = -1;

1893          end;

1894          else do;

1895             _38_0 = .;

1896             substr(_warn_,2,1) = 'U';

1897             _DM_BAD = 1;

1898          end;

1899       end;

1900      

34                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1901       *** Generate dummy variables for MAX_of_KKHRM_GIDA_SON_AY_VAR ;

1902       drop _39_0 ;

1903       if missing( MAX_of_KKHRM_GIDA_SON_AY_VAR ) then do;

1904          _39_0 = .;

1905          substr(_warn_,1,1) = 'M';

1906          _DM_BAD = 1;

1907       end;

1908       else do;

1909          length _dm12 $ 12; drop _dm12 ;

1910          _dm12 = put( MAX_of_KKHRM_GIDA_SON_AY_VAR , BEST12. );

1911          %DMNORMIP( _dm12 )

1912          if _dm12 = '0'  then do;

1913             _39_0 = 1;

1914          end;

1915          else if _dm12 = '1'  then do;

1916             _39_0 = -1;

1917          end;

1918          else do;

1919             _39_0 = .;

1920             substr(_warn_,2,1) = 'U';

1921             _DM_BAD = 1;

1922          end;

1923       end;

1924      

1925       *** Generate dummy variables for MAX_of_KKHRM_KISISELBKM_SON_6_AY ;

1926       drop _40_0 ;

1927       if missing( MAX_of_KKHRM_KISISELBKM_SON_6_AY ) then do;

1928          _40_0 = .;

1929          substr(_warn_,1,1) = 'M';

1930          _DM_BAD = 1;

1931       end;

1932       else do;

1933          length _dm12 $ 12; drop _dm12 ;

1934          _dm12 = put( MAX_of_KKHRM_KISISELBKM_SON_6_AY , BEST12. );

1935          %DMNORMIP( _dm12 )

1936          if _dm12 = '0'  then do;

1937             _40_0 = 1;

1938          end;

1939          else if _dm12 = '1'  then do;

1940             _40_0 = -1;

1941          end;

1942          else do;

1943             _40_0 = .;

1944             substr(_warn_,2,1) = 'U';

1945             _DM_BAD = 1;

1946          end;

1947       end;

1948      

1949       *** Generate dummy variables for MAX_of_KKHRM_OTOMOTIV_SON_6_AY_V ;

1950       drop _41_0 ;

1951       if missing( MAX_of_KKHRM_OTOMOTIV_SON_6_AY_V ) then do;

1952          _41_0 = .;

1953          substr(_warn_,1,1) = 'M';

1954          _DM_BAD = 1;

1955       end;

1956       else do;

1957          length _dm12 $ 12; drop _dm12 ;

1958          _dm12 = put( MAX_of_KKHRM_OTOMOTIV_SON_6_AY_V , BEST12. );

35                                                         The SAS System                                08:57 Tuesday, May 13, 2014

1959          %DMNORMIP( _dm12 )

1960          if _dm12 = '0'  then do;

1961             _41_0 = 1;

1962          end;

1963          else if _dm12 = '1'  then do;

1964             _41_0 = -1;

1965          end;

1966          else do;

1967             _41_0 = .;

1968             substr(_warn_,2,1) = 'U';

1969             _DM_BAD = 1;

1970          end;

1971       end;

1972      

1973       *** Generate dummy variables for MAX_of_KKHRM_SAGLIK_SON_6_AY_VAR ;

1974       drop _42_0 ;

1975       if missing( MAX_of_KKHRM_SAGLIK_SON_6_AY_VAR ) then do;

1976          _42_0 = .;

1977          substr(_warn_,1,1) = 'M';

1978          _DM_BAD = 1;

1979       end;

1980       else do;

1981          length _dm12 $ 12; drop _dm12 ;

1982          _dm12 = put( MAX_of_KKHRM_SAGLIK_SON_6_AY_VAR , BEST12. );

1983          %DMNORMIP( _dm12 )

1984          if _dm12 = '0'  then do;

1985             _42_0 = 1;

1986          end;

1987          else if _dm12 = '1'  then do;

1988             _42_0 = -1;

1989          end;

1990          else do;

1991             _42_0 = .;

1992             substr(_warn_,2,1) = 'U';

1993             _DM_BAD = 1;

1994          end;

1995       end;

1996      

1997       *** Generate dummy variables for MAX_of_KKHRM_SAGLIK_SON_AY ;

1998       drop _43_0 ;

1999       if missing( MAX_of_KKHRM_SAGLIK_SON_AY ) then do;

2000          _43_0 = .;

2001          substr(_warn_,1,1) = 'M';

2002          _DM_BAD = 1;

2003       end;

2004       else do;

2005          length _dm12 $ 12; drop _dm12 ;

2006          _dm12 = put( MAX_of_KKHRM_SAGLIK_SON_AY , BEST12. );

2007          %DMNORMIP( _dm12 )

2008          if _dm12 = '0'  then do;

2009             _43_0 = 1;

2010          end;

2011          else if _dm12 = '1'  then do;

2012             _43_0 = -1;

2013          end;

2014          else do;

2015             _43_0 = .;

2016             substr(_warn_,2,1) = 'U';

36                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2017             _DM_BAD = 1;

2018          end;

2019       end;

2020      

2021       *** Generate dummy variables for MAX_of_KKHRM_SIGORTA_SON_6AY_VAR ;

2022       drop _44_0 ;

2023       if missing( MAX_of_KKHRM_SIGORTA_SON_6AY_VAR ) then do;

2024          _44_0 = .;

2025          substr(_warn_,1,1) = 'M';

2026          _DM_BAD = 1;

2027       end;

2028       else do;

2029          length _dm12 $ 12; drop _dm12 ;

2030          _dm12 = put( MAX_of_KKHRM_SIGORTA_SON_6AY_VAR , BEST12. );

2031          %DMNORMIP( _dm12 )

2032          if _dm12 = '0'  then do;

2033             _44_0 = 1;

2034          end;

2035          else if _dm12 = '1'  then do;

2036             _44_0 = -1;

2037          end;

2038          else do;

2039             _44_0 = .;

2040             substr(_warn_,2,1) = 'U';

2041             _DM_BAD = 1;

2042          end;

2043       end;

2044      

2045       *** Generate dummy variables for MAX_of_KKHRM_TEKNOLOJI_SON_6_AY_ ;

2046       drop _45_0 ;

2047       if missing( MAX_of_KKHRM_TEKNOLOJI_SON_6_AY_ ) then do;

2048          _45_0 = .;

2049          substr(_warn_,1,1) = 'M';

2050          _DM_BAD = 1;

2051       end;

2052       else do;

2053          length _dm12 $ 12; drop _dm12 ;

2054          _dm12 = put( MAX_of_KKHRM_TEKNOLOJI_SON_6_AY_ , BEST12. );

2055          %DMNORMIP( _dm12 )

2056          if _dm12 = '0'  then do;

2057             _45_0 = 1;

2058          end;

2059          else if _dm12 = '1'  then do;

2060             _45_0 = -1;

2061          end;

2062          else do;

2063             _45_0 = .;

2064             substr(_warn_,2,1) = 'U';

2065             _DM_BAD = 1;

2066          end;

2067       end;

2068      

2069       *** Generate dummy variables for MAX_of_KKHRM_TEKSTIL_SON_6_AY_VA ;

2070       drop _46_0 ;

2071       if missing( MAX_of_KKHRM_TEKSTIL_SON_6_AY_VA ) then do;

2072          _46_0 = .;

2073          substr(_warn_,1,1) = 'M';

2074          _DM_BAD = 1;

37                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2075       end;

2076       else do;

2077          length _dm12 $ 12; drop _dm12 ;

2078          _dm12 = put( MAX_of_KKHRM_TEKSTIL_SON_6_AY_VA , BEST12. );

2079          %DMNORMIP( _dm12 )

2080          if _dm12 = '0'  then do;

2081             _46_0 = 1;

2082          end;

2083          else if _dm12 = '1'  then do;

2084             _46_0 = -1;

2085          end;

2086          else do;

2087             _46_0 = .;

2088             substr(_warn_,2,1) = 'U';

2089             _DM_BAD = 1;

2090          end;

2091       end;

2092      

2093       *** Generate dummy variables for MAX_of_KKHRM_TEKSTIL_SON_AY_VAR ;

2094       drop _47_0 ;

2095       if missing( MAX_of_KKHRM_TEKSTIL_SON_AY_VAR ) then do;

2096          _47_0 = .;

2097          substr(_warn_,1,1) = 'M';

2098          _DM_BAD = 1;

2099       end;

2100       else do;

2101          length _dm12 $ 12; drop _dm12 ;

2102          _dm12 = put( MAX_of_KKHRM_TEKSTIL_SON_AY_VAR , BEST12. );

2103          %DMNORMIP( _dm12 )

2104          if _dm12 = '0'  then do;

2105             _47_0 = 1;

2106          end;

2107          else if _dm12 = '1'  then do;

2108             _47_0 = -1;

2109          end;

2110          else do;

2111             _47_0 = .;

2112             substr(_warn_,2,1) = 'U';

2113             _DM_BAD = 1;

2114          end;

2115       end;

2116      

2117       *** Generate dummy variables for OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL ;

2118       drop _48_0 _48_1 _48_2 ;

2119       if missing( OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL ) then do;

2120          _48_0 = .;

2121          _48_1 = .;

2122          _48_2 = .;

2123          substr(_warn_,1,1) = 'M';

2124          _DM_BAD = 1;

2125       end;

2126       else do;

2127          length _dm28 $ 28; drop _dm28 ;

2128          %DMNORMCP( OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL , _dm28 )

2129          if _dm28 = '01:LOW-0.0012847, MISSING'  then do;

2130             _48_0 = 1;

2131             _48_1 = 0;

2132             _48_2 = 0;

38                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2133          end;

2134          else if _dm28 = '02:0.0012847-0.1073377'  then do;

2135             _48_0 = 0;

2136             _48_1 = 1;

2137             _48_2 = 0;

2138          end;

2139          else if _dm28 = '03:0.1073377-0.3397133'  then do;

2140             _48_0 = 0;

2141             _48_1 = 0;

2142             _48_2 = 1;

2143          end;

2144          else if _dm28 = '04:0.3397133-HIGH'  then do;

2145             _48_0 = -1;

2146             _48_1 = -1;

2147             _48_2 = -1;

2148          end;

2149          else do;

2150             _48_0 = .;

2151             _48_1 = .;

2152             _48_2 = .;

2153             substr(_warn_,2,1) = 'U';

2154             _DM_BAD = 1;

2155          end;

2156       end;

2157      

2158       *** Generate dummy variables for OPT_AVG_of_SON_3_AY_ORTALAMA_LIM ;

2159       drop _49_0 _49_1 _49_2 ;

2160       if missing( OPT_AVG_of_SON_3_AY_ORTALAMA_LIM ) then do;

2161          _49_0 = .;

2162          _49_1 = .;

2163          _49_2 = .;

2164          substr(_warn_,1,1) = 'M';

2165          _DM_BAD = 1;

2166       end;

2167       else do;

2168          length _dm28 $ 28; drop _dm28 ;

2169          %DMNORMCP( OPT_AVG_of_SON_3_AY_ORTALAMA_LIM , _dm28 )

2170          if _dm28 = '01:LOW-0.0022574, MISSING'  then do;

2171             _49_0 = 1;

2172             _49_1 = 0;

2173             _49_2 = 0;

2174          end;

2175          else if _dm28 = '03:0.069455-0.3916619'  then do;

2176             _49_0 = 0;

2177             _49_1 = 0;

2178             _49_2 = 1;

2179          end;

2180          else if _dm28 = '02:0.0022574-0.069455'  then do;

2181             _49_0 = 0;

2182             _49_1 = 1;

2183             _49_2 = 0;

2184          end;

2185          else if _dm28 = '04:0.3916619-HIGH'  then do;

2186             _49_0 = -1;

2187             _49_1 = -1;

2188             _49_2 = -1;

2189          end;

2190          else do;

39                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2191             _49_0 = .;

2192             _49_1 = .;

2193             _49_2 = .;

2194             substr(_warn_,2,1) = 'U';

2195             _DM_BAD = 1;

2196          end;

2197       end;

2198      

2199       *** Generate dummy variables for OPT_BNK_KMH_SON_3_AY_ORT ;

2200       drop _50_0 _50_1 _50_2 ;

2201       if missing( OPT_BNK_KMH_SON_3_AY_ORT ) then do;

2202          _50_0 = .;

2203          _50_1 = .;

2204          _50_2 = .;

2205          substr(_warn_,1,1) = 'M';

2206          _DM_BAD = 1;

2207       end;

2208       else do;

2209          length _dm28 $ 28; drop _dm28 ;

2210          %DMNORMCP( OPT_BNK_KMH_SON_3_AY_ORT , _dm28 )

2211          if _dm28 = '01:LOW-5.3166667, MISSING'  then do;

2212             _50_0 = 1;

2213             _50_1 = 0;

2214             _50_2 = 0;

2215          end;

2216          else if _dm28 = '04:81.158333-HIGH'  then do;

2217             _50_0 = -1;

2218             _50_1 = -1;

2219             _50_2 = -1;

2220          end;

2221          else if _dm28 = '03:26.140833-81.158333'  then do;

2222             _50_0 = 0;

2223             _50_1 = 0;

2224             _50_2 = 1;

2225          end;

2226          else if _dm28 = '02:5.3166667-26.140833'  then do;

2227             _50_0 = 0;

2228             _50_1 = 1;

2229             _50_2 = 0;

2230          end;

2231          else do;

2232             _50_0 = .;

2233             _50_1 = .;

2234             _50_2 = .;

2235             substr(_warn_,2,1) = 'U';

2236             _DM_BAD = 1;

2237          end;

2238       end;

2239      

2240       *** Generate dummy variables for OPT_BNK_KMH_SON_5_AY_ORT ;

2241       drop _51_0 _51_1 _51_2 ;

2242       if missing( OPT_BNK_KMH_SON_5_AY_ORT ) then do;

2243          _51_0 = .;

2244          _51_1 = .;

2245          _51_2 = .;

2246          substr(_warn_,1,1) = 'M';

2247          _DM_BAD = 1;

2248       end;

40                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2249       else do;

2250          length _dm28 $ 28; drop _dm28 ;

2251          %DMNORMCP( OPT_BNK_KMH_SON_5_AY_ORT , _dm28 )

2252          if _dm28 = '01:LOW-2.1283333, MISSING'  then do;

2253             _51_0 = 1;

2254             _51_1 = 0;

2255             _51_2 = 0;

2256          end;

2257          else if _dm28 = '04:123.92433-HIGH'  then do;

2258             _51_0 = -1;

2259             _51_1 = -1;

2260             _51_2 = -1;

2261          end;

2262          else if _dm28 = '03:27.5225-123.92433'  then do;

2263             _51_0 = 0;

2264             _51_1 = 0;

2265             _51_2 = 1;

2266          end;

2267          else if _dm28 = '02:2.1283333-27.5225'  then do;

2268             _51_0 = 0;

2269             _51_1 = 1;

2270             _51_2 = 0;

2271          end;

2272          else do;

2273             _51_0 = .;

2274             _51_1 = .;

2275             _51_2 = .;

2276             substr(_warn_,2,1) = 'U';

2277             _DM_BAD = 1;

2278          end;

2279       end;

2280      

2281       *** Generate dummy variables for OPT_BNK_MAAS_SON_3_AY_ORT ;

2282       drop _52_0 _52_1 ;

2283       if missing( OPT_BNK_MAAS_SON_3_AY_ORT ) then do;

2284          _52_0 = .;

2285          _52_1 = .;

2286          substr(_warn_,1,1) = 'M';

2287          _DM_BAD = 1;

2288       end;

2289       else do;

2290          length _dm28 $ 28; drop _dm28 ;

2291          %DMNORMCP( OPT_BNK_MAAS_SON_3_AY_ORT , _dm28 )

2292          if _dm28 = '01:LOW-2445.2333, MISSING'  then do;

2293             _52_0 = 1;

2294             _52_1 = 0;

2295          end;

2296          else if _dm28 = '02:2445.2333-5111.4125'  then do;

2297             _52_0 = 0;

2298             _52_1 = 1;

2299          end;

2300          else if _dm28 = '03:5111.4125-HIGH'  then do;

2301             _52_0 = -1;

2302             _52_1 = -1;

2303          end;

2304          else do;

2305             _52_0 = .;

2306             _52_1 = .;

41                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2307             substr(_warn_,2,1) = 'U';

2308             _DM_BAD = 1;

2309          end;

2310       end;

2311      

2312       *** Generate dummy variables for OPT_BNK_MAAS_SON_6_AY_ORT ;

2313       drop _53_0 ;

2314       if missing( OPT_BNK_MAAS_SON_6_AY_ORT ) then do;

2315          _53_0 = .;

2316          substr(_warn_,1,1) = 'M';

2317          _DM_BAD = 1;

2318       end;

2319       else do;

2320          length _dm28 $ 28; drop _dm28 ;

2321          %DMNORMCP( OPT_BNK_MAAS_SON_6_AY_ORT , _dm28 )

2322          if _dm28 = '01:LOW-2277.9483, MISSING'  then do;

2323             _53_0 = 1;

2324          end;

2325          else if _dm28 = '02:2277.9483-HIGH'  then do;

2326             _53_0 = -1;

2327          end;

2328          else do;

2329             _53_0 = .;

2330             substr(_warn_,2,1) = 'U';

2331             _DM_BAD = 1;

2332          end;

2333       end;

2334      

2335       *** Generate dummy variables for OPT_BNK_MAAS_SON_AY_TUTAR ;

2336       drop _54_0 ;

2337       if missing( OPT_BNK_MAAS_SON_AY_TUTAR ) then do;

2338          _54_0 = .;

2339          substr(_warn_,1,1) = 'M';

2340          _DM_BAD = 1;

2341       end;

2342       else do;

2343          length _dm24 $ 24; drop _dm24 ;

2344          %DMNORMCP( OPT_BNK_MAAS_SON_AY_TUTAR , _dm24 )

2345          if _dm24 = '01:LOW-2345.165, MISSING'  then do;

2346             _54_0 = 1;

2347          end;

2348          else if _dm24 = '02:2345.165-HIGH'  then do;

2349             _54_0 = -1;

2350          end;

2351          else do;

2352             _54_0 = .;

2353             substr(_warn_,2,1) = 'U';

2354             _DM_BAD = 1;

2355          end;

2356       end;

2357      

2358       *** Generate dummy variables for OPT_BNK_SON_3_AY_ORTALAMA_TAUM ;

2359       drop _55_0 _55_1 ;

2360       if missing( OPT_BNK_SON_3_AY_ORTALAMA_TAUM ) then do;

2361          _55_0 = .;

2362          _55_1 = .;

2363          substr(_warn_,1,1) = 'M';

2364          _DM_BAD = 1;

42                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2365       end;

2366       else do;

2367          length _dm22 $ 22; drop _dm22 ;

2368          %DMNORMCP( OPT_BNK_SON_3_AY_ORTALAMA_TAUM , _dm22 )

2369          if _dm22 = '01:LOW-18.275, MISSING'  then do;

2370             _55_0 = 1;

2371             _55_1 = 0;

2372          end;

2373          else if _dm22 = '02:18.275-9174.9133'  then do;

2374             _55_0 = 0;

2375             _55_1 = 1;

2376          end;

2377          else if _dm22 = '03:9174.9133-HIGH'  then do;

2378             _55_0 = -1;

2379             _55_1 = -1;

2380          end;

2381          else do;

2382             _55_0 = .;

2383             _55_1 = .;

2384             substr(_warn_,2,1) = 'U';

2385             _DM_BAD = 1;

2386          end;

2387       end;

2388      

2389       *** Generate dummy variables for OPT_DEM_ILK_KART_SURE_AY ;

2390       drop _56_0 _56_1 _56_2 ;

2391       if missing( OPT_DEM_ILK_KART_SURE_AY ) then do;

2392          _56_0 = .;

2393          _56_1 = .;

2394          _56_2 = .;

2395          substr(_warn_,1,1) = 'M';

2396          _DM_BAD = 1;

2397       end;

2398       else do;

2399          length _dm21 $ 21; drop _dm21 ;

2400          %DMNORMCP( OPT_DEM_ILK_KART_SURE_AY , _dm21 )

2401          if _dm21 = '04:28.5-HIGH, MISSING'  then do;

2402             _56_0 = -1;

2403             _56_1 = -1;

2404             _56_2 = -1;

2405          end;

2406          else if _dm21 = '03:10.5-28.5'  then do;

2407             _56_0 = 0;

2408             _56_1 = 0;

2409             _56_2 = 1;

2410          end;

2411          else if _dm21 = '02:4.5-10.5'  then do;

2412             _56_0 = 0;

2413             _56_1 = 1;

2414             _56_2 = 0;

2415          end;

2416          else if _dm21 = '01:LOW-4.5'  then do;

2417             _56_0 = 1;

2418             _56_1 = 0;

2419             _56_2 = 0;

2420          end;

2421          else do;

2422             _56_0 = .;

43                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2423             _56_1 = .;

2424             _56_2 = .;

2425             substr(_warn_,2,1) = 'U';

2426             _DM_BAD = 1;

2427          end;

2428       end;

2429      

2430       *** Generate dummy variables for OPT_DEM_Musteri_Omru_Yil ;

2431       drop _57_0 _57_1 _57_2 ;

2432       if missing( OPT_DEM_Musteri_Omru_Yil ) then do;

2433          _57_0 = .;

2434          _57_1 = .;

2435          _57_2 = .;

2436          substr(_warn_,1,1) = 'M';

2437          _DM_BAD = 1;

2438       end;

2439       else do;

2440          length _dm20 $ 20; drop _dm20 ;

2441          %DMNORMCP( OPT_DEM_Musteri_Omru_Yil , _dm20 )

2442          if _dm20 = '04:4.5-HIGH, MISSING'  then do;

2443             _57_0 = -1;

2444             _57_1 = -1;

2445             _57_2 = -1;

2446          end;

2447          else if _dm20 = '03:1.5-4.5'  then do;

2448             _57_0 = 0;

2449             _57_1 = 0;

2450             _57_2 = 1;

2451          end;

2452          else if _dm20 = '02:0.5-1.5'  then do;

2453             _57_0 = 0;

2454             _57_1 = 1;

2455             _57_2 = 0;

2456          end;

2457          else do;

2458             _57_0 = .;

2459             _57_1 = .;

2460             _57_2 = .;

2461             substr(_warn_,2,1) = 'U';

2462             _DM_BAD = 1;

2463          end;

2464       end;

2465      

2466       *** Generate dummy variables for OPT_Dem_Musteri_Omru_Ay ;

2467       drop _58_0 _58_1 _58_2 ;

2468       if missing( OPT_Dem_Musteri_Omru_Ay ) then do;

2469          _58_0 = .;

2470          _58_1 = .;

2471          _58_2 = .;

2472          substr(_warn_,1,1) = 'M';

2473          _DM_BAD = 1;

2474       end;

2475       else do;

2476          length _dm21 $ 21; drop _dm21 ;

2477          %DMNORMCP( OPT_Dem_Musteri_Omru_Ay , _dm21 )

2478          if _dm21 = '04:54.5-HIGH, MISSING'  then do;

2479             _58_0 = -1;

2480             _58_1 = -1;

44                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2481             _58_2 = -1;

2482          end;

2483          else if _dm21 = '03:18.5-54.5'  then do;

2484             _58_0 = 0;

2485             _58_1 = 0;

2486             _58_2 = 1;

2487          end;

2488          else if _dm21 = '02:3.5-18.5'  then do;

2489             _58_0 = 0;

2490             _58_1 = 1;

2491             _58_2 = 0;

2492          end;

2493          else if _dm21 = '01:LOW-3.5'  then do;

2494             _58_0 = 1;

2495             _58_1 = 0;

2496             _58_2 = 0;

2497          end;

2498          else do;

2499             _58_0 = .;

2500             _58_1 = .;

2501             _58_2 = .;

2502             substr(_warn_,2,1) = 'U';

2503             _DM_BAD = 1;

2504          end;

2505       end;

2506      

2507       *** Generate dummy variables for OPT_Dem_Musteri_Yas ;

2508       drop _59_0 ;

2509       if missing( OPT_Dem_Musteri_Yas ) then do;

2510          _59_0 = .;

2511          substr(_warn_,1,1) = 'M';

2512          _DM_BAD = 1;

2513       end;

2514       else do;

2515          length _dm20 $ 20; drop _dm20 ;

2516          %DMNORMCP( OPT_Dem_Musteri_Yas , _dm20 )

2517          if _dm20 = '01:LOW-46.5, MISSING'  then do;

2518             _59_0 = 1;

2519          end;

2520          else if _dm20 = '02:46.5-HIGH'  then do;

2521             _59_0 = -1;

2522          end;

2523          else do;

2524             _59_0 = .;

2525             substr(_warn_,2,1) = 'U';

2526             _DM_BAD = 1;

2527          end;

2528       end;

2529      

2530       *** Generate dummy variables for OPT_KK_BONUS_HARC_SON_3_AY_ORT ;

2531       drop _60_0 _60_1 ;

2532       if missing( OPT_KK_BONUS_HARC_SON_3_AY_ORT ) then do;

2533          _60_0 = .;

2534          _60_1 = .;

2535          substr(_warn_,1,1) = 'M';

2536          _DM_BAD = 1;

2537       end;

2538       else do;

45                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2539          length _dm21 $ 21; drop _dm21 ;

2540          %DMNORMCP( OPT_KK_BONUS_HARC_SON_3_AY_ORT , _dm21 )

2541          if _dm21 = '01:LOW-0.005, MISSING'  then do;

2542             _60_0 = 1;

2543             _60_1 = 0;

2544          end;

2545          else if _dm21 = '02:0.005-13.795'  then do;

2546             _60_0 = 0;

2547             _60_1 = 1;

2548          end;

2549          else if _dm21 = '03:13.795-HIGH'  then do;

2550             _60_0 = -1;

2551             _60_1 = -1;

2552          end;

2553          else do;

2554             _60_0 = .;

2555             _60_1 = .;

2556             substr(_warn_,2,1) = 'U';

2557             _DM_BAD = 1;

2558          end;

2559       end;

2560      

2561       *** Generate dummy variables for OPT_KK_BONUS_HARC_SON_6_AY_ORT ;

2562       drop _61_0 _61_1 ;

2563       if missing( OPT_KK_BONUS_HARC_SON_6_AY_ORT ) then do;

2564          _61_0 = .;

2565          _61_1 = .;

2566          substr(_warn_,1,1) = 'M';

2567          _DM_BAD = 1;

2568       end;

2569       else do;

2570          length _dm21 $ 21; drop _dm21 ;

2571          %DMNORMCP( OPT_KK_BONUS_HARC_SON_6_AY_ORT , _dm21 )

2572          if _dm21 = '01:LOW-0.005, MISSING'  then do;

2573             _61_0 = 1;

2574             _61_1 = 0;

2575          end;

2576          else if _dm21 = '02:0.005-11.22625'  then do;

2577             _61_0 = 0;

2578             _61_1 = 1;

2579          end;

2580          else if _dm21 = '03:11.22625-HIGH'  then do;

2581             _61_0 = -1;

2582             _61_1 = -1;

2583          end;

2584          else do;

2585             _61_0 = .;

2586             _61_1 = .;

2587             substr(_warn_,2,1) = 'U';

2588             _DM_BAD = 1;

2589          end;

2590       end;

2591      

2592       *** Generate dummy variables for OPT_KK_REVOLVE_SON_6AY_ORT ;

2593       drop _62_0 _62_1 ;

2594       if missing( OPT_KK_REVOLVE_SON_6AY_ORT ) then do;

2595          _62_0 = .;

2596          _62_1 = .;

46                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2597          substr(_warn_,1,1) = 'M';

2598          _DM_BAD = 1;

2599       end;

2600       else do;

2601          length _dm22 $ 22; drop _dm22 ;

2602          %DMNORMCP( OPT_KK_REVOLVE_SON_6AY_ORT , _dm22 )

2603          if _dm22 = '01:LOW-2.5555, MISSING'  then do;

2604             _62_0 = 1;

2605             _62_1 = 0;

2606          end;

2607          else if _dm22 = '03:61.456667-HIGH'  then do;

2608             _62_0 = -1;

2609             _62_1 = -1;

2610          end;

2611          else if _dm22 = '02:2.5555-61.456667'  then do;

2612             _62_0 = 0;

2613             _62_1 = 1;

2614          end;

2615          else do;

2616             _62_0 = .;

2617             _62_1 = .;

2618             substr(_warn_,2,1) = 'U';

2619             _DM_BAD = 1;

2620          end;

2621       end;

2622      

2623       *** Generate dummy variables for OPT_KK_REV_SON_3AY_ORT ;

2624       drop _63_0 _63_1 _63_2 ;

2625       if missing( OPT_KK_REV_SON_3AY_ORT ) then do;

2626          _63_0 = .;

2627          _63_1 = .;

2628          _63_2 = .;

2629          substr(_warn_,1,1) = 'M';

2630          _DM_BAD = 1;

2631       end;

2632       else do;

2633          length _dm28 $ 28; drop _dm28 ;

2634          %DMNORMCP( OPT_KK_REV_SON_3AY_ORT , _dm28 )

2635          if _dm28 = '01:LOW-2.91, MISSING'  then do;

2636             _63_0 = 1;

2637             _63_1 = 0;

2638             _63_2 = 0;

2639          end;

2640          else if _dm28 = '04:81.838333-HIGH'  then do;

2641             _63_0 = -1;

2642             _63_1 = -1;

2643             _63_2 = -1;

2644          end;

2645          else if _dm28 = '03:22.668333-81.838333'  then do;

2646             _63_0 = 0;

2647             _63_1 = 0;

2648             _63_2 = 1;

2649          end;

2650          else if _dm28 = '02:2.91-22.668333'  then do;

2651             _63_0 = 0;

2652             _63_1 = 1;

2653             _63_2 = 0;

2654          end;

47                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2655          else do;

2656             _63_0 = .;

2657             _63_1 = .;

2658             _63_2 = .;

2659             substr(_warn_,2,1) = 'U';

2660             _DM_BAD = 1;

2661          end;

2662       end;

2663      

2664       *** Generate dummy variables for OPT_KK_REV_SON_AY ;

2665       drop _64_0 _64_1 ;

2666       if missing( OPT_KK_REV_SON_AY ) then do;

2667          _64_0 = .;

2668          _64_1 = .;

2669          substr(_warn_,1,1) = 'M';

2670          _DM_BAD = 1;

2671       end;

2672       else do;

2673          length _dm20 $ 20; drop _dm20 ;

2674          %DMNORMCP( OPT_KK_REV_SON_AY , _dm20 )

2675          if _dm20 = '01:LOW-5.04, MISSING'  then do;

2676             _64_0 = 1;

2677             _64_1 = 0;

2678          end;

2679          else if _dm20 = '03:100.2-HIGH'  then do;

2680             _64_0 = -1;

2681             _64_1 = -1;

2682          end;

2683          else if _dm20 = '02:5.04-100.2'  then do;

2684             _64_0 = 0;

2685             _64_1 = 1;

2686          end;

2687          else do;

2688             _64_0 = .;

2689             _64_1 = .;

2690             substr(_warn_,2,1) = 'U';

2691             _DM_BAD = 1;

2692          end;

2693       end;

2694      

2695       *** Generate dummy variables for OPT_KK_SON_6_AY_ORT_BORC ;

2696       drop _65_0 _65_1 _65_2 ;

2697       if missing( OPT_KK_SON_6_AY_ORT_BORC ) then do;

2698          _65_0 = .;

2699          _65_1 = .;

2700          _65_2 = .;

2701          substr(_warn_,1,1) = 'M';

2702          _DM_BAD = 1;

2703       end;

2704       else do;

2705          length _dm25 $ 25; drop _dm25 ;

2706          %DMNORMCP( OPT_KK_SON_6_AY_ORT_BORC , _dm25 )

2707          if _dm25 = '04:240.0675-HIGH, MISSING'  then do;

2708             _65_0 = -1;

2709             _65_1 = -1;

2710             _65_2 = -1;

2711          end;

2712          else if _dm25 = '01:LOW-7.505'  then do;

48                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2713             _65_0 = 1;

2714             _65_1 = 0;

2715             _65_2 = 0;

2716          end;

2717          else if _dm25 = '03:84.691833-240.0675'  then do;

2718             _65_0 = 0;

2719             _65_1 = 0;

2720             _65_2 = 1;

2721          end;

2722          else if _dm25 = '02:7.505-84.691833'  then do;

2723             _65_0 = 0;

2724             _65_1 = 1;

2725             _65_2 = 0;

2726          end;

2727          else do;

2728             _65_0 = .;

2729             _65_1 = .;

2730             _65_2 = .;

2731             substr(_warn_,2,1) = 'U';

2732             _DM_BAD = 1;

2733          end;

2734       end;

2735      

2736       *** Generate dummy variables for OPT_KK_SON_AY_NA ;

2737       drop _66_0 ;

2738       if missing( OPT_KK_SON_AY_NA ) then do;

2739          _66_0 = .;

2740          substr(_warn_,1,1) = 'M';

2741          _DM_BAD = 1;

2742       end;

2743       else do;

2744          length _dm17 $ 17; drop _dm17 ;

2745          %DMNORMCP( OPT_KK_SON_AY_NA , _dm17 )

2746          if _dm17 = '01:LOW-5, MISSING'  then do;

2747             _66_0 = 1;

2748          end;

2749          else if _dm17 = '02:5-HIGH'  then do;

2750             _66_0 = -1;

2751          end;

2752          else do;

2753             _66_0 = .;

2754             substr(_warn_,2,1) = 'U';

2755             _DM_BAD = 1;

2756          end;

2757       end;

2758      

2759       *** Generate dummy variables for OPT_KK_SON_AY_TOPLAM_BORC ;

2760       drop _67_0 _67_1 _67_2 ;

2761       if missing( OPT_KK_SON_AY_TOPLAM_BORC ) then do;

2762          _67_0 = .;

2763          _67_1 = .;

2764          _67_2 = .;

2765          substr(_warn_,1,1) = 'M';

2766          _DM_BAD = 1;

2767       end;

2768       else do;

2769          length _dm20 $ 20; drop _dm20 ;

2770          %DMNORMCP( OPT_KK_SON_AY_TOPLAM_BORC , _dm20 )

49                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2771          if _dm20 = '01:LOW-5.11, MISSING'  then do;

2772             _67_0 = 1;

2773             _67_1 = 0;

2774             _67_2 = 0;

2775          end;

2776          else if _dm20 = '04:259.265-HIGH'  then do;

2777             _67_0 = -1;

2778             _67_1 = -1;

2779             _67_2 = -1;

2780          end;

2781          else if _dm20 = '03:90.02-259.265'  then do;

2782             _67_0 = 0;

2783             _67_1 = 0;

2784             _67_2 = 1;

2785          end;

2786          else if _dm20 = '02:5.11-90.02'  then do;

2787             _67_0 = 0;

2788             _67_1 = 1;

2789             _67_2 = 0;

2790          end;

2791          else do;

2792             _67_0 = .;

2793             _67_1 = .;

2794             _67_2 = .;

2795             substr(_warn_,2,1) = 'U';

2796             _DM_BAD = 1;

2797          end;

2798       end;

2799      

2800       *** Generate dummy variables for OPT_KK_TAK_HARCAMA_SON_3_AY_ORT ;

2801       drop _68_0 _68_1 ;

2802       if missing( OPT_KK_TAK_HARCAMA_SON_3_AY_ORT ) then do;

2803          _68_0 = .;

2804          _68_1 = .;

2805          substr(_warn_,1,1) = 'M';

2806          _DM_BAD = 1;

2807       end;

2808       else do;

2809          length _dm20 $ 20; drop _dm20 ;

2810          %DMNORMCP( OPT_KK_TAK_HARCAMA_SON_3_AY_ORT , _dm20 )

2811          if _dm20 = '01:LOW-1, MISSING'  then do;

2812             _68_0 = 1;

2813             _68_1 = 0;

2814          end;

2815          else if _dm20 = '02:1-381.00667'  then do;

2816             _68_0 = 0;

2817             _68_1 = 1;

2818          end;

2819          else if _dm20 = '03:381.00667-HIGH'  then do;

2820             _68_0 = -1;

2821             _68_1 = -1;

2822          end;

2823          else do;

2824             _68_0 = .;

2825             _68_1 = .;

2826             substr(_warn_,2,1) = 'U';

2827             _DM_BAD = 1;

2828          end;

50                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2829       end;

2830      

2831       *** Generate dummy variables for OPT_KK_TAK_HARCAMA_SON_6_AY_ORT ;

2832       drop _69_0 _69_1 ;

2833       if missing( OPT_KK_TAK_HARCAMA_SON_6_AY_ORT ) then do;

2834          _69_0 = .;

2835          _69_1 = .;

2836          substr(_warn_,1,1) = 'M';

2837          _DM_BAD = 1;

2838       end;

2839       else do;

2840          length _dm21 $ 21; drop _dm21 ;

2841          %DMNORMCP( OPT_KK_TAK_HARCAMA_SON_6_AY_ORT , _dm21 )

2842          if _dm21 = '01:LOW-6.125, MISSING'  then do;

2843             _69_0 = 1;

2844             _69_1 = 0;

2845          end;

2846          else if _dm21 = '02:6.125-449.89167'  then do;

2847             _69_0 = 0;

2848             _69_1 = 1;

2849          end;

2850          else if _dm21 = '03:449.89167-HIGH'  then do;

2851             _69_0 = -1;

2852             _69_1 = -1;

2853          end;

2854          else do;

2855             _69_0 = .;

2856             _69_1 = .;

2857             substr(_warn_,2,1) = 'U';

2858             _DM_BAD = 1;

2859          end;

2860       end;

2861      

2862       *** Generate dummy variables for OPT_KK_TAK_HARCAMa_SON_AY_TUTAR ;

2863       drop _70_0 _70_1 ;

2864       if missing( OPT_KK_TAK_HARCAMa_SON_AY_TUTAR ) then do;

2865          _70_0 = .;

2866          _70_1 = .;

2867          substr(_warn_,1,1) = 'M';

2868          _DM_BAD = 1;

2869       end;

2870       else do;

2871          length _dm20 $ 20; drop _dm20 ;

2872          %DMNORMCP( OPT_KK_TAK_HARCAMa_SON_AY_TUTAR , _dm20 )

2873          if _dm20 = '01:LOW-14.9, MISSING'  then do;

2874             _70_0 = 1;

2875             _70_1 = 0;

2876          end;

2877          else if _dm20 = '02:14.9-1050.475'  then do;

2878             _70_0 = 0;

2879             _70_1 = 1;

2880          end;

2881          else if _dm20 = '03:1050.475-HIGH'  then do;

2882             _70_0 = -1;

2883             _70_1 = -1;

2884          end;

2885          else do;

2886             _70_0 = .;

51                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2887             _70_1 = .;

2888             substr(_warn_,2,1) = 'U';

2889             _DM_BAD = 1;

2890          end;

2891       end;

2892      

2893       *** Generate dummy variables for OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA ;

2894       drop _71_0 _71_1 ;

2895       if missing( OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA ) then do;

2896          _71_0 = .;

2897          _71_1 = .;

2898          substr(_warn_,1,1) = 'M';

2899          _DM_BAD = 1;

2900       end;

2901       else do;

2902          length _dm20 $ 20; drop _dm20 ;

2903          %DMNORMCP( OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA , _dm20 )

2904          if _dm20 = '01:LOW-0.12, MISSING'  then do;

2905             _71_0 = 1;

2906             _71_1 = 0;

2907          end;

2908          else if _dm20 = '02:0.12-625.53333'  then do;

2909             _71_0 = 0;

2910             _71_1 = 1;

2911          end;

2912          else if _dm20 = '03:625.53333-HIGH'  then do;

2913             _71_0 = -1;

2914             _71_1 = -1;

2915          end;

2916          else do;

2917             _71_0 = .;

2918             _71_1 = .;

2919             substr(_warn_,2,1) = 'U';

2920             _DM_BAD = 1;

2921          end;

2922       end;

2923      

2924       *** Generate dummy variables for OPT_KK_TEK_CEKIM_SON_AY ;

2925       drop _72_0 _72_1 ;

2926       if missing( OPT_KK_TEK_CEKIM_SON_AY ) then do;

2927          _72_0 = .;

2928          _72_1 = .;

2929          substr(_warn_,1,1) = 'M';

2930          _DM_BAD = 1;

2931       end;

2932       else do;

2933          length _dm21 $ 21; drop _dm21 ;

2934          %DMNORMCP( OPT_KK_TEK_CEKIM_SON_AY , _dm21 )

2935          if _dm21 = '01:LOW-0.795, MISSING'  then do;

2936             _72_0 = 1;

2937             _72_1 = 0;

2938          end;

2939          else if _dm21 = '02:0.795-491.23'  then do;

2940             _72_0 = 0;

2941             _72_1 = 1;

2942          end;

2943          else if _dm21 = '03:491.23-HIGH'  then do;

2944             _72_0 = -1;

52                                                         The SAS System                                08:57 Tuesday, May 13, 2014

2945             _72_1 = -1;

2946          end;

2947          else do;

2948             _72_0 = .;

2949             _72_1 = .;

2950             substr(_warn_,2,1) = 'U';

2951             _DM_BAD = 1;

2952          end;

2953       end;

2954      

2955       *** Generate dummy variables for OPT_MUSTERI_NO ;

2956       drop _73_0 _73_1 _73_2 ;

2957       if missing( OPT_MUSTERI_NO ) then do;

2958          _73_0 = .;

2959          _73_1 = .;

2960          _73_2 = .;

2961          substr(_warn_,1,1) = 'M';

2962          _DM_BAD = 1;

2963       end;

2964       else do;

2965          length _dm24 $ 24; drop _dm24 ;

2966          %DMNORMCP( OPT_MUSTERI_NO , _dm24 )

2967          if _dm24 = '01:LOW-8772962, MISSING'  then do;

2968             _73_0 = 1;

2969             _73_1 = 0;

2970             _73_2 = 0;

2971          end;

2972          else if _dm24 = '02:8772962-10049967'  then do;

2973             _73_0 = 0;

2974             _73_1 = 1;

2975             _73_2 = 0;

2976          end;

2977          else if _dm24 = '03:10049967-11800124'  then do;

2978             _73_0 = 0;

2979             _73_1 = 0;

2980             _73_2 = 1;

2981          end;

2982          else if _dm24 = '04:11800124-HIGH'  then do;

2983             _73_0 = -1;

2984             _73_1 = -1;

2985             _73_2 = -1;

2986          end;

2987          else do;

2988             _73_0 = .;

2989             _73_1 = .;

2990             _73_2 = .;

2991             substr(_warn_,2,1) = 'U';

2992             _DM_BAD = 1;

2993          end;

2994       end;

2995      

2996       *** Generate dummy variables for OPT_SON_3_AY_AKRYKT_TUTAR_TL ;

2997       drop _74_0 _74_1 _74_2 ;

2998       if missing( OPT_SON_3_AY_AKRYKT_TUTAR_TL ) then do;

2999          _74_0 = .;

3000          _74_1 = .;

3001          _74_2 = .;

3002          substr(_warn_,1,1) = 'M';

53                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3003          _DM_BAD = 1;

3004       end;

3005       else do;

3006          length _dm16 $ 16; drop _dm16 ;

3007          %DMNORMCP( OPT_SON_3_AY_AKRYKT_TUTAR_TL , _dm16 )

3008          if _dm16 = '01:LOW-1.655'  then do;

3009             _74_0 = 1;

3010             _74_1 = 0;

3011             _74_2 = 0;

3012          end;

3013          else if _dm16 = '02:1.655-559.975'  then do;

3014             _74_0 = 0;

3015             _74_1 = 1;

3016             _74_2 = 0;

3017          end;

3018          else if _dm16 = '03:559.975-HIGH'  then do;

3019             _74_0 = 0;

3020             _74_1 = 0;

3021             _74_2 = 1;

3022          end;

3023          else do;

3024             _74_0 = .;

3025             _74_1 = .;

3026             _74_2 = .;

3027             substr(_warn_,2,1) = 'U';

3028             _DM_BAD = 1;

3029          end;

3030       end;

3031      

3032       *** Generate dummy variables for OPT_SON_3_AY_EV_TKSTL_TUTAR_TL ;

3033       drop _75_0 _75_1 ;

3034       if missing( OPT_SON_3_AY_EV_TKSTL_TUTAR_TL ) then do;

3035          _75_0 = .;

3036          _75_1 = .;

3037          substr(_warn_,1,1) = 'M';

3038          _DM_BAD = 1;

3039       end;

3040       else do;

3041          length _dm12 $ 12; drop _dm12 ;

3042          %DMNORMCP( OPT_SON_3_AY_EV_TKSTL_TUTAR_TL , _dm12 )

3043          if _dm12 = '01:LOW-0.75'  then do;

3044             _75_0 = 1;

3045             _75_1 = 0;

3046          end;

3047          else if _dm12 = '02:0.75-HIGH'  then do;

3048             _75_0 = 0;

3049             _75_1 = 1;

3050          end;

3051          else do;

3052             _75_0 = .;

3053             _75_1 = .;

3054             substr(_warn_,2,1) = 'U';

3055             _DM_BAD = 1;

3056          end;

3057       end;

3058      

3059       *** Generate dummy variables for OPT_SON_3_AY_GIDA_TUTAR_TL ;

3060       drop _76_0 _76_1 _76_2 ;

54                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3061       if missing( OPT_SON_3_AY_GIDA_TUTAR_TL ) then do;

3062          _76_0 = .;

3063          _76_1 = .;

3064          _76_2 = .;

3065          substr(_warn_,1,1) = 'M';

3066          _DM_BAD = 1;

3067       end;

3068       else do;

3069          length _dm14 $ 14; drop _dm14 ;

3070          %DMNORMCP( OPT_SON_3_AY_GIDA_TUTAR_TL , _dm14 )

3071          if _dm14 = '01:LOW-0.5'  then do;

3072             _76_0 = 1;

3073             _76_1 = 0;

3074             _76_2 = 0;

3075          end;

3076          else if _dm14 = '02:0.5-655.67'  then do;

3077             _76_0 = 0;

3078             _76_1 = 1;

3079             _76_2 = 0;

3080          end;

3081          else if _dm14 = '03:655.67-HIGH'  then do;

3082             _76_0 = 0;

3083             _76_1 = 0;

3084             _76_2 = 1;

3085          end;

3086          else do;

3087             _76_0 = .;

3088             _76_1 = .;

3089             _76_2 = .;

3090             substr(_warn_,2,1) = 'U';

3091             _DM_BAD = 1;

3092          end;

3093       end;

3094      

3095       *** Generate dummy variables for OPT_SON_3_AY_SGLK_TUTAR_TL ;

3096       drop _77_0 _77_1 _77_2 ;

3097       if missing( OPT_SON_3_AY_SGLK_TUTAR_TL ) then do;

3098          _77_0 = .;

3099          _77_1 = .;

3100          _77_2 = .;

3101          substr(_warn_,1,1) = 'M';

3102          _DM_BAD = 1;

3103       end;

3104       else do;

3105          length _dm25 $ 25; drop _dm25 ;

3106          %DMNORMCP( OPT_SON_3_AY_SGLK_TUTAR_TL , _dm25 )

3107          if _dm25 = '01:LOW-1.325'  then do;

3108             _77_0 = 1;

3109             _77_1 = 0;

3110             _77_2 = 0;

3111          end;

3112          else if _dm25 = '02:1.325-412.075'  then do;

3113             _77_0 = 0;

3114             _77_1 = 1;

3115             _77_2 = 0;

3116          end;

3117          else if _dm25 = '03:412.075-434.6, MISSING'  then do;

3118             _77_0 = 0;

55                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3119             _77_1 = 0;

3120             _77_2 = 1;

3121          end;

3122          else if _dm25 = '04:434.6-HIGH'  then do;

3123             _77_0 = -1;

3124             _77_1 = -1;

3125             _77_2 = -1;

3126          end;

3127          else do;

3128             _77_0 = .;

3129             _77_1 = .;

3130             _77_2 = .;

3131             substr(_warn_,2,1) = 'U';

3132             _DM_BAD = 1;

3133          end;

3134       end;

3135      

3136       *** Generate dummy variables for OPT_SON_3_AY_TKNLJ_TUTAR_TL ;

3137       drop _78_0 _78_1 ;

3138       if missing( OPT_SON_3_AY_TKNLJ_TUTAR_TL ) then do;

3139          _78_0 = .;

3140          _78_1 = .;

3141          substr(_warn_,1,1) = 'M';

3142          _DM_BAD = 1;

3143       end;

3144       else do;

3145          length _dm11 $ 11; drop _dm11 ;

3146          %DMNORMCP( OPT_SON_3_AY_TKNLJ_TUTAR_TL , _dm11 )

3147          if _dm11 = '01:LOW-3.5'  then do;

3148             _78_0 = 1;

3149             _78_1 = 0;

3150          end;

3151          else if _dm11 = '02:3.5-HIGH'  then do;

3152             _78_0 = 0;

3153             _78_1 = 1;

3154          end;

3155          else do;

3156             _78_0 = .;

3157             _78_1 = .;

3158             substr(_warn_,2,1) = 'U';

3159             _DM_BAD = 1;

3160          end;

3161       end;

3162      

3163       *** Generate dummy variables for OPT_SON_3_AY_TKSTL_TUTAR_TL ;

3164       drop _79_0 _79_1 ;

3165       if missing( OPT_SON_3_AY_TKSTL_TUTAR_TL ) then do;

3166          _79_0 = .;

3167          _79_1 = .;

3168          substr(_warn_,1,1) = 'M';

3169          _DM_BAD = 1;

3170       end;

3171       else do;

3172          length _dm13 $ 13; drop _dm13 ;

3173          %DMNORMCP( OPT_SON_3_AY_TKSTL_TUTAR_TL , _dm13 )

3174          if _dm13 = '01:LOW-0.005'  then do;

3175             _79_0 = 1;

3176             _79_1 = 0;

56                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3177          end;

3178          else if _dm13 = '02:0.005-HIGH'  then do;

3179             _79_0 = 0;

3180             _79_1 = 1;

3181          end;

3182          else do;

3183             _79_0 = .;

3184             _79_1 = .;

3185             substr(_warn_,2,1) = 'U';

3186             _DM_BAD = 1;

3187          end;

3188       end;

3189      

3190       *** Generate dummy variables for OPT_SON_3_AY_TRZM_TUTAR_TL ;

3191       drop _80_0 _80_1 ;

3192       if missing( OPT_SON_3_AY_TRZM_TUTAR_TL ) then do;

3193          _80_0 = .;

3194          _80_1 = .;

3195          substr(_warn_,1,1) = 'M';

3196          _DM_BAD = 1;

3197       end;

3198       else do;

3199          length _dm12 $ 12; drop _dm12 ;

3200          %DMNORMCP( OPT_SON_3_AY_TRZM_TUTAR_TL , _dm12 )

3201          if _dm12 = '01:LOW-8.62'  then do;

3202             _80_0 = 1;

3203             _80_1 = 0;

3204          end;

3205          else if _dm12 = '02:8.62-HIGH'  then do;

3206             _80_0 = 0;

3207             _80_1 = 1;

3208          end;

3209          else do;

3210             _80_0 = .;

3211             _80_1 = .;

3212             substr(_warn_,2,1) = 'U';

3213             _DM_BAD = 1;

3214          end;

3215       end;

3216      

3217       *** Generate dummy variables for OPT_SON_3_AY_ULASIM_TUTAR_TL ;

3218       drop _81_0 _81_1 ;

3219       if missing( OPT_SON_3_AY_ULASIM_TUTAR_TL ) then do;

3220          _81_0 = .;

3221          _81_1 = .;

3222          substr(_warn_,1,1) = 'M';

3223          _DM_BAD = 1;

3224       end;

3225       else do;

3226          length _dm12 $ 12; drop _dm12 ;

3227          %DMNORMCP( OPT_SON_3_AY_ULASIM_TUTAR_TL , _dm12 )

3228          if _dm12 = '01:LOW-3.75'  then do;

3229             _81_0 = 1;

3230             _81_1 = 0;

3231          end;

3232          else if _dm12 = '02:3.75-HIGH'  then do;

3233             _81_0 = 0;

3234             _81_1 = 1;

57                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3235          end;

3236          else do;

3237             _81_0 = .;

3238             _81_1 = .;

3239             substr(_warn_,2,1) = 'U';

3240             _DM_BAD = 1;

3241          end;

3242       end;

3243      

3244       *** Generate dummy variables for OPT_SON_AY_AKRYKT_TUTAR_TL ;

3245       drop _82_0 _82_1 ;

3246       if missing( OPT_SON_AY_AKRYKT_TUTAR_TL ) then do;

3247          _82_0 = .;

3248          _82_1 = .;

3249          substr(_warn_,1,1) = 'M';

3250          _DM_BAD = 1;

3251       end;

3252       else do;

3253          length _dm12 $ 12; drop _dm12 ;

3254          %DMNORMCP( OPT_SON_AY_AKRYKT_TUTAR_TL , _dm12 )

3255          if _dm12 = '01:LOW-1.25'  then do;

3256             _82_0 = 1;

3257             _82_1 = 0;

3258          end;

3259          else if _dm12 = '02:1.25-HIGH'  then do;

3260             _82_0 = 0;

3261             _82_1 = 1;

3262          end;

3263          else do;

3264             _82_0 = .;

3265             _82_1 = .;

3266             substr(_warn_,2,1) = 'U';

3267             _DM_BAD = 1;

3268          end;

3269       end;

3270      

3271       *** Generate dummy variables for OPT_SON_AY_EV_TKSTL_TUTAR_TL ;

3272       drop _83_0 _83_1 _83_2 ;

3273       if missing( OPT_SON_AY_EV_TKSTL_TUTAR_TL ) then do;

3274          _83_0 = .;

3275          _83_1 = .;

3276          _83_2 = .;

3277          substr(_warn_,1,1) = 'M';

3278          _DM_BAD = 1;

3279       end;

3280       else do;

3281          length _dm26 $ 26; drop _dm26 ;

3282          %DMNORMCP( OPT_SON_AY_EV_TKSTL_TUTAR_TL , _dm26 )

3283          if _dm26 = '01:LOW-0.75'  then do;

3284             _83_0 = 1;

3285             _83_1 = 0;

3286             _83_2 = 0;

3287          end;

3288          else if _dm26 = '03:246.65-286.375, MISSING'  then do;

3289             _83_0 = 0;

3290             _83_1 = 0;

3291             _83_2 = 1;

3292          end;

58                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3293          else if _dm26 = '02:0.75-246.65'  then do;

3294             _83_0 = 0;

3295             _83_1 = 1;

3296             _83_2 = 0;

3297          end;

3298          else if _dm26 = '04:286.375-HIGH'  then do;

3299             _83_0 = -1;

3300             _83_1 = -1;

3301             _83_2 = -1;

3302          end;

3303          else do;

3304             _83_0 = .;

3305             _83_1 = .;

3306             _83_2 = .;

3307             substr(_warn_,2,1) = 'U';

3308             _DM_BAD = 1;

3309          end;

3310       end;

3311      

3312       *** Generate dummy variables for OPT_SON_AY_GIDA_TUTAR_TL ;

3313       drop _84_0 _84_1 _84_2 ;

3314       if missing( OPT_SON_AY_GIDA_TUTAR_TL ) then do;

3315          _84_0 = .;

3316          _84_1 = .;

3317          _84_2 = .;

3318          substr(_warn_,1,1) = 'M';

3319          _DM_BAD = 1;

3320       end;

3321       else do;

3322          length _dm16 $ 16; drop _dm16 ;

3323          %DMNORMCP( OPT_SON_AY_GIDA_TUTAR_TL , _dm16 )

3324          if _dm16 = '01:LOW-1.595'  then do;

3325             _84_0 = 1;

3326             _84_1 = 0;

3327             _84_2 = 0;

3328          end;

3329          else if _dm16 = '02:1.595-256.365'  then do;

3330             _84_0 = 0;

3331             _84_1 = 1;

3332             _84_2 = 0;

3333          end;

3334          else if _dm16 = '03:256.365-HIGH'  then do;

3335             _84_0 = 0;

3336             _84_1 = 0;

3337             _84_2 = 1;

3338          end;

3339          else do;

3340             _84_0 = .;

3341             _84_1 = .;

3342             _84_2 = .;

3343             substr(_warn_,2,1) = 'U';

3344             _DM_BAD = 1;

3345          end;

3346       end;

3347      

3348       *** Generate dummy variables for OPT_SON_AY_SGLK_TUTAR_TL ;

3349       drop _85_0 _85_1 ;

3350       if missing( OPT_SON_AY_SGLK_TUTAR_TL ) then do;

59                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3351          _85_0 = .;

3352          _85_1 = .;

3353          substr(_warn_,1,1) = 'M';

3354          _DM_BAD = 1;

3355       end;

3356       else do;

3357          length _dm13 $ 13; drop _dm13 ;

3358          %DMNORMCP( OPT_SON_AY_SGLK_TUTAR_TL , _dm13 )

3359          if _dm13 = '01:LOW-1.125'  then do;

3360             _85_0 = 1;

3361             _85_1 = 0;

3362          end;

3363          else if _dm13 = '02:1.125-HIGH'  then do;

3364             _85_0 = 0;

3365             _85_1 = 1;

3366          end;

3367          else do;

3368             _85_0 = .;

3369             _85_1 = .;

3370             substr(_warn_,2,1) = 'U';

3371             _DM_BAD = 1;

3372          end;

3373       end;

3374      

3375       *** Generate dummy variables for OPT_SON_AY_TAUM ;

3376       drop _86_0 _86_1 ;

3377       if missing( OPT_SON_AY_TAUM ) then do;

3378          _86_0 = .;

3379          _86_1 = .;

3380          substr(_warn_,1,1) = 'M';

3381          _DM_BAD = 1;

3382       end;

3383       else do;

3384          length _dm21 $ 21; drop _dm21 ;

3385          %DMNORMCP( OPT_SON_AY_TAUM , _dm21 )

3386          if _dm21 = '01:LOW-5.505, MISSING'  then do;

3387             _86_0 = 1;

3388             _86_1 = 0;

3389          end;

3390          else if _dm21 = '02:5.505-9080.5'  then do;

3391             _86_0 = 0;

3392             _86_1 = 1;

3393          end;

3394          else if _dm21 = '03:9080.5-HIGH'  then do;

3395             _86_0 = -1;

3396             _86_1 = -1;

3397          end;

3398          else do;

3399             _86_0 = .;

3400             _86_1 = .;

3401             substr(_warn_,2,1) = 'U';

3402             _DM_BAD = 1;

3403          end;

3404       end;

3405      

3406       *** Generate dummy variables for OPT_SON_AY_TEKSTIL_TUTAR_TL ;

3407       drop _87_0 _87_1 ;

3408       if missing( OPT_SON_AY_TEKSTIL_TUTAR_TL ) then do;

60                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3409          _87_0 = .;

3410          _87_1 = .;

3411          substr(_warn_,1,1) = 'M';

3412          _DM_BAD = 1;

3413       end;

3414       else do;

3415          length _dm12 $ 12; drop _dm12 ;

3416          %DMNORMCP( OPT_SON_AY_TEKSTIL_TUTAR_TL , _dm12 )

3417          if _dm12 = '01:LOW-4.45'  then do;

3418             _87_0 = 1;

3419             _87_1 = 0;

3420          end;

3421          else if _dm12 = '02:4.45-HIGH'  then do;

3422             _87_0 = 0;

3423             _87_1 = 1;

3424          end;

3425          else do;

3426             _87_0 = .;

3427             _87_1 = .;

3428             substr(_warn_,2,1) = 'U';

3429             _DM_BAD = 1;

3430          end;

3431       end;

3432      

3433       *** Generate dummy variables for OPT_SON_AY_TKNLJ_TUTAR_TL ;

3434       drop _88_0 _88_1 ;

3435       if missing( OPT_SON_AY_TKNLJ_TUTAR_TL ) then do;

3436          _88_0 = .;

3437          _88_1 = .;

3438          substr(_warn_,1,1) = 'M';

3439          _DM_BAD = 1;

3440       end;

3441       else do;

3442          length _dm12 $ 12; drop _dm12 ;

3443          %DMNORMCP( OPT_SON_AY_TKNLJ_TUTAR_TL , _dm12 )

3444          if _dm12 = '01:LOW-2.15'  then do;

3445             _88_0 = 1;

3446             _88_1 = 0;

3447          end;

3448          else if _dm12 = '02:2.15-HIGH'  then do;

3449             _88_0 = 0;

3450             _88_1 = 1;

3451          end;

3452          else do;

3453             _88_0 = .;

3454             _88_1 = .;

3455             substr(_warn_,2,1) = 'U';

3456             _DM_BAD = 1;

3457          end;

3458       end;

3459      

3460       *** Generate dummy variables for SON_3_AY_AKTF_EK_KART_ADET ;

3461       drop _89_0 ;

3462       if missing( SON_3_AY_AKTF_EK_KART_ADET ) then do;

3463          _89_0 = .;

3464          substr(_warn_,1,1) = 'M';

3465          _DM_BAD = 1;

3466       end;

61                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3467       else do;

3468          length _dm10 $ 10; drop _dm10 ;

3469          _dm10 = put( SON_3_AY_AKTF_EK_KART_ADET , 10. );

3470          %DMNORMIP( _dm10 )

3471          if _dm10 = '0'  then do;

3472             _89_0 = 1;

3473          end;

3474          else if _dm10 = '1'  then do;

3475             _89_0 = -1;

3476          end;

3477          else do;

3478             _89_0 = .;

3479             substr(_warn_,2,1) = 'U';

3480             _DM_BAD = 1;

3481          end;

3482       end;

3483      

3484       *** Generate dummy variables for SON_3_AY_TEK_CEKIM_VAR ;

3485       drop _91_0 ;

3486       if missing( SON_3_AY_TEK_CEKIM_VAR ) then do;

3487          _91_0 = .;

3488          substr(_warn_,1,1) = 'M';

3489          _DM_BAD = 1;

3490       end;

3491       else do;

3492          length _dm12 $ 12; drop _dm12 ;

3493          _dm12 = put( SON_3_AY_TEK_CEKIM_VAR , BEST12. );

3494          %DMNORMIP( _dm12 )

3495          if _dm12 = '1'  then do;

3496             _91_0 = -1;

3497          end;

3498          else if _dm12 = '0'  then do;

3499             _91_0 = 1;

3500          end;

3501          else do;

3502             _91_0 = .;

3503             substr(_warn_,2,1) = 'U';

3504             _DM_BAD = 1;

3505          end;

3506       end;

3507      

3508       *** Generate dummy variables for SON_6AY_TEK_CEKIM_KACKEZ ;

3509       drop _92_0 _92_1 _92_2 _92_3 _92_4 _92_5 ;

3510       *** encoding is sparse, initialize to zero;

3511       _92_0 = 0;

3512       _92_1 = 0;

3513       _92_2 = 0;

3514       _92_3 = 0;

3515       _92_4 = 0;

3516       _92_5 = 0;

3517       if missing( SON_6AY_TEK_CEKIM_KACKEZ ) then do;

3518          _92_0 = .;

3519          _92_1 = .;

3520          _92_2 = .;

3521          _92_3 = .;

3522          _92_4 = .;

3523          _92_5 = .;

3524          substr(_warn_,1,1) = 'M';

62                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3525          _DM_BAD = 1;

3526       end;

3527       else do;

3528          length _dm12 $ 12; drop _dm12 ;

3529          _dm12 = put( SON_6AY_TEK_CEKIM_KACKEZ , BEST12. );

3530          %DMNORMIP( _dm12 )

3531          _dm_find = 0; drop _dm_find;

3532          if _dm12 <= '3'  then do;

3533             if _dm12 <= '1'  then do;

3534                if _dm12 = '0'  then do;

3535                   _92_0 = 1;

3536                   _dm_find = 1;

3537                end;

3538                else do;

3539                   if _dm12 = '1'  then do;

3540                      _92_1 = 1;

3541                      _dm_find = 1;

3542                   end;

3543                end;

3544             end;

3545             else do;

3546                if _dm12 = '2'  then do;

3547                   _92_2 = 1;

3548                   _dm_find = 1;

3549                end;

3550                else do;

3551                   if _dm12 = '3'  then do;

3552                      _92_3 = 1;

3553                      _dm_find = 1;

3554                   end;

3555                end;

3556             end;

3557          end;

3558          else do;

3559             if _dm12 <= '5'  then do;

3560                if _dm12 = '4'  then do;

3561                   _92_4 = 1;

3562                   _dm_find = 1;

3563                end;

3564                else do;

3565                   if _dm12 = '5'  then do;

3566                      _92_5 = 1;

3567                      _dm_find = 1;

3568                   end;

3569                end;

3570             end;

3571             else do;

3572                if _dm12 = '6'  then do;

3573                   _92_0 = -1;

3574                   _92_1 = -1;

3575                   _92_2 = -1;

3576                   _92_3 = -1;

3577                   _92_4 = -1;

3578                   _92_5 = -1;

3579                   _dm_find = 1;

3580                end;

3581             end;

3582          end;

63                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3583          if not _dm_find then do;

3584             _92_0 = .;

3585             _92_1 = .;

3586             _92_2 = .;

3587             _92_3 = .;

3588             _92_4 = .;

3589             _92_5 = .;

3590             substr(_warn_,2,1) = 'U';

3591             _DM_BAD = 1;

3592          end;

3593       end;

3594      

3595       *** Generate dummy variables for SON_6_AY_AKTF_ASIL_KART_ADET ;

3596       drop _93_0 ;

3597       if missing( SON_6_AY_AKTF_ASIL_KART_ADET ) then do;

3598          _93_0 = .;

3599          substr(_warn_,1,1) = 'M';

3600          _DM_BAD = 1;

3601       end;

3602       else do;

3603          length _dm10 $ 10; drop _dm10 ;

3604          _dm10 = put( SON_6_AY_AKTF_ASIL_KART_ADET , 10. );

3605          %DMNORMIP( _dm10 )

3606          if _dm10 = '1'  then do;

3607             _93_0 = -1;

3608          end;

3609          else if _dm10 = '0'  then do;

3610             _93_0 = 1;

3611          end;

3612          else do;

3613             _93_0 = .;

3614             substr(_warn_,2,1) = 'U';

3615             _DM_BAD = 1;

3616          end;

3617       end;

3618      

3619       *** Generate dummy variables for SON_6_AY_AKTF_KART_ADET ;

3620       drop _94_0 _94_1 ;

3621       if missing( SON_6_AY_AKTF_KART_ADET ) then do;

3622          _94_0 = .;

3623          _94_1 = .;

3624          substr(_warn_,1,1) = 'M';

3625          _DM_BAD = 1;

3626       end;

3627       else do;

3628          length _dm10 $ 10; drop _dm10 ;

3629          _dm10 = put( SON_6_AY_AKTF_KART_ADET , 10. );

3630          %DMNORMIP( _dm10 )

3631          if _dm10 = '1'  then do;

3632             _94_0 = 0;

3633             _94_1 = 1;

3634          end;

3635          else if _dm10 = '0'  then do;

3636             _94_0 = 1;

3637             _94_1 = 0;

3638          end;

3639          else if _dm10 = '2'  then do;

3640             _94_0 = -1;

64                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3641             _94_1 = -1;

3642          end;

3643          else do;

3644             _94_0 = .;

3645             _94_1 = .;

3646             substr(_warn_,2,1) = 'U';

3647             _DM_BAD = 1;

3648          end;

3649       end;

3650      

3651       *** Generate dummy variables for SON_AY_TEK_CEKIM_VAR ;

3652       drop _96_0 ;

3653       if missing( SON_AY_TEK_CEKIM_VAR ) then do;

3654          _96_0 = .;

3655          substr(_warn_,1,1) = 'M';

3656          _DM_BAD = 1;

3657       end;

3658       else do;

3659          length _dm12 $ 12; drop _dm12 ;

3660          _dm12 = put( SON_AY_TEK_CEKIM_VAR , BEST12. );

3661          %DMNORMIP( _dm12 )

3662          if _dm12 = '0'  then do;

3663             _96_0 = 1;

3664          end;

3665          else if _dm12 = '1'  then do;

3666             _96_0 = -1;

3667          end;

3668          else do;

3669             _96_0 = .;

3670             substr(_warn_,2,1) = 'U';

3671             _DM_BAD = 1;

3672          end;

3673       end;

3674      

3675       *** Generate dummy variables for SORUNLU_KREDI_SAY_BIR_YIL ;

3676       drop _98_0 ;

3677       if missing( SORUNLU_KREDI_SAY_BIR_YIL ) then do;

3678          _98_0 = .;

3679          substr(_warn_,1,1) = 'M';

3680          _DM_BAD = 1;

3681       end;

3682       else do;

3683          length _dm13 $ 13; drop _dm13 ;

3684          %DMNORMCP( SORUNLU_KREDI_SAY_BIR_YIL , _dm13 )

3685          if _dm13 = 'BELIRTILMEMIS'  then do;

3686             _98_0 = -1;

3687          end;

3688          else if _dm13 = '0-3'  then do;

3689             _98_0 = 1;

3690          end;

3691          else do;

3692             _98_0 = .;

3693             substr(_warn_,2,1) = 'U';

3694             _DM_BAD = 1;

3695          end;

3696       end;

3697      

3698       *** If missing inputs, use averages;

65                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3699       if _DM_BAD > 0 then do;

3700          _P0 = 0.488866268;

3701          _P1 = 0.511133732;

3702          goto REG2DR1;

3703       end;

3704      

3705       *** Compute Linear Predictor;

3706       drop _TEMP;

3707       drop _LP0;

3708       _LP0 = 0;

3709      

3710       ***  Effect: BNK_KHM_SON_AY_VAR ;

3711       _TEMP = 1;

3712       _LP0 = _LP0 + (    -0.1676169481859) * _TEMP * _1_0;

3713      

3714       ***  Effect: BNK_KMH_SON_3_AY_KACKEZ ;

3715       _TEMP = 1;

3716       _LP0 = _LP0 + (    0.13063161555488) * _TEMP * _2_0;

3717       _LP0 = _LP0 + (    0.02315929185345) * _TEMP * _2_1;

3718       _LP0 = _LP0 + (    0.01254683092005) * _TEMP * _2_2;

3719      

3720       ***  Effect: BNK_KMH_SON_6_AY_KACKEZ ;

3721       _TEMP = 1;

3722       _LP0 = _LP0 + (    0.06839450801149) * _TEMP * _3_0;

3723       _LP0 = _LP0 + (   -0.08644183795123) * _TEMP * _3_1;

3724       _LP0 = _LP0 + (    0.06660490398132) * _TEMP * _3_2;

3725       _LP0 = _LP0 + (    -0.0582128060161) * _TEMP * _3_3;

3726       _LP0 = _LP0 + (    0.04519501589769) * _TEMP * _3_4;

3727       _LP0 = _LP0 + (   -0.07056112912449) * _TEMP * _3_5;

3728      

3729       ***  Effect: BNK_MAAS_SON_6_AY_KACKEZ ;

3730       _TEMP = 1;

3731       _LP0 = _LP0 + (    0.30776403396126) * _TEMP * _5_0;

3732       _LP0 = _LP0 + (    0.18524837849436) * _TEMP * _5_1;

3733       _LP0 = _LP0 + (    0.40403321303271) * _TEMP * _5_2;

3734       _LP0 = _LP0 + (    -0.1920677573327) * _TEMP * _5_3;

3735      

3736       ***  Effect: BNK_MAAS_SON_AY_VAR ;

3737       _TEMP = 1;

3738       _LP0 = _LP0 + (    -0.3798647815007) * _TEMP * _7_0;

3739      

3740       ***  Effect: DEM_BAKMAKLA_YUKULMLU_KISI_SAY ;

3741       _TEMP = 1;

3742       _LP0 = _LP0 + (    0.05190966996582) * _TEMP * _8_0;

3743       _LP0 = _LP0 + (    0.08739456954855) * _TEMP * _8_1;

3744       _LP0 = _LP0 + (   -0.02450302498641) * _TEMP * _8_2;

3745      

3746       ***  Effect: DEM_BAKMAKLA_YUKUMLU_KISI_SAY ;

3747       _TEMP = 1;

3748       _LP0 = _LP0 + (   -0.00500257793953) * _TEMP * _9_0;

3749      

3750       ***  Effect: DEM_Egitim ;

3751       _TEMP = 1;

3752       _LP0 = _LP0 + (    -0.0851730417086) * _TEMP * _10_0;

3753       _LP0 = _LP0 + (    0.07443698034052) * _TEMP * _10_1;

3754       _LP0 = _LP0 + (   -0.13445292931233) * _TEMP * _10_2;

3755       _LP0 = _LP0 + (    0.00816219404359) * _TEMP * _10_3;

3756      

66                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3757       ***  Effect: DEM_IL_GELISMISLIK_KOD ;

3758       _TEMP = 1;

3759       _LP0 = _LP0 + (    0.05679697132892) * _TEMP * _11_0;

3760       _LP0 = _LP0 + (   -0.03890399768187) * _TEMP * _11_1;

3761       _LP0 = _LP0 + (   -0.00906490356659) * _TEMP * _11_2;

3762       _LP0 = _LP0 + (   -0.04225148550217) * _TEMP * _11_3;

3763      

3764       ***  Effect: DEM_IS_Ana_Grup ;

3765       _TEMP = 1;

3766       _LP0 = _LP0 + (   -0.05009583690074) * _TEMP * _12_0;

3767       _LP0 = _LP0 + (   -0.12759884635215) * _TEMP * _12_1;

3768       _LP0 = _LP0 + (    0.10827428343462) * _TEMP * _12_2;

3769       _LP0 = _LP0 + (   -0.24375228752304) * _TEMP * _12_3;

3770       _LP0 = _LP0 + (     0.1398446778999) * _TEMP * _12_4;

3771       _LP0 = _LP0 + (    0.30786136553343) * _TEMP * _12_5;

3772      

3773       ***  Effect: DEM_Musteri_Omru_Bracket ;

3774       _TEMP = 1;

3775       _LP0 = _LP0 + (    0.38854255954899) * _TEMP * _13_0;

3776       _LP0 = _LP0 + (   -0.27986455730551) * _TEMP * _13_1;

3777       _LP0 = _LP0 + (   -0.03379421895854) * _TEMP * _13_2;

3778       _LP0 = _LP0 + (   -0.14612573304147) * _TEMP * _13_3;

3779       _LP0 = _LP0 + (   -0.08905831820033) * _TEMP * _13_4;

3780       _LP0 = _LP0 + (     0.0192071281564) * _TEMP * _13_5;

3781      

3782       ***  Effect: DEM_Musteri_Yas_Bracket ;

3783       _TEMP = 1;

3784       _LP0 = _LP0 + (   -0.09147477352386) * _TEMP * _14_0;

3785       _LP0 = _LP0 + (    0.15704229270817) * _TEMP * _14_1;

3786       _LP0 = _LP0 + (    0.06591542002145) * _TEMP * _14_2;

3787       _LP0 = _LP0 + (   -0.01148244167044) * _TEMP * _14_3;

3788       _LP0 = _LP0 + (    0.02249302706485) * _TEMP * _14_4;

3789      

3790       ***  Effect: GUN_PKT_F ;

3791       _TEMP = 1;

3792       _LP0 = _LP0 + (    0.26055509907071) * _TEMP * _15_0;

3793      

3794       ***  Effect: IHTIYAC_2013_SON_6_AY_KACKEZ ;

3795       _TEMP = 1;

3796       _LP0 = _LP0 + (    0.30503288515237) * _TEMP * _16_0;

3797       _LP0 = _LP0 + (    0.30142684411492) * _TEMP * _16_1;

3798       _LP0 = _LP0 + (    0.33773350659353) * _TEMP * _16_2;

3799       _LP0 = _LP0 + (   -0.15785051690738) * _TEMP * _16_3;

3800       _LP0 = _LP0 + (   -0.07797572861472) * _TEMP * _16_4;

3801       _LP0 = _LP0 + (   -0.38052365121472) * _TEMP * _16_5;

3802      

3803       ***  Effect: IHTIYAC_2013_SON_AY_VAR ;

3804       _TEMP = 1;

3805       _LP0 = _LP0 + (   -0.37968882293282) * _TEMP * _17_0;

3806      

3807       ***  Effect: KKB_SKOR_BRACKET ;

3808       _TEMP = 1;

3809       _LP0 = _LP0 + (   -0.00790095234533) * _TEMP * _18_0;

3810       _LP0 = _LP0 + (    0.16049884314489) * _TEMP * _18_1;

3811      

3812       ***  Effect: KK_AKT_2013_SON_3_AY_K ;

3813       _TEMP = 1;

3814       _LP0 = _LP0 + (   -0.56605169083826) * _TEMP * _19_0;

67                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3815       _LP0 = _LP0 + (    0.36591882219164) * _TEMP * _19_1;

3816       _LP0 = _LP0 + (    0.19252983475519) * _TEMP * _19_2;

3817      

3818       ***  Effect: KK_AKT_2013_SON_6_AY_VAR ;

3819       _TEMP = 1;

3820       _LP0 = _LP0 + (    0.15759478766601) * _TEMP * _20_0;

3821      

3822       ***  Effect: KK_AKT_2013_SON_AY_VAR ;

3823       _TEMP = 1;

3824       _LP0 = _LP0 + (   -0.15593783614895) * _TEMP * _21_0;

3825      

3826       ***  Effect: KK_AKT_SON_6_KAC ;

3827       _TEMP = 1;

3828       _LP0 = _LP0 + (   -0.53553988628815) * _TEMP * _22_0;

3829       _LP0 = _LP0 + (    0.60970853862581) * _TEMP * _22_1;

3830       _LP0 = _LP0 + (    0.22558502000463) * _TEMP * _22_2;

3831       _LP0 = _LP0 + (    0.04785894222899) * _TEMP * _22_3;

3832       _LP0 = _LP0 + (   -0.01543002552018) * _TEMP * _22_4;

3833       _LP0 = _LP0 + (                   0) * _TEMP * _22_5;

3834      

3835       ***  Effect: KK_BONUS_HARC_SON_3_AY_KACKEZ ;

3836       _TEMP = 1;

3837       _LP0 = _LP0 + (    0.14407150127444) * _TEMP * _23_0;

3838       _LP0 = _LP0 + (    0.00505791569322) * _TEMP * _23_1;

3839      

3840       ***  Effect: KK_BONUS_HARC_SON_6_AY_KACKEZ ;

3841       _TEMP = 1;

3842       _LP0 = _LP0 + (   -0.10369539219862) * _TEMP * _25_0;

3843       _LP0 = _LP0 + (    0.12833311870236) * _TEMP * _25_1;

3844       _LP0 = _LP0 + (    0.11185168715961) * _TEMP * _25_2;

3845       _LP0 = _LP0 + (   -0.03713695206919) * _TEMP * _25_3;

3846      

3847       ***  Effect: KK_BONUS_HARC_SON_AY_VAR ;

3848       _TEMP = 1;

3849       _LP0 = _LP0 + (   -0.03715569878921) * _TEMP * _27_0;

3850      

3851       ***  Effect: KK_SON_6_AY_KAC_KEZ_TNA ;

3852       _TEMP = 1;

3853       _LP0 = _LP0 + (   -0.18453853338344) * _TEMP * _29_0;

3854       _LP0 = _LP0 + (     0.3153925005173) * _TEMP * _29_1;

3855       _LP0 = _LP0 + (   -0.02340201368488) * _TEMP * _29_2;

3856       _LP0 = _LP0 + (    -0.0308212187212) * _TEMP * _29_3;

3857       _LP0 = _LP0 + (   -0.13414865075778) * _TEMP * _29_4;

3858       _LP0 = _LP0 + (    0.08750091515786) * _TEMP * _29_5;

3859      

3860       ***  Effect: KK_SON_AY_NA_VAR ;

3861       _TEMP = 1;

3862       _LP0 = _LP0 + (   -1.36663648428694) * _TEMP * _31_0;

3863      

3864       ***  Effect: KK_SON_AY_TNA_VAR ;

3865       _TEMP = 1;

3866       _LP0 = _LP0 + (   -0.12420158776186) * _TEMP * _32_0;

3867      

3868       ***  Effect: KK_TAKSIT_SON_6_KAC ;

3869       _TEMP = 1;

3870       _LP0 = _LP0 + (   -0.61632031116566) * _TEMP * _33_0;

3871       _LP0 = _LP0 + (   -0.13450488904474) * _TEMP * _33_1;

3872       _LP0 = _LP0 + (    0.08509249538223) * _TEMP * _33_2;

68                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3873       _LP0 = _LP0 + (     0.0797396122611) * _TEMP * _33_3;

3874       _LP0 = _LP0 + (    0.14807592145861) * _TEMP * _33_4;

3875       _LP0 = _LP0 + (    0.01166817204194) * _TEMP * _33_5;

3876      

3877       ***  Effect: KK_TAK_HARCAMA_SON_3_AY_VAR ;

3878       _TEMP = 1;

3879       _LP0 = _LP0 + (    0.15023965310679) * _TEMP * _34_0;

3880      

3881       ***  Effect: KK_TAK_HARCAMA_SON_AY_VAR ;

3882       _TEMP = 1;

3883       _LP0 = _LP0 + (    -0.2146329718221) * _TEMP * _35_0;

3884      

3885       ***  Effect: MAX_of_KKHRM_EGITIM_SON_6AY_VAR ;

3886       _TEMP = 1;

3887       _LP0 = _LP0 + (    0.00473362216889) * _TEMP * _36_0;

3888      

3889       ***  Effect: MAX_of_KKHRM_EVTEKSTIL_SON_6_AY_ ;

3890       _TEMP = 1;

3891       _LP0 = _LP0 + (    0.00001537193983) * _TEMP * _37_0;

3892      

3893       ***  Effect: MAX_of_KKHRM_GIDA_SON_6_AY_VAR ;

3894       _TEMP = 1;

3895       _LP0 = _LP0 + (    0.03141800841086) * _TEMP * _38_0;

3896      

3897       ***  Effect: MAX_of_KKHRM_GIDA_SON_AY_VAR ;

3898       _TEMP = 1;

3899       _LP0 = _LP0 + (    1.94244841085882) * _TEMP * _39_0;

3900      

3901       ***  Effect: MAX_of_KKHRM_KISISELBKM_SON_6_AY ;

3902       _TEMP = 1;

3903       _LP0 = _LP0 + (    -0.0897718122248) * _TEMP * _40_0;

3904      

3905       ***  Effect: MAX_of_KKHRM_OTOMOTIV_SON_6_AY_V ;

3906       _TEMP = 1;

3907       _LP0 = _LP0 + (    0.05444468828341) * _TEMP * _41_0;

3908      

3909       ***  Effect: MAX_of_KKHRM_SAGLIK_SON_6_AY_VAR ;

3910       _TEMP = 1;

3911       _LP0 = _LP0 + (   -0.03096962915954) * _TEMP * _42_0;

3912      

3913       ***  Effect: MAX_of_KKHRM_SAGLIK_SON_AY ;

3914       _TEMP = 1;

3915       _LP0 = _LP0 + (   -0.08635100331056) * _TEMP * _43_0;

3916      

3917       ***  Effect: MAX_of_KKHRM_SIGORTA_SON_6AY_VAR ;

3918       _TEMP = 1;

3919       _LP0 = _LP0 + (   -0.00704297109209) * _TEMP * _44_0;

3920      

3921       ***  Effect: MAX_of_KKHRM_TEKNOLOJI_SON_6_AY_ ;

3922       _TEMP = 1;

3923       _LP0 = _LP0 + (   -0.06111296306236) * _TEMP * _45_0;

3924      

3925       ***  Effect: MAX_of_KKHRM_TEKSTIL_SON_6_AY_VA ;

3926       _TEMP = 1;

3927       _LP0 = _LP0 + (   -0.00700648025005) * _TEMP * _46_0;

3928      

3929       ***  Effect: MAX_of_KKHRM_TEKSTIL_SON_AY_VAR ;

3930       _TEMP = 1;

69                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3931       _LP0 = _LP0 + (    0.10490023328185) * _TEMP * _47_0;

3932      

3933       ***  Effect: OPT_AVG_of_KK_SON_AY_LIMIT_DOLUL ;

3934       _TEMP = 1;

3935       _LP0 = _LP0 + (   -0.35733052644945) * _TEMP * _48_0;

3936       _LP0 = _LP0 + (   -0.01023623523654) * _TEMP * _48_1;

3937       _LP0 = _LP0 + (    0.04228743330772) * _TEMP * _48_2;

3938      

3939       ***  Effect: OPT_AVG_of_SON_3_AY_ORTALAMA_LIM ;

3940       _TEMP = 1;

3941       _LP0 = _LP0 + (   -0.68562988539437) * _TEMP * _49_0;

3942       _LP0 = _LP0 + (    0.07469103874519) * _TEMP * _49_1;

3943       _LP0 = _LP0 + (    0.23134598234775) * _TEMP * _49_2;

3944      

3945       ***  Effect: OPT_BNK_KMH_SON_3_AY_ORT ;

3946       _TEMP = 1;

3947       _LP0 = _LP0 + (   -0.21482125788971) * _TEMP * _50_0;

3948       _LP0 = _LP0 + (    0.04750393015955) * _TEMP * _50_1;

3949       _LP0 = _LP0 + (    0.09596105574722) * _TEMP * _50_2;

3950      

3951       ***  Effect: OPT_BNK_KMH_SON_5_AY_ORT ;

3952       _TEMP = 1;

3953       _LP0 = _LP0 + (   -0.05194054159446) * _TEMP * _51_0;

3954       _LP0 = _LP0 + (    0.00895225271326) * _TEMP * _51_1;

3955       _LP0 = _LP0 + (   -0.10994660284355) * _TEMP * _51_2;

3956      

3957       ***  Effect: OPT_BNK_MAAS_SON_3_AY_ORT ;

3958       _TEMP = 1;

3959       _LP0 = _LP0 + (   -0.07690065606401) * _TEMP * _52_0;

3960       _LP0 = _LP0 + (   -0.16816210561824) * _TEMP * _52_1;

3961      

3962       ***  Effect: OPT_BNK_MAAS_SON_6_AY_ORT ;

3963       _TEMP = 1;

3964       _LP0 = _LP0 + (    0.13692260236293) * _TEMP * _53_0;

3965      

3966       ***  Effect: OPT_BNK_MAAS_SON_AY_TUTAR ;

3967       _TEMP = 1;

3968       _LP0 = _LP0 + (    0.20589089156162) * _TEMP * _54_0;

3969      

3970       ***  Effect: OPT_BNK_SON_3_AY_ORTALAMA_TAUM ;

3971       _TEMP = 1;

3972       _LP0 = _LP0 + (   -0.05110243196136) * _TEMP * _55_0;

3973       _LP0 = _LP0 + (   -0.20737017886095) * _TEMP * _55_1;

3974      

3975       ***  Effect: OPT_DEM_ILK_KART_SURE_AY ;

3976       _TEMP = 1;

3977       _LP0 = _LP0 + (   -2.86389866620048) * _TEMP * _56_0;

3978       _LP0 = _LP0 + (    1.22354691842289) * _TEMP * _56_1;

3979       _LP0 = _LP0 + (    0.75338878765993) * _TEMP * _56_2;

3980      

3981       ***  Effect: OPT_DEM_Musteri_Omru_Yil ;

3982       _TEMP = 1;

3983       _LP0 = _LP0 + (                   0) * _TEMP * _57_0;

3984       _LP0 = _LP0 + (     1.0357490583699) * _TEMP * _57_1;

3985       _LP0 = _LP0 + (   -0.42212471251731) * _TEMP * _57_2;

3986      

3987       ***  Effect: OPT_Dem_Musteri_Omru_Ay ;

3988       _TEMP = 1;

70                                                         The SAS System                                08:57 Tuesday, May 13, 2014

3989       _LP0 = _LP0 + (    4.46940112432767) * _TEMP * _58_0;

3990       _LP0 = _LP0 + (   -1.54491260223692) * _TEMP * _58_1;

3991       _LP0 = _LP0 + (   -1.44673672685365) * _TEMP * _58_2;

3992      

3993       ***  Effect: OPT_Dem_Musteri_Yas ;

3994       _TEMP = 1;

3995       _LP0 = _LP0 + (    0.07208791727323) * _TEMP * _59_0;

3996      

3997       ***  Effect: OPT_KK_BONUS_HARC_SON_3_AY_ORT ;

3998       _TEMP = 1;

3999       _LP0 = _LP0 + (    0.10592699463871) * _TEMP * _60_0;

4000       _LP0 = _LP0 + (                   0) * _TEMP * _60_1;

4001      

4002       ***  Effect: OPT_KK_BONUS_HARC_SON_6_AY_ORT ;

4003       _TEMP = 1;

4004       _LP0 = _LP0 + (     0.2066504178285) * _TEMP * _61_0;

4005       _LP0 = _LP0 + (                   0) * _TEMP * _61_1;

4006      

4007       ***  Effect: OPT_KK_REVOLVE_SON_6AY_ORT ;

4008       _TEMP = 1;

4009       _LP0 = _LP0 + (   -0.67571826054874) * _TEMP * _62_0;

4010       _LP0 = _LP0 + (     0.2292871637389) * _TEMP * _62_1;

4011      

4012       ***  Effect: OPT_KK_REV_SON_3AY_ORT ;

4013       _TEMP = 1;

4014       _LP0 = _LP0 + (   -0.97300604866658) * _TEMP * _63_0;

4015       _LP0 = _LP0 + (   -0.15807504461158) * _TEMP * _63_1;

4016       _LP0 = _LP0 + (   -0.00948798833711) * _TEMP * _63_2;

4017      

4018       ***  Effect: OPT_KK_REV_SON_AY ;

4019       _TEMP = 1;

4020       _LP0 = _LP0 + (     -1.708279223151) * _TEMP * _64_0;

4021       _LP0 = _LP0 + (   -1.01137692858377) * _TEMP * _64_1;

4022      

4023       ***  Effect: OPT_KK_SON_6_AY_ORT_BORC ;

4024       _TEMP = 1;

4025       _LP0 = _LP0 + (   -0.43503820602241) * _TEMP * _65_0;

4026       _LP0 = _LP0 + (    0.03863615268723) * _TEMP * _65_1;

4027       _LP0 = _LP0 + (     0.2712743316149) * _TEMP * _65_2;

4028      

4029       ***  Effect: OPT_KK_SON_AY_NA ;

4030       _TEMP = 1;

4031       _LP0 = _LP0 + (    1.14921419367573) * _TEMP * _66_0;

4032      

4033       ***  Effect: OPT_KK_SON_AY_TOPLAM_BORC ;

4034       _TEMP = 1;

4035       _LP0 = _LP0 + (   -0.25402567343503) * _TEMP * _67_0;

4036       _LP0 = _LP0 + (    0.12357458045347) * _TEMP * _67_1;

4037       _LP0 = _LP0 + (    0.24700301988661) * _TEMP * _67_2;

4038      

4039       ***  Effect: OPT_KK_TAK_HARCAMA_SON_3_AY_ORT ;

4040       _TEMP = 1;

4041       _LP0 = _LP0 + (    0.01893739510685) * _TEMP * _68_0;

4042       _LP0 = _LP0 + (                   0) * _TEMP * _68_1;

4043      

4044       ***  Effect: OPT_KK_TAK_HARCAMA_SON_6_AY_ORT ;

4045       _TEMP = 1;

4046       _LP0 = _LP0 + (   -0.03376607948616) * _TEMP * _69_0;

71                                                         The SAS System                                08:57 Tuesday, May 13, 2014

4047       _LP0 = _LP0 + (                   0) * _TEMP * _69_1;

4048      

4049       ***  Effect: OPT_KK_TAK_HARCAMa_SON_AY_TUTAR ;

4050       _TEMP = 1;

4051       _LP0 = _LP0 + (    0.49450832849194) * _TEMP * _70_0;

4052       _LP0 = _LP0 + (    0.01122915628886) * _TEMP * _70_1;

4053      

4054       ***  Effect: OPT_KK_TEK_CEKIM_SON_3_AY_ORTALA ;

4055       _TEMP = 1;

4056       _LP0 = _LP0 + (     1.5740579646165) * _TEMP * _71_0;

4057       _LP0 = _LP0 + (   -0.86938327084367) * _TEMP * _71_1;

4058      

4059       ***  Effect: OPT_KK_TEK_CEKIM_SON_AY ;

4060       _TEMP = 1;

4061       _LP0 = _LP0 + (   -0.80103022841649) * _TEMP * _72_0;

4062       _LP0 = _LP0 + (    0.27982773968765) * _TEMP * _72_1;

4063      

4064       ***  Effect: OPT_MUSTERI_NO ;

4065       _TEMP = 1;

4066       _LP0 = _LP0 + (    0.97596358996778) * _TEMP * _73_0;

4067       _LP0 = _LP0 + (    1.02176498700405) * _TEMP * _73_1;

4068       _LP0 = _LP0 + (   -0.14683080303872) * _TEMP * _73_2;

4069      

4070       ***  Effect: OPT_SON_3_AY_AKRYKT_TUTAR_TL ;

4071       _TEMP = 1;

4072       _LP0 = _LP0 + (    0.28349018948396) * _TEMP * _74_0;

4073       _LP0 = _LP0 + (    0.14183268790712) * _TEMP * _74_1;

4074       _LP0 = _LP0 + (                   0) * _TEMP * _74_2;

4075      

4076       ***  Effect: OPT_SON_3_AY_EV_TKSTL_TUTAR_TL ;

4077       _TEMP = 1;

4078       _LP0 = _LP0 + (    0.21448888771071) * _TEMP * _75_0;

4079       _LP0 = _LP0 + (                   0) * _TEMP * _75_1;

4080      

4081       ***  Effect: OPT_SON_3_AY_GIDA_TUTAR_TL ;

4082       _TEMP = 1;

4083       _LP0 = _LP0 + (     0.0760865758823) * _TEMP * _76_0;

4084       _LP0 = _LP0 + (    0.13826974885572) * _TEMP * _76_1;

4085       _LP0 = _LP0 + (                   0) * _TEMP * _76_2;

4086      

4087       ***  Effect: OPT_SON_3_AY_SGLK_TUTAR_TL ;

4088       _TEMP = 1;

4089       _LP0 = _LP0 + (   -0.17067698602335) * _TEMP * _77_0;

4090       _LP0 = _LP0 + (   -0.03335288585832) * _TEMP * _77_1;

4091       _LP0 = _LP0 + (   -0.62809537924529) * _TEMP * _77_2;

4092      

4093       ***  Effect: OPT_SON_3_AY_TKNLJ_TUTAR_TL ;

4094       _TEMP = 1;

4095       _LP0 = _LP0 + (    0.23124522857729) * _TEMP * _78_0;

4096       _LP0 = _LP0 + (                   0) * _TEMP * _78_1;

4097      

4098       ***  Effect: OPT_SON_3_AY_TKSTL_TUTAR_TL ;

4099       _TEMP = 1;

4100       _LP0 = _LP0 + (    0.03318212242825) * _TEMP * _79_0;

4101       _LP0 = _LP0 + (                   0) * _TEMP * _79_1;

4102      

4103       ***  Effect: OPT_SON_3_AY_TRZM_TUTAR_TL ;

4104       _TEMP = 1;

72                                                         The SAS System                                08:57 Tuesday, May 13, 2014

4105       _LP0 = _LP0 + (   -0.06484801144922) * _TEMP * _80_0;

4106       _LP0 = _LP0 + (                   0) * _TEMP * _80_1;

4107      

4108       ***  Effect: OPT_SON_3_AY_ULASIM_TUTAR_TL ;

4109       _TEMP = 1;

4110       _LP0 = _LP0 + (   -0.04258118348358) * _TEMP * _81_0;

4111       _LP0 = _LP0 + (                   0) * _TEMP * _81_1;

4112      

4113       ***  Effect: OPT_SON_AY_AKRYKT_TUTAR_TL ;

4114       _TEMP = 1;

4115       _LP0 = _LP0 + (   -0.19980535861637) * _TEMP * _82_0;

4116       _LP0 = _LP0 + (                   0) * _TEMP * _82_1;

4117      

4118       ***  Effect: OPT_SON_AY_EV_TKSTL_TUTAR_TL ;

4119       _TEMP = 1;

4120       _LP0 = _LP0 + (    0.00795912547958) * _TEMP * _83_0;

4121       _LP0 = _LP0 + (    0.35622182777508) * _TEMP * _83_1;

4122       _LP0 = _LP0 + (   -0.29357691836219) * _TEMP * _83_2;

4123      

4124       ***  Effect: OPT_SON_AY_GIDA_TUTAR_TL ;

4125       _TEMP = 1;

4126       _LP0 = _LP0 + (   -3.60664453530147) * _TEMP * _84_0;

4127       _LP0 = _LP0 + (     0.1752809672415) * _TEMP * _84_1;

4128       _LP0 = _LP0 + (                   0) * _TEMP * _84_2;

4129      

4130       ***  Effect: OPT_SON_AY_SGLK_TUTAR_TL ;

4131       _TEMP = 1;

4132       _LP0 = _LP0 + (     0.4290561535913) * _TEMP * _85_0;

4133       _LP0 = _LP0 + (                   0) * _TEMP * _85_1;

4134      

4135       ***  Effect: OPT_SON_AY_TAUM ;

4136       _TEMP = 1;

4137       _LP0 = _LP0 + (    0.37145848936917) * _TEMP * _86_0;

4138       _LP0 = _LP0 + (    0.28289565383712) * _TEMP * _86_1;

4139      

4140       ***  Effect: OPT_SON_AY_TEKSTIL_TUTAR_TL ;

4141       _TEMP = 1;

4142       _LP0 = _LP0 + (   -0.29398638018886) * _TEMP * _87_0;

4143       _LP0 = _LP0 + (                   0) * _TEMP * _87_1;

4144      

4145       ***  Effect: OPT_SON_AY_TKNLJ_TUTAR_TL ;

4146       _TEMP = 1;

4147       _LP0 = _LP0 + (   -0.17434219458198) * _TEMP * _88_0;

4148       _LP0 = _LP0 + (                   0) * _TEMP * _88_1;

4149      

4150       ***  Effect: SON_3_AY_AKTF_EK_KART_ADET ;

4151       _TEMP = 1;

4152       _LP0 = _LP0 + (    0.01225314645583) * _TEMP * _89_0;

4153      

4154       ***  Effect: SON_3_AY_TEK_CEKIM_VAR ;

4155       _TEMP = 1;

4156       _LP0 = _LP0 + (   -1.31755605742432) * _TEMP * _91_0;

4157      

4158       ***  Effect: SON_6AY_TEK_CEKIM_KACKEZ ;

4159       _TEMP = 1;

4160       _LP0 = _LP0 + (      0.070320006552) * _TEMP * _92_0;

4161       _LP0 = _LP0 + (    0.10044162311572) * _TEMP * _92_1;

4162       _LP0 = _LP0 + (   -0.07438087769182) * _TEMP * _92_2;

73                                                         The SAS System                                08:57 Tuesday, May 13, 2014

4163       _LP0 = _LP0 + (   -0.03995394848194) * _TEMP * _92_3;

4164       _LP0 = _LP0 + (   -0.02094928860153) * _TEMP * _92_4;

4165       _LP0 = _LP0 + (   -0.12364149910535) * _TEMP * _92_5;

4166      

4167       ***  Effect: SON_6_AY_AKTF_ASIL_KART_ADET ;

4168       _TEMP = 1;

4169       _LP0 = _LP0 + (    0.00264315825832) * _TEMP * _93_0;

4170      

4171       ***  Effect: SON_6_AY_AKTF_KART_ADET ;

4172       _TEMP = 1;

4173       _LP0 = _LP0 + (    0.19272771810124) * _TEMP * _94_0;

4174       _LP0 = _LP0 + (                   0) * _TEMP * _94_1;

4175      

4176       ***  Effect: SON_AY_TEK_CEKIM_VAR ;

4177       _TEMP = 1;

4178       _LP0 = _LP0 + (    0.39105446747829) * _TEMP * _96_0;

4179      

4180       ***  Effect: SORUNLU_KREDI_SAY_BIR_YIL ;

4181       _TEMP = 1;

4182       _LP0 = _LP0 + (   -0.00419254760715) * _TEMP * _98_0;

4183      

4184       *** Naive Posterior Probabilities;

4185       drop _MAXP _IY _P0 _P1;

4186       _TEMP =     3.84251000991612 + _LP0;

4187       if (_TEMP < 0) then do;

4188          _TEMP = exp(_TEMP);

4189          _P0 = _TEMP / (1 + _TEMP);

4190       end;

4191       else _P0 = 1 / (1 + exp(-_TEMP));

4192       _P1 = 1.0 - _P0;

4193      

4194       REG2DR1:

4195      

4196      

4197      

4198       *** Decision Processing;

4199       label D_TARGET = 'Decision: TARGET' ;

4200       label EP_TARGET = 'Expected Profit: TARGET' ;

4201      

4202       length D_TARGET $ 9;

4203      

4204       D_TARGET = ' ';

4205       EP_TARGET = .;

4206      

4207       *** Compute Expected Consequences and Choose Decision;

4208       _decnum = 1; drop _decnum;

4209      

4210       D_TARGET = '1' ;

4211       EP_TARGET = _P0 * 1.9997105127 + _P1 * 0;

4212       drop _sum;

4213       _sum = _P0 * 0 + _P1 * 2.0002895711;

4214       if _sum > EP_TARGET + 9.096264E-13 then do;

4215          EP_TARGET = _sum; _decnum = 2;

4216          D_TARGET = '0' ;

4217       end;

4218      

4219      

4220       *** End Decision Processing ;

74                                                         The SAS System                                08:57 Tuesday, May 13, 2014

4221      

4222       *** Posterior Probabilities and Predicted Level;

4223       label P_TARGET1 = 'Predicted: TARGET=1' ;

4224       label P_TARGET0 = 'Predicted: TARGET=0' ;

4225       P_TARGET1 = _P0;

4226       _MAXP = _P0;

4227       _IY = 1;

4228       P_TARGET0 = _P1;

4229       if (_P1 >  _MAXP + 1E-8) then do;

4230          _MAXP = _P1;

4231          _IY = 2;

4232       end;

4233       I_TARGET = REG2DRF[_IY];

4234       U_TARGET = REG2DRU[_IY];

4235      

4236       *************************************;

4237       ***** end scoring code for regression;

4238       *************************************;

4239       *------------------------------------------------------------*;

4240       * TOOL: Score Node;

4241       * TYPE: ASSESS;

4242       * NODE: Score2;

4243       *------------------------------------------------------------*;

4244       *------------------------------------------------------------*;

4245       * Score2: Creating Fixed Names;

4246       *------------------------------------------------------------*;

4247       LABEL EM_EVENTPROBABILITY = 'Probability for level 1 of TARGET';

4248       EM_EVENTPROBABILITY = P_TARGET1;

4249       LABEL EM_PROBABILITY = 'Probability of Classification';

4250       EM_PROBABILITY =

4251       max(

4252       P_TARGET1

4253       ,

4254       P_TARGET0

4255       );

4256       LENGTH EM_CLASSIFICATION $%dmnorlen;

4257       LABEL EM_CLASSIFICATION = "Prediction for TARGET";

4258       EM_CLASSIFICATION = I_TARGET;

4259       RUN;

NOTE: Character values have been converted to numeric values at the places given by: (Line)Smiley SadColumn).

      205:5   207:5   210:5  

NOTE: Numeric values have been converted to character values at the places given by: (Line)Smiley SadColumn).

      846:1    943:1    1099:1   3684:1  

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.OMER_SCORE_RPM4 may be incomplete.  When this step was stopped there were 0 observations and 159

         variables.

WARNING: Data set WORK.OMER_SCORE_RPM4 was not replaced because this step was stopped.

NOTE: DATA statement used (Total process time):

      real time           0.89 seconds

      cpu time            0.51 seconds

     

4260      

4261       GOPTIONS NOACCESSIBLE;

4262       %LET _CLIENTTASKLABEL=;

4263       %LET _CLIENTPROJECTPATH=;

4264       %LET _CLIENTPROJECTNAME=;

75                                                         The SAS System                                08:57 Tuesday, May 13, 2014

4265       %LET _SASPROGRAMFILE=;

4266      

4267       ;*';*";*/;quit;run;

4268       ODS _ALL_ CLOSE;

4269      

4270      

4271       QUIT; RUN;

4272      

Super User
Posts: 17,840

Re: runing EM score codes in EG

It really does look like you have certain variables that the code is expecting as character that are numeric that cause the issue.

Make sure your data source matches the format exactly, for types and length.

Contributor
Posts: 65

Re: runing EM score codes in EG

Hi Reeza

Yes i have seen that error to but this character number conversion was dictated by SAS Miner so i didnt do anything to compile that code. Apparently i supposed that i shouldn't internive code created by SAS Miner's itself. However later i estimated another model and droped varriables that you pointed out, now i could extract code...

Thanyou very much for all your help

Ask a Question
Discussion stats
  • 9 replies
  • 3329 views
  • 2 likes
  • 4 in conversation