1
$\begingroup$

Dummy coding refers to use k - 1 variables to represent k level variable in a model, while contrasts assign each parameter for a level (for example, assign 1 to level k1 and -1 to level k2, so as to compare k1 and k2). So I was confused, what is the difference between dummy coding and contrasts, and how did they function in modeling a model.

$\endgroup$
0
$\begingroup$

Dummy coding is called Coding Schemes, and Contrasts is called Contrast Weights. The coding schemes is inverse matrix of contrast weights, and vise versa.

refers to A (sort of) Complete Guide to Contrasts in R

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.