Skip to content

Glossary: Regression

Dummy variable

Also written: dummy variables, indicator variable, dummies

A 0/1 column that is 1 when a row is in a group and 0 otherwise, such as `email` or `weekend`. A category with k levels needs k − 1 dummies.

Where the book teaches it

Related terms

Categorical variableReference levelTreatment coding