作者ajarist (春眠不觉晓)
看板Statistics
标题Re: [问题] 请问如何用Stata跑panel data
时间Thu May 11 01:14:47 2006
※ 引述《bcs (一切只是阴谋?!)》之铭言:
: ※ 引述《harryyyh (蓝色)》之铭言:
: : 由於研究的需要用到panel data
: : 然而经过测试却无法跑出结果
: : 因此 想请问各位高手
: : 如何使用Stata跑panel data
: : 拜托各位了
: bz panel data is cross sectional time sereis data, u need to set time and
: subject (iis t and tis s) before u run xt~~ command. good luck
您好 顺便请问一下 假如我有以下的data
我应该在stata如何处理这些data呢><
我想run fixed effects
所以估计式是Iit= a1+a2D2i+a3D3i+b2X2it+b3X3it+uit
但我却不知道如何处理同时又把i和t都放在一个栏位@@
i: ge gm us west t:1935~1954
year Ige Fge Cge
1935 33.1 1170.6 97.8
1936 45 2015.8 104.4
1937 77.2 2803.3 118
1938 44.6 2039.7 156.2
1939 48.1 2256.2 172.6
1940 74.4 2132.2 186.6
1941 113 1834.1 220.9
1942 91.9 1588 287.8
1943 61.3 1749.4 319.9
1944 56.8 1687.2 321.3
1945 93.6 2007.7 319.6
1946 159.9 2208.3 346
1947 147.2 1656.7 456.4
1948 146.3 1604.4 563.4
1949 98.3 1431.8 618.3
1950 93.5 1610.5 647.4
1951 135.2 1819.4 671.3
1952 157.3 2079.7 726.1
1953 179.5 2371.6 800.3
1954 189.6 2759.9 888.9
year Ius Fus Cus
1935 209.9 1362.4 53.8
1936 335.3 1807.1 50.5
1937 469.9 2673.3 118.1
1938 262.3 1801.9 260.2
1939 230.4 1957.3 312.7
1940 361.6 2202.9 254.2
1941 472.8 2380.5 261.4
1942 445.6 2168.6 298.7
1943 361.6 1985.1 301.8
1944 288.2 1813.9 279.1
1945 258.7 1850.2 231.8
1946 420.3 2067.7 232.6
1947 420.5 1796.7 264.8
1948 494.5 1625.8 306.9
1949 405.1 1667 351.1
1950 418.8 1677.4 357.8
1951 588.2 2289.5 341.1
1952 645.2 2159.4 444.2
1953 641 2031.3 623.6
1954 459.3 2115.5 669.7
year Igm Fgm Cgm
1935 317.6 3078.5 2.8
1936 391.8 4661.7 52.6
1937 410.6 5387.1 156.9
1938 257.7 2792.2 209.2
1939 330.8 4313.2 203.4
1940 461.2 4643.9 207.2
1941 512 4551.2 255.2
1942 448 3244.1 303.7
1943 499.6 4053.7 264.1
1944 547.5 4379.3 201.6
1945 561.2 4840.9 265
1946 688.1 4900 402.2
1947 568.9 3526.5 761.5
1948 529.2 3245.7 922.4
1949 555.1 3700.2 1020.1
1950 642.9 3755.6 1099
1951 755.9 4833 1207.7
1952 891.2 4924.9 1430.5
1953 1304.4 6241.7 1777.3
1954 1486.7 5593.6 2226.3
year Iwest Fwest Cwest
1935 12.93 191.5 1.8
1936 25.9 516 0.8
1937 35.05 729 7.4
1938 22.89 560.4 18.1
1939 18.84 519.9 23.5
1940 28.57 628.5 26.5
1941 48.51 537.1 36.2
1942 43.34 561.2 60.8
1943 37.02 617.2 84.4
1944 37.81 626.7 91.2
1945 39.27 737.2 92.4
1946 53.46 760.5 86
1947 55.56 581.4 111.1
1948 49.56 662.3 130.6
1949 32.04 583.8 141.8
1950 32.24 635.2 136.7
1951 54.38 732.8 129.7
1952 71.78 864.1 145.5
1953 90.08 1193.5 174.8
1954 68.6 1188.9 213.5
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.166.158.170