Saturday, March 30, 2019

Generating categorical dummy variable

Hi all,

I need some help with this.

I would like to generate a new binomial variable EDUCATION equal to 1 if HIGH SCHOOL (existing variable) is above the median value and 0 otherwise

Thankful for any help.

Frank

No comments:

Post a Comment