Announcement

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

  • Mixed logit estimation using Arne Risa Hole stata command

    Dear all,

    My name is Babatope Akinyemi! I am not a Stata expert, and I treasure your invaluable contributions to other researchers' work on this forum.
    I am currently estimating willingness to pay for attributes of community-based ecotourism in adjacent community to national parks among tourists visiting national parks in South Africa.
    Here is a brief explanation of my research: My dataset was collected from tourists visiting the national parks using a discrete choice experiment questionnaire. I have four attributes (village accommodation(yes/no) craft market (yes/no) village tours (yes/no) and price ($0, $10, $20, $30, $40, $50)). Each tourist were presented with seven (7) choice sets with each choice set having three (3) alternatives (i.e. 2 improved alternatives and a status quo). Meaning that each tourist made seven choices (panel data). Following Arne Risa Hole Mixed logit modelling in stata: An overview paper (find attached), I implemented a mixed logit to account for preference heterogeneity in tourists choices.

    I however got stuck on page 14 not knowing how to generate the matrix start = b[1,1..7],0,0,0,0,b[1,8],0,0,0,b[1,9],0,0,b[1,10],0,b[1,11] presented here. I tried using this value for my analysis and I got error message "initial vector: matrix must be dimension 10".
    I know Francesco Chirico encountered similar issue when conducting Survival Analysis in June 2014 and Stephen Jenkins and Mike Lacy comments and advice were very handy and helpful. Francesco comments on how the problem was solved is not detailed enough to assist in my analysis and that's why I am asking for help.
    If I know how to derive matrix start = b[1,1..7],0,0,0,0,b[1,8],0,0,0,b[1,9],0,0,b[1,10],0,b[1,11] of this kind for dimension 10 matrix for my dataset I should be able to continue with the analysis.

    Many many thanks and again many thanks for your help.

    Kind Regards:
    Babatope Akinyemi
    Attached Files

  • #2
    HI Babatope,

    I have the same question. Were you able to address it?

    Best,

    Julia

    Comment

    Working...
    X