[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date index
][
Thread index
]
st: nested logit model
From
"Wei Tan" <
[email protected]
>
To
[email protected]
Subject
st: nested logit model
Date
Tue, 12 Aug 2003 23:48:36 +0800
Hi,
I need to estimate a nested logit model including outside alternatives.
In my model, I have four choices, j=2,...5 and an outside alternatives j=1.
I group the four choices to two group S1={3,2} and S2={5,4}
at the upper layer of nest, I have choice 1, S1 and S2.
I used the following command
nlogit chosen (choice=price) /*
*/ (type2= x), group(newid) ivc(choicezero=1)
the nest structure shows
type2 choice
choicezero 1
S1 2
3
S2 4
5
the program shows an error message
choicezero not found
r(198)
I guess that my problem is that I did not specify the model correctly. I wonder if someone could help me how to specify the correct model.
wei
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
*
* For searches and help try:
*
http://www.stata.com/support/faqs/res/findit.html
*
http://www.stata.com/support/statalist/faq
*
http://www.ats.ucla.edu/stat/stata/
Prev by Date:
st: RE: seed command with rndbin
Next by Date:
st: RE: nested logit model
Previous by thread:
st: RE: seed command with rndbin
Next by thread:
st: RE: nested logit model
Index(es):
Date
Thread
© Copyright 1996–2024 StataCorp LLC |
Terms of use
|
Privacy
|
Contact us
|
What's new
|
Site index