Announcement

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

  • Inclusive values with multi-level nlogit command

    Hi,
    Recently I encountered some problem with nlogit model.

    The three levelled nested logit model I want to achieve as above picture.
    But when I generate the nested structure (refer to below syntax).

    nlogitgen driving = alt(nondrive:4, drive:1|2|3)

    nlogitgen transfer = alt(yes:2|3, no:1, NA:4)

    nlogittree alt transfer driving

    STATA generate too much inclusive values when I use this structure and run the model.
    The inclusive value I need is just driving and yes.
    As it turns out generate each tau for every branch. (From top nest driving:drive &nondrive , transfer nest yes & no & NA )

    My questions are
    Did I gave the wrong command of the structure or there is other message to restrict the numbers of inclusive value?
    Does the constant (ASC) has associate with inclusive value?
    Because it has different result when I add "noconstant" command or not.


    Attached Files
    Last edited by Hung Hsiang; 18 Jul 2024, 04:28.
Working...
X