BookmarkSubscribeRSS Feed
DanBo
Calcite | Level 5

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

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

The quality of automatic translations these days never ceases to astonish me.

 

I would like to ask, when designing DCE with SAS software, how to add constraints so that there are no two levels that cannot be combined, leaving only reasonable combinations? For example, there are two levels of consultation: online consultation and offline consultation, and nucleic acid testing has two levels: yes and no. Online consultation can only be combined with the absence of nucleic acid testing. What syntax can be used in SAS to implement this constraint?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 223 views
  • 0 likes
  • 2 in conversation