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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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