Hi there,
Apologies for a potentially easy question. I have a categorical covariate with 3 categories (soil type 1, soil type 2 and soil type 3). I would rather use this variable as a covariate rather than using it as a group. But I'm a bit confused as to how to code this for use as a covariate. Normally (for a regression analysis or something) I would construct 2 new columns, assign a reference category that would be represented by 0 0, and the other two categories would be coded as 1 0 or 0 1. However, in the Gentle Intro Page 11-42/11-43 (last sentence on 11-42 and first sentence on 11-43) it suggests that if we were to incorporate the three colonies as individual covariates, we would construct two columns (c1 and c2) and then the three colonies should be coded as 1 0, 0 1 and 1 1. So I'm not sure which direction to go, code my third soil type as 0 0 or 1 1.
Thanks so much for any advice!