全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
848 1
2024-03-26
ai写的程序,运行之后自变量x一直显示错误
proc phreg data=mydata;
        effect spl = x / cubic knots(quantiles=5) out=newdata;
        model time*status(0) = x / ties=efron;
run;


二维码

扫码加我 拉你入群

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

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

全部回复
2024-3-26 18:22:37
proc phreg data=mydata;
        effect spl = (x / cubic knots(quantiles=5)) out=newdata;
        model time*status(0) = x / ties=efron;
run;
应该是没加括号的问题
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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