Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Mixlogit or Condition logit implementation

    Hi!
    I am, Stephen Angudubo, new to that statalist forum and Stata but working hard to get used to the software





    I implementing a discrete choice experiment to model cassava planting material alternative choice. In my questionnaire, I presented each respondents with 16 choice experiments or choice sets with each choice set having 2 alternatives or choices with an opt-out option. The explanatory variables are the attributes (11 in total) of cassava planting material with varying attribute levels that have randomly fitted between 2 alternative. With this, I am fitting a conditional logit model. In my data set, some explanatory variables are represent by dummy variables while others were categorical variables with up-to 3 categories.
    Since each choice experiment has 2 alternative options and an opt-out option, each choice set has 11 rows and each respondent was presented with 16 choice sets.


    Sample data input byte(Choice Yield Distol Rtas Ctas Mealns Mat Seedva)
    1 3 1 1 1 2 3 2
    0 3 1 1 1 1 2 3
    0 1 0 0 1 3 3 2
    1 1 1 0 1 3 3 2
    1 3 1 1 1 2 3 1
    0 3 1 1 1 1 2 2
    0 2 0 1 0 1 2 1
    1 3 0 1 1 1 2 3
    0 3 0 1 1 1 3 2
    1 3 0 1 1 3 3 2
    1 2 1 0 1 3 3 2
    0 2 0 0 1 3 3 2
    0 3 0 0 0 1 3 1
    1 3 0 1 0 1 3 1
    0 2 1 0 0 3 2 1
    0 2 1 0 0 1 2 1
    0 2 1 0 0 3 1 3
    1 2 0 0 0 3 3 3
    1 1 1 0 1 2 2 1
    0 3 1 0 1 1 3 1
    0 3 0 1 0 2 1 1
    1 2 0 1 0 2 3 3
    1 1 1 0 0 2 2 2
    0 1 1 0 0 2 2 3
    0 3 0 0 0 3 2 3
    1 2 0 0 1 3 2 1
    0 2 0 1 1 2 2 2
    0 1 0 1 1 1 3 2
    0 2 0 0 1 3 1 3
    1 2 0 1 1 3 1 3
    1 2 1 0 1 1 1 3
    0 3 1 0 1 1 2 1

    For clogit to work, I tried select choice set as the grouping variable but stata shows "variable Choiceset has replicate levels for one or more cases".
    clogit choice Yield Distol Rtas Ctas Mealnss Mat Seedava , group(Choice_set )


    I want to establish the attributes preferred by the respondents including the level and later determine the willingness-to-pay and potential demand,
    Can someone clarify for me this?



  • #2
    See http://www.statalist.org/forums/foru...oice-scenarios

    Comment

    Working...
    X