[Limdep Nlogit List] NLOGIT command or data construction(No.2)

John Rose johnr at itls.usyd.edu.au
Mon Aug 13 14:35:04 EST 2007


Dear Hiroshi

 

The cset command informs Nlogit how many alternatives are present within each choice situation. The fact that it is always four simply implies that all choice situations have four alternatives each. It doesn't matter whether the experiment is labelled or unlabled. In the labelled case, all that matters is that for the altij counter 1 is always car, 2 always bus, etc. (substitute whatever labels you have used in practice). In the unlabeled case, alti = 1 is just the first alternative, 2 - the second and so on and so forth.

 

The error is suggesting that in one or more choice situations, the choice variable has more than one alternative indicated as being chosen. First suggestion is to run the command dstats;rhs= choice$ and see whether the minimum value is 0 and the maximum value 1. It may be that the data has been incorrectly read into the program.


John 

 

________________________________

From: limdep-bounces at limdep.itls.usyd.edu.au on behalf of H. KAMEYAMA
Sent: Mon 13/08/2007 2:14 PM
To: Limdep and Nlogit Mailing List
Subject: [Limdep Nlogit List] NLOGIT command or data construction(No.2)



Dear Prof. Greene,

thank you so much for your reply as usual.
Now in this case "CSET " is filled out all "4", which means each
question, choice set, are consisted of four unlabelled choice option.
Then respondents are required to reply by choosing one of the option in
each choise set.

As you mention, "my counter, CSET, is incorrect", does it mean due to
unlabelled case?
On page 112 in "Applied Choice Analysis" I can see the example, but I
have no idea how to construct dataset.

The example in the text the first optionis always for "Car", the 2nd for
"Bas", the 3rd for "Train", the 4th for "Plane",
whereas in my case the format is different.

Maybe "place" can be the label , but how can I proceed?

Hiroshi KAMEYAMA


Prof. Greene wrote,
> The message means exactly what it says.  For observation
> (group), 278 the LHS variable does not consist of (0,0,...,1,0,0...).  This
> usually occurs when your counter, in this case, CSET, is incorrect, so
> the data set is not correctly blocked for the estimator.
> /B. Greene
>
>  
>  


--
************************************************
KAMEYAMA, Hiroshi (????)
Associate Professor
Farm Management,  Faculty of Agriculture
Kagawa University, Japan 761-0795
2393 Ikenobe Miki-cho, Kita-gun, Kagawa
?761-0795 ???????????2393
?????????????????????????
Phone: +81-(0)87-891-3054 (FAX: -3021. admin.,??)
URL:http://www.ag.kagawa-u.ac.jp/kameyama/index.html
Email: kameyama at ag.kagawa-u.ac.jp
************************************************


_______________________________________________
Limdep site list
Limdep at limdep.itls.usyd.edu.au
http://limdep.itls.usyd.edu.au


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: msg-11411-191.txt
Url: http://limdep.itls.usyd.edu.au/pipermail/limdep/attachments/20070813/c25b8c21/attachment.txt 


More information about the Limdep mailing list