Hi,
I would like to combine three different categorical variables into one variable, keeping the original variables the same. I have heard of the egen command for this, but I am told this command works best for numerical variables. Which stata command would work best for what I wish to do? If you have recommendations, would you consider also placing the proper syntax here?
I would like to combine three different categorical variables into one variable, keeping the original variables the same. I have heard of the egen command for this, but I am told this command works best for numerical variables. Which stata command would work best for what I wish to do? If you have recommendations, would you consider also placing the proper syntax here?
Comment