![]() ![]() For my 5 dummy variables, I have the following output: In my question, I have 5 dummy coded variables, and I would like to create one categorical variable that captures all 5 of the dummy variables. Replace newvar1 = 2 if oldvar = 2| oldvar=3 Typically, when creating a new variable from existing variables, I use something like the following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |