This was previously posted on 28 April
and got no replies.
Why not? I guess because only a few
kinds of rather basic comment seem possible.
First, it is possible that your data
are not suitable for this model.
You need to think about that.
Second, -nlogitrum- offers handles for
varying the maximization process in using
-ml- to fit the model, particularly important
when defaults run into problems. Those are documented
and explained in various standard places, e.g.
documentation on -ml- and the Gould and
friends book on the same area of Stata.
Nick
[email protected]
Flora Au
> I am having problem with NLOGITRUM.
>
> This the the command I am using to run the model:
>
> nlogitgen branch = alt(package:1|2, nopack:3)
> nlogittree alt branch
> nlogitrum pref nurse nsq na2 na3 n_nt1st n_highedu homevis
> visitsq va2 va3
> hv_nt1st hv_highedu nhv homehelp helpsq cost c_highinc, group(indid)
> nests(alt branch)
>
> The first two command ran fine, however the last command result in an
> error message which is written as follow:
>
> could not calculate numerical derivatives
> flat or discontinuous region encountered
>
> Can you assist me as to how to fix this model?
*
* 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/