Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Nested logit with several degenerated nests


From   <R.Alegria@lse.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Nested logit with several degenerated nests
Date   Mon, 27 Jul 2009 13:20:20 +0100

Hi all,
I'm trying to estimate a nested logit with six nests, three of them are
degenerated.
The code is the following,

constraint 1 [fra_tau]_cons=1 
constraint 2 [aut_tau]_cons=1
constraint 3 [lux_tau]_cons=1
nlogit choice l_edu l_gdp || c_code: l_gov || c_reg:, noconstant
case(id) constraints(3)
But I'm not sure about the last part of the code: should I type
constraints (3) or anything different?
When I run it, I get the message note that those branchs are
dengenerated and that they are not defined, so I guess my code is wrong.
Many thanks!
Rod.

 


Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index