hi markus,
because your dependent variable seems to be postitive and discrete, you might want to consider a count data model.
see "http://www.ats.ucla.edu/STAT/stata/library/count.htm" for a short and long (http://www.stata.com/bookstore/regmod.html) for a throughout introduction.
regards,
sebastian
-----Urspr�ngliche Nachricht-----
Von: [email protected] im Auftrag von [email protected]
Gesendet: So 06.01.2008 19:38
An: [email protected]
Betreff: st: Simple Regression
Hello everyone,
I am still a beginner with stata, so please dont be surprised about my
questions... :)
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?
Thank you,
Markus.
*
* 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/
<<winmail.dat>>