Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float id_number int year float europe double x 1 1302 1 1.1393939393939394 2 1302 1 .4 3 1304 1 . 4 1304 1 1.0714285714285714 5 1306 1 .6666666666666666 6 1307 1 .2 7 1311 1 .4166666666666667 8 1313 1 . 9 1314 1 .3865979381443299 10 1315 1 . 11 1315 1 .1875 12 1316 1 1.4285714285714286 13 1316 1 . 14 1316 1 . 15 1318 1 . 16 1318 1 1 17 1319 1 . 18 1322 1 . 19 1322 1 0 20 1322 1 4 21 1322 1 1.2857142857142858 22 1325 1 .21875 23 1325 1 . 24 1328 1 1 25 1329 1 2 26 1329 1 . 27 1330 1 .3333333333333333 28 1330 1 . 29 1332 1 1.78 30 1332 1 .7142857142857143 31 1333 1 .6923076923076923 32 1336 0 2 33 1337 1 . 34 1337 0 . 35 1340 1 . 36 1340 1 .24 37 1340 1 . 38 1341 1 . 39 1342 1 . 40 1344 1 2.066666666666667 41 1345 1 .21428571428571427 42 1345 1 . 43 1345 1 3.7735849056603774 44 1345 1 . 45 1345 1 . 46 1346 1 . 47 1346 1 .18 48 1346 1 8 49 1346 1 1.4285714285714286 50 1346 1 .3 51 1346 1 .5416666666666666 52 1347 1 0 53 1347 1 . 54 1347 1 0 55 1349 1 3 56 1349 1 . 57 1350 1 . 58 1351 1 1 59 1351 1 . 60 1352 1 .4 61 1354 1 . 62 1356 1 .2222222222222222 63 1356 1 .5454545454545454 64 1358 1 .4444444444444444 65 1361 1 . 66 1362 1 . 67 1362 1 . 68 1364 1 .40454545454545454 69 1364 1 3 70 1364 1 .875 71 1365 1 . 72 1367 1 .4666666666666667 73 1369 1 . 74 1370 1 .7 75 1371 1 . 76 1371 1 .55 77 1372 1 . 78 1373 1 . 79 1377 1 . 80 1377 1 . 81 1377 1 . 82 1380 1 4.4 83 1381 1 . 84 1382 1 1.1428571428571428 85 1384 1 .28 86 1385 1 . 87 1385 1 .5 88 1385 1 .20967741935483872 89 1385 0 .15 90 1385 1 . 91 1386 1 .35 92 1386 1 1.6666666666666667 93 1387 1 .6113207547169811 94 1388 1 .90625 95 1388 1 .3888888888888889 96 1389 1 1.5952380952380953 97 1391 1 . 98 1394 1 . 99 1394 1 . 100 1395 1 . end
0 Response to How to calculate ten-year moving average of variable x by the dummy variable europe in a dataset as the following? Many thanks!
Post a Comment