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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 758 views
  • 2 likes
  • 2 in conversation