STATA建立虚拟变量问题-经管之家官网!

人大经济论坛-经管之家 收藏本站
您当前的位置> 软件培训>>

Stata软件培训

>>

STATA建立虚拟变量问题

STATA建立虚拟变量问题

发布:芍芍曼 | 分类:Stata软件培训

关于本站

人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!

经管之家新媒体交易平台

提供"微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯"等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】

提供微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】

大神们,我正在用STATA做发展中国家人均GDP收敛性分析。面板数据。但是在建立虚拟变量时出现了问题,求大神们指导一下。首先阐述一下我们模型。我用了10个发展中国家和10个发达国家2001-2010年人均GDP的数据,建立模 ...
免费学术公开课,扫码加入


大神们,我正在用STATA做发展中国家人均GDP收敛性分析。面板数据。
但是在建立虚拟变量时出现了问题,求大神们指导一下。
首先阐述一下我们模型。我用了10个发展中国家和10个发达国家2001-2010年人均GDP的数据,建立模型确定是否贝塔收敛。模型为:LN(Yi,t/Yi,t-1)=A+BLN(Yi,t-1)+Ui,t,其中Yi,t是第I个国家在第t年的人均GDP水平,如果B<0,则表示模型收敛,发展中国家经济增长速度大于发达国家并且两者最终趋于同一水平。
楼主已经进行了hausman检验,p=0.0001,这可以拒绝原假设,就是模型应该选择固定效应模型。
但是当我加入时间和国家的虚拟变量之后,就出现了多重共线性的问题。
固定效应模型为Y=A+BX+CHi+DWk+Uit
其中Hi=1,when i=1,2,....,20, Hi=0,when i=其他
Wk=1,when k=2001,2002,....2010,Wk=0, when k=其他
我的STATA命令为:
xtreg y x i.country i.year,fe
但是输入之后,出现的结果是
xtreg y x i.country i.year,fe
note: 2.country omitted because of collinearity
note: 3.country omitted because of collinearity
note: 4.country omitted because of collinearity
note: 5.country omitted because of collinearity
note: 6.country omitted because of collinearity
note: 7.country omitted because of collinearity
note: 8.country omitted because of collinearity
note: 9.country omitted because of collinearity
note: 10.country omitted because of collinearity
note: 11.country omitted because of collinearity
note: 12.country omitted because of collinearity
note: 13.country omitted because of collinearity
note: 14.country omitted because of collinearity
note: 15.country omitted because of collinearity
note: 16.country omitted because of collinearity
note: 17.country omitted because of collinearity
note: 18.country omitted because of collinearity
note: 19.country omitted because of collinearity
note: 20.country omitted because of collinearity
Fixed-effects (within) regression Number of obs = 180
Group variable: country Number of groups = 20
R-sq:within= 0.5316 Obs per group: min = 9
between = 0.5135 avg = 9.0
overall = 0.3069 max = 9
F(9,151) = 19.04
corr(u_i, Xb)= -0.8593 Prob > F = 0.0000
------------------------------------------------------------------------------
y | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
x |-8.35e-06 1.55e-06 -5.40 0.000 -.0000114 -5.30e-06
|
country |
2|(omitted)
3|(omitted)
4|(omitted)
5|(omitted)
6|(omitted)
7|(omitted)
8|(omitted)
9|(omitted)
10|(omitted)
11|(omitted)
12|(omitted)
13|(omitted)
14|(omitted)
15|(omitted)
16|(omitted)
17|(omitted)
18|(omitted)
19|(omitted)
20|(omitted)
|
year |
2003| .1060854 .0216918 4.89 0.000 .0632268 .148944
2004| .1120809 .0220987 5.07 0.000 .0684183 .1557435
2005| .0951004 .0230097 4.13 0.000 .0496379 .1405629
2006| .1019965 .0236382 4.31 0.000 .0552922 .1487009
2007| .1495863 .0244018 6.13 0.000 .1013733 .1977994
2008| .1380059 .0262394 5.26 0.000 .0861621 .1898496
2009|-.0128397 .0279653 -0.46 0.647 -.0680936 .0424141
2010| .1448073 .0258666 5.60 0.000 .0937002 .1959144
|
_cons | .1536456 .0258056 5.95 0.000 .102659 .2046323
-------------+----------------------------------------------------------------
sigma_u |.10805511
sigma_e |.06853863
rho |.71309995 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(19, 151) = 0.00 Prob > F = 1.0000
说是多重共线性的问题,所有的国家数据都被去掉了 这是为什么????????
我觉得应该是虚拟变量设定有问题
请大神们知道我一下,这是毕业论文,老师也不明白哪里有问题,对于我来说,做不出来论文就没有办法往下写了!!!!!!!!!!!
求指导{:soso_e102:}
在这里先谢谢大家了!!!!!!!!!!thanks a million
「经管之家」APP:经管人学习、答疑、交友,就上经管之家!
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
本文关键词:

本文论坛网址:https://bbs.pinggu.org/thread-2415572-1-1.html

人气文章

1.凡人大经济论坛-经管之家转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
经管之家 人大经济论坛 大学 专业 手机版