楼主: runman
12386 2

[编程问题求助] 同时输出多个回归结果 matsize too small的问题 [推广有奖]

学科带头人

77%

还不是VIP/贵宾

-

威望
0
论坛币
2252 个
通用积分
27.5974
学术水平
8 点
热心指数
9 点
信用等级
8 点
经验
51532 点
帖子
979
精华
0
在线时间
3793 小时
注册时间
2010-4-3
最后登录
2025-11-24

楼主
runman 发表于 2016-7-3 20:31:58 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币



总共做了15次回归,先前的回归都保存了每次回归所有的信息

执行下面命令时

esttab m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 using Table1.csv,append
compress nogap b(%6.3f) p(%6.3f) scalar(N r2 F r2_a) compress
star(* 0.1 ** 0.05 *** 0.01)
mtitles(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)


显示:

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);


end of do-file


r(908);



随即修改命令:


set matsize 5000
esttab m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 using Table1.csv,append
compress nogap b(%6.3f) p(%6.3f) scalar(N r2 F r2_a) compress
star(* 0.1 ** 0.05 *** 0.01)
mtitles(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)


运行结果显示:

varlist not allowed
r(101);


end of do-file


r(101);


请问这是什么原因啊?在此先谢过啦^_^




二维码

扫码加我 拉你入群

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

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

关键词:matsize Small 回归结果 size Mall increase create matrix star 信息

沙发
echozdq 发表于 2017-8-17 00:05:06
同问啊!请问解决了吗?

藤椅
dutongwei 发表于 2019-6-25 10:14:08
set matsize 5000

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

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