关于本站
人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!
经管之家新媒体交易平台
提供"微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯"等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】
论文
- 毕业论文 | 写毕业论文
- 毕业论文 | 为毕业论文找思路
- 毕业论文 | 可以有时间好好写 ...
- 毕业论文 | 毕业论文如何选较 ...
- 毕业论文 | 毕业论文选题通过 ...
- 毕业论文 | 还有三人的毕业论 ...
- 毕业论文 | 毕业论文答辩过程 ...
- 毕业论文 | 本科毕业论文,wi ...
考研考博
- 考博 | 南大考博经济类资 ...
- 考博 | 考博英语10000词汇 ...
- 考博 | 如果复旦、南大这 ...
- 考博 | 有谁知道春招秋季 ...
- 考博 | 工作与考博?到底 ...
- 考博 | 考博应该如何选择 ...
- 考博 | 考博失败了
- 考博 | 考博考研英语作文 ...
TOP热门关键词
免费学术公开课,扫码加入 |
偶是菜鸟,照着别人的方法做了自己的数据,结果如下,高手帮我看下有没有补救方法,谢谢啊!
急~~~~~~~~~
. xtset comm year
panel variable: comm (strongly balanced)
time variable: year, 2002 to 2006
delta: 1 unit
.
. sum tc vi
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
tc | 4020 .6430636 .1557206 .1548404 .9941447
vi | 4020 .4504518 .2914263 3.03e-07 .9997568
.
. reg tc vi
Source | SS df MS Number of obs = 4020
-------------+------------------------------ F( 1, 4018) = 26.68
Model | .642918735 1 .642918735 Prob > F = 0.0000
Residual | 96.8134192 4018 .024094928 R-squared = 0.0066
-------------+------------------------------ Adj R-squared = 0.0063
Total | 97.4563379 4019 .024248902 Root MSE = .15523
------------------------------------------------------------------------------
tc | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
vi | .0434001 .0084019 5.17 0.000 .0269278 .0598723
_cons | .6235139 .0045075 138.33 0.000 .6146768 .6323511
------------------------------------------------------------------------------
.
. xi:xtreg tc vi i.year,fe
i.year _Iyear_2002-2006 (naturally coded; _Iyear_2002 omitted)
Fixed-effects (within) regression Number of obs = 4020
Group variable: comm Number of groups = 804
R-sq: within = 0.0043 Obs per group: min = 5
between = 0.0082 avg = 5.0
overall = 0.0046 max = 5
F(5,3211) = 2.79
corr(u_i, Xb) = -0.0768 Prob > F = 0.0160
------------------------------------------------------------------------------
tc | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
vi | -.0039905 .0018901 -2.11 0.035 -.0076965 -.0002845
_Iyear_2003 | .0005467 .0006965 0.78 0.433 -.0008189 .0019122
_Iyear_2004 | .0014861 .0006968 2.13 0.033 .0001199 .0028524
_Iyear_2005 | -.0002699 .000699 -0.39 0.699 -.0016404 .0011006
_Iyear_2006 | -.0004994 .0007047 -0.71 0.479 -.0018811 .0008822
_cons | .6446084 .0010294 626.22 0.000 .6425901 .6466267
-------------+----------------------------------------------------------------
sigma_u | .1553958
sigma_e | .0139442
rho | .99201223 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(803, 3211) = 616.04 Prob > F = 0.0000
.
. xi:xtreg tc vi i.year,re
i.year _Iyear_2002-2006 (naturally coded; _Iyear_2002 omitted)
Random-effects GLS regression Number of obs = 4020
Group variable: comm Number of groups = 804
R-sq: within = 0.0043 Obs per group: min = 5
between = 0.0082 avg = 5.0
overall = 0.0043 max = 5
Random effects u_i ~ Gaussian Wald chi2(5) = 12.97
corr(u_i, X) = 0 (assumed) Prob > chi2 = 0.0237
------------------------------------------------------------------------------
tc | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
vi | -.0035127 .0018837 -1.86 0.062 -.0072046 .0001793
_Iyear_2003 | .0005561 .000697 0.80 0.425 -.0008101 .0019223
_Iyear_2004 | .0014971 .0006974 2.15 0.032 .0001303 .002864
_Iyear_2005 | -.0002522 .0006995 -0.36 0.718 -.0016233 .0011188
_Iyear_2006 | -.0004707 .0007052 -0.67 0.504 -.0018529 .0009114
_cons | .6443798 .0055537 116.03 0.000 .6334948 .6552648
-------------+----------------------------------------------------------------
sigma_u | .15463201
sigma_e | .0139442
rho | .99193376 (fraction of variance due to u_i)
------------------------------------------------------------------------------
.
. xttest0
Breusch and Pagan Lagrangian multiplier test for random effects
tc[comm,t] = Xb + u[comm] + e[comm,t]
Estimated results:
| Var sd = sqrt(Var)
---------+-----------------------------
tc | .0242489 .1557206
e | .0001944 .0139442
u | .0239111 .154632
Test: Var(u) = 0
chi2(1) = 7885.58
Prob > chi2 = 0.0000
.
. qui xtreg tc vi ,fe
. estimates store fe
. qui xtreg tc vi ,re
. estimates store re
. hausman fe
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fe re Difference S.E.
-------------+----------------------------------------------------------------
vi | -.003554 -.0030925 -.0004616 .0001518
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(1) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 9.25
Prob>chi2 = 0.0024
.
end of do-file
.
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
您可能感兴趣的文章
人气文章
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。