Hi
I have a variable firstbirth_cmc how I can get the birthyear from this like 1980 etc
firthbirth_cmc
1147
1153
1322
1149
1100
1301
dataex
----------
I have a variable firstbirth_cmc how I can get the birthyear from this like 1980 etc
firthbirth_cmc
1147
1153
1322
1149
1100
1301
dataex
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float firthbirth_cmc 1147 1153 1322 1149 1100 1301 . 1268 1081 1103 1384 1310 1194 1153 1289 1014 1099 1199 1346 1273 . . 1371 1258 1181 . . . 1245 . . 1235 1172 1314 1284 . . 1385 1349 . 1220 . 1323 1317 . 1097 1166 . 1248 1381 1330 . 1263 1162 1031 1203 1156 . 1233 1107 1099 . . 1243 . 1225 1250 1261 . 1262 1293 1341 1316 1264 1369 1230 1341 1276 1328 1304 . . 1085 1206 . . 1385 . 1273 1241 1315 . 1239 1363 1317 1282 . 1326 . 1255 end
Comment