全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
1623 3
2022-02-05
举例,xi: sgmediation Y, mv(M) iv(X) cv($CV  i.year i.ind  ) quietly
这个中介效应检验很快,
但是加上个体效应i.code 3000多家公司吧
xi: sgmediation Y, mv(M) iv(X) cv($CV  i.year i.ind  i.code ) quietly
然后stata就一直运行,但是一直不动,很久后提示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);


设置了set matsize 11000,最大了吧,再运行,还是不动……
二维码

扫码加我 拉你入群

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

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

全部回复
2022-2-7 22:44:12
已经等了十几分钟了,还没有动
二维码

扫码加我 拉你入群

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

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

2022-2-7 23:13:16
stata回复了:op. sys. refuses to provide memory
二维码

扫码加我 拉你入群

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

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

2022-2-8 10:02:53
已经搞定了,分享下经营:
set matsize 10000
运行命令
等1个小时左右
OK 出结果
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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