Hello,
I am running a multiple linear regression model that looks like this:
.reg y x1 x2 x3 age
age is a categorical variable of five age groups (coded as: 1,2,3,4,5). I
have tested for linearity and non-linearity. Now I want to report the values
of the variable y for the different categories of age in a paper. How can I
do this? Can I use .lincom for this? so:
.lincom age
.lincom 2*age
.lincom 3*age
etc.
Or should I create a new regression model with age as an dummy/indicator
variable?
.xi:reg y x1 x2 x3 i.age
Thanks
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
*
* 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/