Statalist


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

st: AW: Simple Regression


From   "Baumeister Sebastian" <[email protected]>
To   <[email protected]>
Subject   st: AW: Simple Regression
Date   Sun, 6 Jan 2008 19:45:24 +0100

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




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index