Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: dirifit


From   Viktor Slavtchev <viktor.slavtchev@uni-jena.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: dirifit
Date   Wed, 05 Mar 2008 18:17:12 +0100

Dear Maarten,
please allow me one more question on -dirifit-
I want to explain the share of time, that individuals spent in five alternatives (y1 - y5). Hence y1+y2+y3+y4+y5=1.
Therefore I run:
dirifit y1-y5, mu(x1 x2)
It works, however, for only 60 cases out of more than 500. In other words, the estimation is done for only 60 cases.
Indeed, there are exactly 60 individuals which spent their full time in only one possibility.
In other words:
. count if y1==1 | y2==1 | y3==1 | y4==1 | y5==5
60
Of course in all cases (no exception), y1+y2+y3+y4+y5=1.
Am I dong something wrong? Do I get -dirifit- wrong?
viktor

--



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Viktor Slavtchev
Friedrich-Schiller-University Jena
School of Economics and Business Administration
Chair of Business Dynamics, Innovation and Economic Change
Carl-Zeiss-Str. 3
07743 Jena, Germany
Phone: ++49 (0)3641 9 43 223
Fax: ++49 (0)3641 9 43 232
www: http://www.wiwi.uni-jena.de/uiw/index.html

*
* 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