Announcement

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

  • Membershi variables in lclogit2 command written by Hong Il Yoo

    Dear all,

    I am new to using stata for DCE analysis. I am trying to use lclogit2 command developed by Hong II Yoo. My plan is to include some socioeconomic variables as membership variables in the model. I have education (3 levels), working condition (dummy yes/no) and salary (4 levels). I tried the education and income as categorical variables, but the model is not accepting factor variables. My question is how to deal with such variables in the model?
    Any advice is much appreciated.

    Best, Nasrin

  • #2
    Nasrin TD: You can directly generate the categorical dummy variables that you require (for example, by using -generate- or -tabulatevarname, generate(stub)-), and include those dummies in -membership()- without the factor variable operator.

    Comment


    • #3
      Thank you so much for the help

      Comment

      Working...
      X