I'm currently studying for an Experimental Design exam. I feel like I'm missing something quite fundamental...
I've attached a minimal example to illustrate my confusion at https://gist.github.com/2942913
We were asked to compare the treatment and sum dummy coding systems.
It was pointed out that with the treatment system the values in the "contrast matrix" [1] do not correspond with the observations in the data matrix (or the design matrix). My cbind() command in the example illustrates this. [2]
Using the sum coding system, the contrasts are negative for one value of the factor and positive for the other (and they also don't change when leaving out the interactions). This is supposed to result in "interpretable parameters" (as opposed to the treatment coding system?). My question is how I should interpret this last statement, i.e. why does having a correspondence between the contrast and data matrix with the sum coding result in interpretable parameters? Or: is there something I urgently need to revise?
[1] $( X' X)^{-1} X' )$
[2] Edit (replacing original footnote): There was a 'bug' in the code I provided caused by the following. I used cbind() with a factor (essentially only for presentation purposes; to show the vectors side by side). This resulted in an implicit conversion of the numerical codes in the factor to numbers.