Hi All,
I am wondering how I can generate a new variable (graduate_degree) with 1= yes and 0=no based off the word master in another variable (degree_title), example of the variable (degree_title) below
I am trying to differentiate between an undergraduate degree and a graduate degree
I am wondering how I can generate a new variable (graduate_degree) with 1= yes and 0=no based off the word master in another variable (degree_title), example of the variable (degree_title) below
I am trying to differentiate between an undergraduate degree and a graduate degree
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str64 degree_title "BACHELOR OF SCIENCE" "" "" "" "" "" "" "" "ASSOCIATE OF SCIENCE" "ASSOCIATE OF SCIENCE" "" "" "CERT OF CAREER PREPARATION" "BACHELOR OF SCIENCE" "" "BACHELOR OF ARTS" "" "" "" "" "" "" "MASTER OF ARTS" "" "BACHELOR OF SCIENCE" end
Comment