全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6157 6
2007-05-27
<P>最近我要写一篇论文,想用panel  var模型,请问在stata如何能实现.</P>
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2007-5-29 21:23:00

请参考

黄旭平(2007)中央财经大学学报第一期

连玉君(2006)财经研究

李捷瑜(2006)世界经济

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2007-6-3 18:32:00
还是版主厉害啊!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-4-2 01:56:00

真正强帖

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-6-13 10:48:00

同问。顶一下!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-6-13 23:31:00
On Sep 1, 2004, at 2:33 AM, John wrote: 

I'm interested in fitting a var model with some exogenous variables on panel
data for N countries.

I figured an easy way to do this would be
- -var y x1 x2, exog(country1-countryN other) noc

where "country" are indicator variables giving a country-specific intercept,
and "other" are other exogenous variables.

Are there any problems with such an approach? Does this approach assume that
the country effects are Fixed Effects? Is this a problem?
A VAR is a set of OLS regressions of several Y variables on a set of lags of all of the Ys plus, optionally, some Xs. You seem to have three dependent variables (Y, x1, x2). By default the var command will regress each of the dep vars on two lags of all of the dep vars. If the data are stacked in "long" format, so that you have used a panel tsset to define that these are panel data, var will not run at all. If you don't use tsset, var will treat the first observation on the second country as the T+1st observation of the first country, and so on when it takes lags. This will make no sense at all.

So no, I don't see that VAR is what you're looking for. Why not just fit a dynamic panel data model (xtabond or xtabond2)? That would appear to be closer to the specificatiion you are considering.

Kit
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群