BookmarkSubscribeRSS Feed
DanBo
Calcite | Level 5

我想问一下,在用SAS软件设计DCE时,如何添加约束,这样就不会出现两个不能组合在一起的关卡,只留下合理的组合?例如,有两个层次的会诊:线上会诊和线下会诊,有两个层次的核酸检测:是和否。在线咨询只能与没有核酸检测相结合。SAS 中可以使用什么语法来实现此约束?

1 REPLY 1
WarrenKuhfeld
Ammonite | Level 13
Spoiler
Choice designs with restrictions are discussed in detail here. https://support.sas.com/techsup/technote/mr2010c.pdf


hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 743 views
  • 2 likes
  • 2 in conversation