I want to run a GLM with a factor, say car type, as one of the independent variables.
Suppose car type has the following levels: sedan, SUV, and truck. And suppose the base level is currently sedan.
Since the standard errors are dependent on the base level, is there a way to recalculate the standard errors if I decided to switch the base level before or after running the GLM in R?
From looking online I see that there's the relevel() function that can be used to change the base level to another specified level (e.g., from sedan to SUV). However, I'm looking for maybe a more general solution, since my goal is to recalculate the standard errors for the base that would be the combination of two of the levels (i.e., the base that represents the average across sedans and SUVs), assuming that the base is sedan in the GLM.