Hello,
I have a problem with writing a suitable code for the "cmset" command in STATA 16.

We have a dataset from the discrete choice experiment (DCE) with 18 choice sets/cards. On each choice card, there were 2 alternatives (with 5 attributes) and an opt-out ("status quo") option (variable alt). Each respondent (variable id) was allocated to one of the blocs (variable bloc) with 6 choice cards (variable card).

Could you please help with any ideas on how to correctly write this command?

Thank you in advance,
Tanja