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

st: Simple Regression

From   [email protected]
To   [email protected]
Subject   st: Simple Regression
Date   Sun, 6 Jan 2008 13:38:03 EST

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,

*   For searches and help try:

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