I have a feature vector X in a regression problem, where one of the features X1 is categorical (genre) with 47 categories. There is also another feature X2 which is continuous (# subscribers) but takes fixed value on each of the category. If I dummy encode X1 into vectors, X2 can be perfectly expressed as a linear combination of these vectors. I have few questions:
- Can X1 be completely dropped, since the uniqueness of X2 ensures that information is not lost?
- If I drop one of the dummy variables, is there a loss of mapping between X1 and X2 (and so I keep both X1 and X2) ?
- Is it a good idea if I multiply X1 vectors by X2, so that instead of 1s they take X2 values, so information from both variables is retained (and hence not dropping the first dummy variable)?