How do I summarize the “contribution” of covariates in a GLM? Qualitatively, I want to answer the question:
Given that the effect of a covariate is statistically significant (as assessed by the p-value / confidence interval of its coefficient), how important is it in explaining the response? A little bit? A lot?"
We can compare the magnitude of coefficients for continuous variables but doing the same for categorical variables with $n > 2$ values (the motivation for my question) is not so straightforward since there are $n-1 \geq 2$ parameters.
$R^2$, in the case of an identity link, and pseudo-$R^2$ in the case of a logit link, quantifies how much variation is explained by a model. So one way to answer the question would be to compute the differences in $R^2$ between models that include vs. exclude a particular covariate. These differences could then, at least in the case of an identity link, be interpreted as the differences in "how much" (of the variability) of the response is explained by a covariate. How to interpret the result is not as straightforward in the case of pseudo-$R^2$.
My questions are:

*

*Is the method of comparing $R^2$ between models that include / exclude covariates one that is used in practice?

*Are there any caveats to consider with this method of comparing $R^2$?

*Are there other well-known methods that quantify the "contribution" of a categorical covariate that can take on more than 2 values?

 A: People do compare $R^2$ values, but for some GLMs there are approximations to $R^2$, but they are of limited value.  A little more common is to compare deviance values (these are at least well defined).  But comparing $R^2$ or deviance is more about statistical significance than the real importance of a variable.
I prefer to look at predictions, set all the variables that you are not currently examining to their mean, median, most common category, or other meaningful value, then set the predictor variable of interest to some meaningful values and make predictions from these values, then compare the predictions.
Another option for looking at importance is a nomogram.  This stack overflow post (https://stackoverflow.com/questions/38276973/r-how-to-read-nomograms-to-predict-the-desired-variable) shows and example of a nomogram (and the code used to create it) and the answer shows how to interpret it.  But this lets us see the relative importance of the different variables at a glance.  Look at the line for Blood Pressure, you can see that a big change in blood pressure will only change the total points by a very small amount (and therefore the final prediction will change very little), but a modest change in Age will have a much larger effect.  If there were categorical variables in that nomogram (other than the one involved in an interaction) then there would be a line with a tick mark for each category and you could see how far apart the ticks are for relative importance.
