--- [email protected] wrote:
> I am trying to make a simple regression with stata of the folowing
> form:
> reg NumberOfGrandParents YearOfBirth
> predict NumberOfGrandParents_p
>
> My problem now is, that NumberOfGrandParents can only take "full"
> numbers and of course cant exceed "4" or cant be smaller than 0. Is
> there any way to implement that?
--- Baumeister Sebastian <[email protected]> wrote:
> because your dependent variable seems to be postitive and discrete,
> you might want to consider a count data model.
Count models don't respect the upper limit of 4, so I would consider
-mlogit-. The book by Scott Long
(http://www.stata.com/bookstore/regmod.html) that Sebastian refered to
also gives an excelent introduction to that model.
Hope this helps,
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/
-----------------------------------------
___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/
*
* 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/