I am trying to create a linear regression model between age and salary for example. I am particularly interested in the younger population so I decided to create another variable
age.young <-age[!age >=40]
So now my age.young variable is from 3-39 years old. Now because I want to run the...
I am working on this project which needs to be done by tomorrow and I am stuck on creating the indicator variable.
I am supposed to create indicator age variables for respondents that fit into the following age buckets. -
Age 18-24 -
Age 25-44 -
Age 45-64 -...