I have two variable: Q26 (month) and Q27 (year).
Q26: What month were you born? The answer is 12 months. So there are 12 values for Q26.
Q27: In what year were you born (yyyy)? The answer is
1 1994
2 1995
3 1996
4 1997
5 1998
6 1999
7 Before 1994
How to use these 2 variables to generate AGE variable? My survey was answered by undergraduate students in 2017. The goal is to do regression as the independent variable in the next step.