楼主: sdpanbo2015
2165 1

[回归分析求助] 关于面板时间虚拟变量和行业虚拟变量相互影响interacted的问题,求大神指导 [推广有奖]

  • 2关注
  • 2粉丝

已卖:12份资源

硕士生

37%

还不是VIP/贵宾

-

威望
0
论坛币
1808 个
通用积分
0.2639
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1579 点
帖子
64
精华
0
在线时间
215 小时
注册时间
2016-7-16
最后登录
2025-11-30

楼主
sdpanbo2015 学生认证  发表于 2016-8-7 08:54:14 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
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的相互影响是如何输入呢?还需要重新定义他们的相互作用吗?感谢
二维码

扫码加我 拉你入群

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

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

关键词:interact inter ACTED 虚拟变量 Inte 面板 时间 行业 虚拟变量相互影响interact

沙发
黃河泉 在职认证  发表于 2016-8-7 10:03:15

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-30 00:10