如果和语法错误
我需要更改什么,以使二进制教育
变量始终== 0对于此回归? “或”仅适用于场景
svy: reg binaryanswer1 i.scenario if scenario==5 | scenario==9 | scenario==12 | scenario==14 | scenario==15 & binaryeducation==0
What do I need to change so that the binaryeducation
variable always==0 for this regression? The "or" should only be for the scenarios
svy: reg binaryanswer1 i.scenario if scenario==5 | scenario==9 | scenario==12 | scenario==14 | scenario==15 & binaryeducation==0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有关
操作员的优先级。我从来没有故意或偶然地记住这一点。如果操作员的顺序不是您想要的,请使用括号来执行不同的顺序。我认为您想要的是什么
,实际上,另一种设备可以更整洁地解决问题:
See
for the precedence of operators. I have never memorised this either on purpose or by accident. If the order of operators is not what you want, use parentheses to enforce a different order. I think what you want is
and indeed another device would solve the problem more neatly: