Hi,
I have a data set which include a variable for "state". I want to generate a new variable called "region" which is the combination of all states in that region. So for example, I want region "Northeast" to include connecticut, maine, massachusetts, new hampshire, rhode island, vermont, new jersey, new york and pennsylvania. How would I code for this?
Thanks
I have a data set which include a variable for "state". I want to generate a new variable called "region" which is the combination of all states in that region. So for example, I want region "Northeast" to include connecticut, maine, massachusetts, new hampshire, rhode island, vermont, new jersey, new york and pennsylvania. How would I code for this?
Thanks
Comment