Hello all,
Just a very basic question RE dummy variables:
In my data set, I have a variable called AGE. I have made a dummy for every year of age by using the following code:
tabulate AGE, generate(AGEdum)
This has chucked out the age dummies AGEdum1, AGEdum2, ..., AGEdum69
What is the short way of coding for all of these variables to feature in a regression, instead of having to manually type them all out?
Thanks in advanced for your help
Just a very basic question RE dummy variables:
In my data set, I have a variable called AGE. I have made a dummy for every year of age by using the following code:
tabulate AGE, generate(AGEdum)
This has chucked out the age dummies AGEdum1, AGEdum2, ..., AGEdum69
What is the short way of coding for all of these variables to feature in a regression, instead of having to manually type them all out?
Thanks in advanced for your help
Comment