Effect coding and reference coding
Two ways to turn a group characteristic into numbers for a regression. Reference coding (dummy coding): each group gets 0 or 1, one group is the comparison base. Effect coding: the reference group gets -1, and the coefficients show deviations from the grand mean.
Example: Three groups A, B, C. With reference coding with A as the base, the coefficient of B is the difference B minus A. With effect coding it is the difference of B from the mean of the three groups.
Caution: The coefficients mean something different in each coding. The intercept changes too.