过程逻辑回归和其他回归中的多项式项
我想做以下回归
proc logistic data=abc
model y = x x*x x*x*x ....;
run;
有生成这些多项式项的简写吗?谢谢。
I'd like to do the following regression
proc logistic data=abc
model y = x x*x x*x*x ....;
run;
Is there a shorthand to generate these polynomial terms? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编辑:这将教会我在回答之前仔细研究问题。 BAR 运算符确实用于交互 - 而不是多项式效应。
据我所知,Logistic 还没有速记法来实现这一点 - 但 glimmix 确实有一种使用效果语句的实验技术。例如,这..
与
Edit: That will teach me to look closer at the question before I answer. The BAR operator is indeed for interaction - not polynomial effects.
Logistic does not have shorthand to accomplish this yet that I know of - but glimmix does have an experimental technique using the effect statement. For example, this..
is the same as