Skip to content

Glossary: Regression

Treatment coding

Also written: T.

The default way statsmodels builds dummies, comparing each category with the reference level. Coefficient names like `weekday[T.Mon]` show it.

Where the book teaches it

Related terms

Reference levelDummy variableC()