搜索
人大经济论坛 附件下载

附件下载

所在主题:
文件名:  ceshi.dta
资料下载链接地址: https://bbs.pinggu.org/a-2124478.html
附件大小:
目前我正在学习STATA。然后第一次使用STATA做DEA,现遇见个问题:
按照dea函数的命令 .dea employee area= sales profit执行后,出现
invalid syntax
r(198);
的错误。相关附件见下面。请问为何呢,谢谢.
我set trace on 后具体的错误是:------------------------------------------------------------------- begin dea ---
- version 14.0
- if replay() {
dis as err "ivars and ovars required."
exit 198
}
- gettoken word 0 : 0, parse(" =:,")
- while `"`word'"' != ":" & `"`word'"' != "=" {
= while `"employee"' != ":" & `"employee"' != "=" {
- if `"`word'"' == "," | `"`word'"'=="" {
= if `"employee"' == "," | `"employee"'=="" {
error 198
}
- local invarnames `invarnames' `word'
= local invarnamesemployee
- gettoken word 0 : 0, parse(" :,")
- }
- while `"`word'"' != ":" & `"`word'"' != "=" {
= while `"area="' != ":" & `"area="' != "=" {
- if `"`word'"' == "," | `"`word'"'=="" {
= if `"area="' == "," | `"area="'=="" {
error 198
}
- local invarnames `invarnames' `word'
= local invarnames employee area=
- gettoken word 0 : 0, parse(" :,")
- }
- while `"`word'"' != ":" & `"`word'"' != "=" {
= while `"sales"' != ":" & `"sales"' != "=" {
- if `"`word'"' == "," | `"`word'"'=="" {
= if `"sales"' == "," | `"sales"'=="" {
error 198
}
- local invarnames `invarnames' `word'
= local invarnames employee area= sales
- gettoken word 0 : 0, parse(" :,")
- }
- while `"`word'"' != ":" & `"`word'"' != "=" {
= while `"profit"' != ":" & `"profit"' != "=" {
- if `"`word'"' == "," | `"`word'"'=="" {
= if `"profit"' == "," | `"profit"'=="" {
error 198
}
- local invarnames `invarnames' `word'
= local invarnames employee area= sales profit
- gettoken word 0 : 0, parse(" :,")
- }
- while `"`word'"' != ":" & `"`word'"' != "=" {
= while `""' != ":" & `""' != "=" {
- if `"`word'"' == "," | `"`word'"'=="" {
= if `""' == "," | `""'=="" {
- error 198
invalid syntax
}
local invarnames `invarnames' `word'
gettoken word 0 : 0, parse(" :,")
}
--------------------------------------------------------------------- end dea ---
r(198);




    熟悉论坛请点击新手指南
下载说明
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。
2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。
3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。
(如有侵权,欢迎举报)
二维码

扫码加我 拉你入群

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

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

GMT+8, 2026-1-29 03:51