R Library: Contrast Coding Systems for categorical variables

Source : http://www.ats.ucla.edu/stat/r/library/contrast_coding.htm#dummy

most commonly used:

Before considering any analyses, let’s look at the mean of the dependent variable, write, for each level of race.  This will help in interpreting the output from later analyses.