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
Related Posts with How to declare data to be choice model data (cmset command) in STATA 16?
Generating the AVERAGE, by dropping Missing ValuesHello Everyone, I have Ten years of Data (2005 to 2015) for an X variable for 200 countries (data t…
Identify 100 biggest companies within a firmyearDear all, We are trying to generate a new dummy variable (biggest_comp_d) indicating whether a comp…
Create local macro already with double quotataion marksDear Statalist I would like to create a local macro for an if-condition that already includes doubl…
Problem with a synth command : error "uno() invalid -- invalid numlist has too many elements"Dear all, As described in the title, I try to implement the Synthetic Control method on STATA to st…
percentage of missing data for each group?Dear All, Suppose that the data set is Code: webuse grunfeld, clear set seed 1234 replace…
Subscribe to:
Post Comments (Atom)
0 Response to How to declare data to be choice model data (cmset command) in STATA 16?
Post a Comment