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

st: Query: Nested-logit (2)


From   siyama@who.int
To   statalist@hsphsun2.harvard.edu
Subject   st: Query: Nested-logit (2)
Date   Wed, 9 Jul 2003 17:45:08 +0200

My apologies, the intended diagram was totally muddled in my first posting.

>  -----Original Message-----
> From: 	siyama  
> Sent:	Wednesday, 9 July 2003 17:21
> To:	'statalist@hsphsun2.harvard.edu'
> Subject:	Query: Nested-logit
> 
> Dear Stata-listers,
> 
> A colleague of mine is trying to run a nested logit on the following 
> 
> 	
> __ Public
> 	
> |	
> 							 ___ Yes__|
> 				  			|
> |__ Private
> 							|
> 		Seek Health Care	|
> 							|___ No Care
> 
> After rearranging the data set, she can obtain the following "nlogittree"
> output
> 
> . nlogittree choices type
> tree structure specified for the nested logit model
>         top --> bottom
>         type       choices  
> --------------------------
>        type1        Public  
>                    Private  
>        type2       No Care 
> 
> 
> .xi:nlogit chosen (choices = i.sex X2 X3) (type = i.sex X2 X3),
> group(hhid)
> i.sex             _Isex_1-2           (naturally coded; _Isex_1 omitted)
> tree structure specified for the nested logit model
>         top --> bottom
>         type       choices  
> --------------------------
>        type1        Public  
>                    Private  
>        type2       No Care  
> unbalanced data
> r(459);
> 
> Could the "unbalanced data" error be borne out of the lack of alternatives
> beyond "Seek Health Care == No Care", or is more to do with a data
> restructuring/ management issue.
> 
> Many thanks for your thoughts and suggestions in advance.
> 
> Amani
> 
> 
> 
> 
> 
*
*   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