全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2166 1
2016-08-07
stata新手,求大神指导,现在已得出面板数据要进行回归分析,但需要考虑企业固定效应(fe),时间虚拟变量(time dummies),行业虚拟变量(industry dummies),时间和行业虚拟变量的互相作用(industry and time dummies interacted)
现已定义完time dummies和industry dummies,请问如何将这几个变量加到回归方程中呢?
回归方程这样输入有错误
xi: xtreg npsctas lagnpsctas lagsalsctas lagnpsctas2 lagcfsctas laglodsctas laglersctas i.year i.ind1 i.year*i.ind1, fe
显示错误
matsize too small
    You have attempted to create a matrix with too many rows or columns or attempted to fit a model with too many variables.
    You need to increase matsize; it is currently 400.  Use set matsize; see help matsize.

    If you are using factor variables and included an interaction that has lots of missing cells, either increase matsize or
    set emptycells drop to reduce the required matrix size; see help set emptycells.

    If you are using factor variables, you might have accidentally treated a continuous variable as a categorical, resulting
    in lots of categories.  Use the c. operator on such variables.
r(908);


所以time和industry的相互影响是如何输入呢?还需要重新定义他们的相互作用吗?感谢
二维码

扫码加我 拉你入群

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

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

全部回复
2016-8-7 10:03:15
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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