Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: re: nlogitrum


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: re: nlogitrum
Date   Thu, 5 May 2005 16:22:57 +0100

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 
n.j.cox@durham.ac.uk 

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/



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