---------------------------------------------------------------------------------------------- log: /disk/nber10/SCCS/sipp/2001/sip01lw9.log log type: text opened on: 21 Aug 2006, 12:20:22 . set mem 1000m (1024000k) . . /*------------------------------------------------ > > This program reads the 2001 SIPP9 Panel Longitudnal Weight Data File > Note: This program is distributed under the GNU GPL. See end of > this file and http://www.gnu.org/licenses/ for details. > by Jean Roth Thu Jun 1 15:05:18 EDT 2006 > Please report errors to jroth@nber.org > run with do sip01lw9 > > ----------------------------------------------- */ . . /* The following line should contain > the complete path and name of the raw data file. > On a PC, use backslashes in paths as in C:\ */ . . local dat_name "/homes/data/sipp/2001/sipp01lw9.dat" . . /* The following line should contain the path to your output '.dta' file */ . . local dta_name "./sipp01lw9.dta" . . /* The following line should contain the path to the data dictionary file */ . . local dct_name "./sip01lw9.dct" . . /* The line below does NOT need to be changed */ . . quietly infile using "`dct_name'", using("`dat_name'") clear . . /*------------------------------------------------ > > Decimal places have been made explict in the dictionary file. > Stata resolves a missing value of -1 / # of decimal places as a missing value. > > -----------------------------------------------*/ . . *Everything below this point, aside from the final save, are value labels . . #delimit ; delimiter now ; . ; . #delimit cr delimiter now cr . save `dta_name' , replace (note: file ./sipp01lw9.dta not found) file ./sipp01lw9.dta saved . . /* > Copyright 2006 shared by the National Bureau of Economic Research and Jean Roth > > National Bureau of Economic Research. > 1050 Massachusetts Avenue > Cambridge, MA 02138 > jroth@nber.org > > This program and all programs referenced in it are free software. You > can redistribute the program or modify it under the terms of the GNU > General Public License as published by the Free Software Foundation; > either version 2 of the License, or (at your option) any later version. > > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU General Public License for more details. > > You should have received a copy of the GNU General Public License > along with this program; if not, write to the Free Software > Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 > USA. > */ . end of do-file . list +--------------------------------------------------------------------------------+ 1. | lgtkey | spanel | ssuid | epppnum | lgtpnwt1 | lgtpnwt2 | lgtpnwt3 | | 00001001 | 2001 | 005128038552 | 0101 | 4290.0882 | 5356.3355 | 5794.1543 | |--------------------------------------------------------------------------------| | lgtcy1wt | lgtcy2wt | lgtcy3wt | | 4265.0558 | 5061.6122 | 5840.5935 | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ 2. | lgtkey | spanel | ssuid | epppnum | lgtpnwt1 | lgtpnwt2 | lgtpnwt3 | | 00001002 | 2001 | 005128038552 | 0102 | 4864.6419 | 5939.2958 | 6436.0572 | |--------------------------------------------------------------------------------| | lgtcy1wt | lgtcy2wt | lgtcy3wt | | 4863.6111 | 3325.6244 | 3161.8628 | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ 3. | lgtkey | spanel | ssuid | epppnum | lgtpnwt1 | lgtpnwt2 | lgtpnwt3 | | 00001003 | 2001 | 005128038552 | 0103 | 5427.2229 | 6611.4057 | 7351.6932 | |--------------------------------------------------------------------------------| | lgtcy1wt | lgtcy2wt | lgtcy3wt | | 5388.4879 | 4897.6957 | 5426.6347 | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ 4. | lgtkey | spanel | ssuid | epppnum | lgtpnwt1 | lgtpnwt2 | lgtpnwt3 | | 00001004 | 2001 | 005128038552 | 0104 | 5358.9687 | 6737.9541 | 7310.4979 | |--------------------------------------------------------------------------------| | lgtcy1wt | lgtcy2wt | lgtcy3wt | | 5400.8755 | 2310.9815 | 2357.3817 | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ 5. | lgtkey | spanel | ssuid | epppnum | lgtpnwt1 | lgtpnwt2 | lgtpnwt3 | | 00001005 | 2001 | 005128038552 | 0301 | 0 | 0 | 0 | |--------------------------------------------------------------------------------| | lgtcy1wt | lgtcy2wt | lgtcy3wt | | 0 | 2557.3703 | 3033.1119 | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ 6. | lgtkey | spanel | ssuid | epppnum | lgtpnwt1 | lgtpnwt2 | lgtpnwt3 | | 00001006 | 2001 | 005128038552 | 0401 | 0 | 0 | 0 | |--------------------------------------------------------------------------------| | --Break-- r(1); . list lgtp* +-----------------------------------+ | lgtpnwt1 lgtpnwt2 lgtpnwt3 | |-----------------------------------| 1. | 4290.0882 5356.3355 5794.1543 | 2. | 4864.6419 5939.2958 6436.0572 | 3. | 5427.2229 6611.4057 7351.6932 | 4. | 5358.9687 6737.9541 7310.4979 | 5. | 0 0 0 | |-----------------------------------| 6. | 0 0 0 | 7. | 0 0 0 | 8. | 0 0 0 | 9. | 3929.6847 4602.0501 4878.9088 | 10. | 6136.855 7519.595 8305.8452 | |-----------------------------------| 11. | 4696.9908 5498.1811 5927.8587 | 12. | 6312.8213 7625.3596 8903.4722 | 13. | 5837.8605 7323.0354 7906.1075 | 14. | 4648.2396 5269.6019 5452.0426 | 15. | 4199.707 4566.2787 4853.5624 | |-----------------------------------| 16. | 4446.0663 5107.3404 5332.8187 | 17. | 4091.4441 4526.5022 4810.79 | 18. | 0 0 0 | 19. | 0 0 0 | 20. | 3709.6411 4189.6003 4344.8289 | |-----------------------------------| 21. | 3863.6973 4443.8945 4617.3434 | 22. | 4512.3017 5887.948 0 | 23. | 4343.8509 6434.0207 7796.8466 | 24. | 11814.451 12622.717 13332.17 | 25. | 4194.7573 4714.0851 4991.1162 | |-----------------------------------| 26. | 4265.7278 4954.7319 5287.9355 | 27. | 4182.5085 4429.0029 4674.9817 | 28. | 3099.3818 3578.3022 3676.599 | 29. | 4131.3446 4627.6673 4699.0119 | 30. | 4473.0956 5148.4646 5347.009 | |-----------------------------------| 31. | 3903.158 4303.6336 4409.6941 | 32. | 4213.9068 4609.5346 4966.1516 | 33. | 2407.421 2814.1891 3029.9451 | 34. | 2474.9487 2822.6029 2996.9912 | --Break-- r(1); . list lgt[pc]* lgt ambiguous abbreviation r(111); . list lgtc* +-----------------------------------+ | lgtcy1wt lgtcy2wt lgtcy3wt | |-----------------------------------| 1. | 4265.0558 5061.6122 5840.5935 | 2. | 4863.6111 3325.6244 3161.8628 | 3. | 5388.4879 4897.6957 5426.6347 | 4. | 5400.8755 2310.9815 2357.3817 | 5. | 0 2557.3703 3033.1119 | |-----------------------------------| 6. | 0 0 0 | 7. | 0 0 0 | 8. | 0 0 0 | 9. | 3940.2596 4520.2816 4304.9406 | 10. | 6134.1945 7877.8832 7688.6005 | |-----------------------------------| 11. | 4704.0351 5226.8727 0 | 12. | 6303.3967 6469.6411 7224.1475 | 13. | 5839.7644 6272.5795 6658.0835 | 14. | 4642.5935 4857.9299 4685.2112 | 15. | 4180.7054 4272.8914 4617.8465 | |-----------------------------------| 16. | 4445.2176 5108.039 5355.0857 | 17. | 4085.443 4492.8792 4878.7279 | 18. | 0 0 0 | 19. | 0 0 0 | 20. | 3738.1716 4489.9045 4264.9528 | |-----------------------------------| 21. | 3891.7638 4470.278 4283.096 | 22. | 4427.6867 5521.3137 0 | 23. | 4313.9478 6374.6309 5151.054 | 24. | 11962.167 11899.997 11711.319 | 25. | 4225.8606 4474.3907 4543.8562 | |-----------------------------------| 26. | 4294.0814 4676.5126 4444.6138 | 27. | 4192.4203 4178.04 4368.5828 | 28. | 3108.1698 3780.7095 3275.2607 | 29. | 4115.8145 4514.8008 4428.8712 | 30. | 4448.0996 4855.5056 4521.4222 | |-----------------------------------| 31. | 3918.5618 5079.3696 3944.2364 | 32. | 4222.8797 4143.1668 4379.853 | 33. | 2410.9919 2658.1648 2389.797 | 34. | 2480.3811 2855.9256 2544.7403 | 35. | 2354.6833 2455.4991 2307.873 | |-----------------------------------| 36. | 2238.29 2213.8554 2185.627 | 37. | 0 0 0 | 38. | 0 0 0 | 39. | 0 0 0 | 40. | 0 0 0 | |-----------------------------------| 41. | 0 0 0 | 42. | 5006.6655 6223.2932 0 | 43. | 7125.4356 8598.4033 6155.3557 | 44. | 0 0 0 | 45. | 0 0 0 | |-----------------------------------| 46. | 4199.1841 5072.6516 5092.7035 | 47. | 3893.4604 3911.9723 0 | 48. | 4285.5865 4780.5383 0 | 49. | 0 5811.4178 4693.8083 | 50. | 0 0 0 | |-----------------------------------| 51. | 0 0 0 | 52. | 0 0 0 | 53. | 5418.4394 6215.8366 5845.2696 | 54. | 6184.6491 6893.6785 7456.4709 | 55. | 0 0 0 | |-----------------------------------| 56. | 0 0 0 | 57. | 0 0 0 | 58. | 3911.9637 4468.5367 4543.8562 | 59. | 3751.6387 4476.7516 4934.3566 | 60. | 4192.4203 4172.5743 4368.5828 | |-----------------------------------| 61. | 4524.3061 4729.4914 4729.9353 | 62. | 3416.5626 3358.9352 3604.6013 | 63. | 3673.1261 3447.3217 3538.6519 | 64. | 3923.397 4014.1809 4321.1314 | 65. | 4105.1661 4643.5414 3966.1893 | |-----------------------------------| 66. | 4157.5357 5205.1017 3415.8894 | 67. | 3831.3119 4600.2964 3508.3556 | 68. | 0 5360.0181 4983.4562 | 69. | 3814.1733 3819.846 4590.2501 | 70. | 3505.4718 3301.6266 4181.9283 | |-----------------------------------| 71. | 5472.7131 5187.0973 8370.4529 | 72. | 4202.7255 4498.2764 4887.8513 | 73. | 0 0 0 | 74. | 0 0 0 | 75. | 0 0 0 | |-----------------------------------| 76. | 0 0 0 | 77. | 0 0 0 | 78. | 0 0 0 | 79. | 0 0 0 | 80. | 0 0 0 | |-----------------------------------| 81. | 0 0 0 | 82. | 3953.0057 4838.3072 4448.2261 | 83. | 4173.6985 4263.1649 4625.3968 | 84. | 4651.259 4346.0425 4855.4717 | 85. | 3990.632 4926.1125 3722.6122 | |-----------------------------------| 86. | 0 0 0 | 87. | 0 0 0 | 88. | 0 0 0 | 89. | 0 0 0 | 90. | 4443.8285 0 0 | |-----------------------------------| 91. | 3917.4001 0 0 | 92. | 4733.4879 0 0 | 93. | 3963.2665 0 0 | 94. | 0 0 0 | 95. | 4001.7113 0 0 | |-----------------------------------| 96. | 0 0 0 | 97. | 0 0 0 | 98. | 0 0 0 | 99. | 0 0 0 | 100. | 0 0 0 | +-----------------------------------+ . list l*1* +-----------------------+ | lgtpnwt1 lgtcy1wt | |-----------------------| 1. | 4290.0882 4265.0558 | 2. | 4864.6419 4863.6111 | 3. | 5427.2229 5388.4879 | 4. | 5358.9687 5400.8755 | 5. | 0 0 | |-----------------------| 6. | 0 0 | 7. | 0 0 | 8. | 0 0 | 9. | 3929.6847 3940.2596 | 10. | 6136.855 6134.1945 | |-----------------------| 11. | 4696.9908 4704.0351 | 12. | 6312.8213 6303.3967 | 13. | 5837.8605 5839.7644 | 14. | 4648.2396 4642.5935 | 15. | 4199.707 4180.7054 | |-----------------------| 16. | 4446.0663 4445.2176 | 17. | 4091.4441 4085.443 | 18. | 0 0 | 19. | 0 0 | 20. | 3709.6411 3738.1716 | |-----------------------| 21. | 3863.6973 3891.7638 | 22. | 4512.3017 4427.6867 | 23. | 4343.8509 4313.9478 | 24. | 11814.451 11962.167 | 25. | 4194.7573 4225.8606 | |-----------------------| 26. | 4265.7278 4294.0814 | 27. | 4182.5085 4192.4203 | 28. | 3099.3818 3108.1698 | 29. | 4131.3446 4115.8145 | 30. | 4473.0956 4448.0996 | |-----------------------| 31. | 3903.158 3918.5618 | 32. | 4213.9068 4222.8797 | 33. | 2407.421 2410.9919 | 34. | 2474.9487 2480.3811 | --Break-- r(1); . exit,clear