全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6186 9
2019-12-10
在用syn做合成控制法的时候,报错expression too long,r(130)要怎么解决?没太懂这个错误的意思。
error . . . . . . . . . . . . . . . . . . . . . . . .  Return code 130
        expression too long
        too many SUMs
        In the first case, you specified an expression that is too long
        for Stata to process -- the expression contains more than 249
        pairs of nested parentheses or more than 800 dyadic operators.
        Break the expression into smaller parts.  In the second case, the
        expression contains more than 5 sum() functions.  This expression,
        too, will have to be broken into smaller parts.




二维码

扫码加我 拉你入群

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

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

全部回复
2020-5-1 20:24:12
可以附上你的命令
二维码

扫码加我 拉你入群

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

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

2020-5-23 10:44:00
Lee_iris 发表于 2020-5-1 20:24
可以附上你的命令
我的用的keep if inlist(),但里面超过255个了,有什么办法吗,歇歇
二维码

扫码加我 拉你入群

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

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

2020-5-23 22:05:17
cpc_4302 发表于 2020-5-23 10:44
我的用的keep if inlist(),但里面超过255个了,有什么办法吗,歇歇
不是很懂你的问题,你想要的处理是什么?
synth 的option里有这个选项吗?
二维码

扫码加我 拉你入群

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

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

2020-5-25 15:28:38
Lee_iris 发表于 2020-5-23 22:05
不是很懂你的问题,你想要的处理是什么?
synth 的option里有这个选项吗?
你好,就是我要保留的变量很多(就是股票代码),但这个命令括号里面只能是255个,超过就出现expression too long
二维码

扫码加我 拉你入群

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

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

2021-3-1 15:35:31
Lee_iris 发表于 2020-5-23 22:05
不是很懂你的问题,你想要的处理是什么?
synth 的option里有这个选项吗?
楼主你好!请问这个问题你解决了吗?求回复求回复
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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