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

附件下载

所在主题:
文件名:  求大神帮助.xls
资料下载链接地址: https://bbs.pinggu.org/a-2084456.html
附件大小:
16.78 MB   举报本内容
需要病例对照研究,group=1为病例,group=0为对照。
要求:病例、对照1:4;
male+/-0,birth year+/-2, age+/-5
wts为5 2 1

前后两种方法都试过了,前面那种方法在LOG里又重复了一遍程序
后面的那个test,

data fakereg;setfakereg; timex=5; if case=0 then timex=6;


%gmatch(data=fakereg,group=case,id=id,

mvars=age sex,wts=2 1,dmaxk= 5 0,transf=0,

time=timex, dist=1,ncontls=2,seedca=234098,seedco=0489,

out=regccout,outnmco=matched,print=Y);

run;
结果是:
WARNING: Apparent symbolic reference NCO not resolved.
WARNING: Apparent symbolic reference NCA not resolved.
WARNING: Apparent symbolic reference NCA not resolved.
ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The
condition was: &NCA*2
ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The
condition was: &NCO < %EVAL(&NCA*&NCONTLS)
ERROR: The macro GREEDY will stop executing.
1603 run;


因为字数超标,贴上原地址
https://bbs.pinggu.org/thread-1091720-1-1.html




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

扫码加我 拉你入群

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

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

GMT+8, 2025-12-29 12:10