Statalist


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

Re: st: dirifit


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: dirifit
Date   Wed, 5 Mar 2008 18:02:59 +0000 (GMT)

You can do something like:
list y1-y5 if e(sample)

-- Maarten

--- Viktor Slavtchev <viktor.slavtchev@uni-jena.de> wrote:

> - Maarten
> It works properly when using 
> http://fmwww.bc.edu/repec/bocode/c/citybudget.dta.
> I've got estimation based on 392 observations (there are 37 missings
> out 
> of 429).
> Hence, the problem seems to be in my dependent variable.
> In order to be sure, I've generated random distributed independent
> but 
> still get estimation for 60 cases.
> Is there any possibility in -dirifit- to find out, which these 60 
> observations are?
> Viktor
> 
> 
> Maarten buis wrote:
> > -- Viktor Slavtchev wrote:
> >   
> >> 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.
> >>     
> >
> > That is weird, it should actually exclude all casses where one
> category
> > gets all the time or no time at all. -dirifit- works as expectd if
> I do
> > the following:
> >
> > use http://fmwww.bc.edu/repec/bocode/c/citybudget.dta
> > dirifit governing - urbanplanning,  ///
> >         mu( houseval popdens noleft minorityleft )
> >
> > -- Maarten
> >
> > -----------------------------------------
> > Maarten L. Buis
> > Department of Social Research Methodology
> > Vrije Universiteit Amsterdam
> > Boelelaan 1081
> > 1081 HV Amsterdam
> > The Netherlands
> >
> > visiting address:
> > Buitenveldertselaan 3 (Metropolitan), room Z434
> >
> > +31 20 5986715
> >
> > http://home.fsw.vu.nl/m.buis/
> > -----------------------------------------
> >
> >
> >       __________________________________________________________
> > Sent from Yahoo! Mail.
> > A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.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/
> >   
> *
> *   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/
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.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