Background of The Question
Let's say, I have four categories (A, B, C, D). Considering one (D) as a reference variable, there will be three categories on which I have to work. But the problem is one participant can be in several categories, in each observation. For example: In a single observation, a participant can be in both A and C categories which violates the rules of creating dummy variables as described here.
Then, My Question
Which type of variables (like dummy variable) can I use that will allow me to keep a participant in two or more categories, for a single observation?
Notes
- I am aware of interaction variable. None of the categories (in my problem) can be that type of variable.
- I know in CV, there are lots of questions regarding dummy variables. However, I did not find the answer of my question. Instead, I have mostly learned from those questions what should and what should not be done in case of dummy variables.
- My question is similar to this one which is unanswered.