I am currently doing an exercise question asking me to construct a model to test whether the coefficients of two categorical variables ($X_2$ and $X_3$) are same in R.
Specifically, these two categorical variables contribute equally to the response variable.
I am a bit confused in terms of what I should do since it is not about to test whether these two categorical variables are significant contributors to the overall model (which i will just use a F-test to find out).
Instead, it is asking whether the coefficients of these two categorical variables are same given these two categorical variables are considered to contribute equally to the response variable and I need to test it by a model. Does anyone have any ideas?
Note: these two categorical variables are in my current model (if this info is helpful) where it has 3 predictors, one is quantitative and two are categorical. Also, each categorical variable has 2 levels only.