全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2381 4
2008-09-04

请教一下,一般情况下 做PANEL DATA的时候第一步需要做数据分类

xtset region year

请问可不可以把 year 放在 region 的前面?

xtset year region

希望大家帮忙

二维码

扫码加我 拉你入群

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

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

全部回复
2008-9-5 02:29:00
没有帮忙的吗?
二维码

扫码加我 拉你入群

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

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

2008-9-5 08:26:00

xtset 变量1 变量2


表示定义的第一个变量是截面变量  第二个变量是时间变量

二维码

扫码加我 拉你入群

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

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

2008-9-5 10:55:00
不可以把 year 放在 region 的前面
二维码

扫码加我 拉你入群

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

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

2008-9-5 19:05:00

I think you must go to the help site of Stata, http://www.stata.com/help.cgi?xtset.

Because the rule of command of Stata, you can't change the order of variables.

Th first variable must be a panel variable and numeric, not string.

If your first variable is string, you must change it to numeric.

The second variable must be a time variable like year, day.

I hope this information help you.


eblog  金钱 +30  魅力 +5  奖励 2008-9-5 20:54:13
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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